登录
  • 欢迎来访
  • 你好

服务器安装软件时出现问题

linux服务器 无奈 1856次浏览 0个评论

出现
‘Debian GNU/Linux 7.0.0 _Wheezy_ – Official amd64 CD Binary-1 20130504-14:44’ in the drive ‘/media/cdrom/’ and press enter

#nano /etc/apt/sources.list

#
把下边这个注释掉就好了
#deb cdrom:[Debian GNU/Linux 7.0.0 _Wheezy_ - Official amd64 CD Binary-1 20130504-14:44]/ wheezy main

deb http://ftp.us.debian.org/debian/ wheezy main
deb-src http://ftp.us.debian.org/debian/ wheezy main

deb http://security.debian.org/ wheezy/updates main
deb-src http://security.debian.org/ wheezy/updates main

# wheezy-updates, previously known as 'volatile'
deb http://ftp.us.debian.org/debian/ wheezy-updates main
deb-src http://ftp.us.debian.org/debian/ wheezy-updates main

原因是在安装软件时 第一个为查找cd 注释掉 就好了

apt-get update 出现 这种错误

Reading package lists... Done

W: There is no public key available for the following key IDs:

7638D0442B90D010

W: There is no public key available for the following key IDs:

7638D0442B90D010

W: There is no public key available for the following key IDs:

9D6D8F6BC857C906

google后发现了一种解决办法运行以下命令就行了

#apt-get install debian-keyring debian-archive-keyring
或者
sudo apt-get install debian-archive-keyring

参考
linux论坛


鸿鹄博客 , 版权所有丨如未注明 , 均为原创丨本网站采用BY-NC-SA协议进行授权 , 转载请注明服务器安装软件时出现问题
喜欢 (0)
[aa@qq.com]
分享 (0)
无奈
关于作者:
一个爱探索 爱分享的boy
发表我的评论
取消评论
表情 贴图 加粗 删除线 居中 斜体 签到

Hi,您需要填写昵称和邮箱!

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址