/ 网络技术 / 884 浏览

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
Linux reinstall:一款功能强大的服务器系统一键重装脚本
Linux reinstall:一款功能强大的服务器系统一键重装脚本
宝塔面板5.9 官方专业版
LightUploader:全平台轻量化网盘上传工具,支持OD/世纪互连/GD
Linux下,使用Socat,达成IPv6转发IPv4 或 IPv4转发IPv6
Linux下,挂载磁盘 /www 目录 ,数据盘合并到 / 根目录
debian下,一键添加wgcf ipv4/ipv6 脚本

0

  1. no comments.

发表回复

您的电子邮箱地址不会被公开。 必填项已用*标注