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

未经允许不得转载:LowVPS » Debian升级、安装时出现提示磁盘插入的问题解决

赞 (0)

评论 0

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