Debian升级、安装时出现提示磁盘插入的问题解决

apt-get时会出现类似以下错误Media change: please insert the disc labeled ‘Debian GNU/Linux 7.3.0 Wheezy – Official i386 DVD Binary-1 20131215-03:40′ in the drive ‘/media/cdrom/’ and press enter

解决方案:修改文件 /etc/apt/sources.list,将 deb cdrom:这一行注释掉:

nano /etc/apt/sources.list

也就是下面的第二行,注释掉

# deb cdrom:[Debian GNU/Linux 7.0.0 _Wheezy_ - Official amd64 CD Binary-1 20130$ # deb cdrom:[Debian GNU/Linux 7.0.0 _Wheezy_ - Official amd64 CD Binary-1 20130$ 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

推荐站内搜索:香港空间哪个好、域名 注册、韩国服务器推荐、域名信息查询、域名备案查询、注册 域名、美国服务器租用网站、外网ip地址、香港服务器、淘宝虚拟主机、