apt-get 在安装 Debian 7 后请求安装介质

fox*_*fox 16 linux debian

我通过Debian 映像存档中的第一个 ISO 在 OS X 上将 Debian 安装到 VMware Fusion 6 。

现在,当我尝试apt-get在某些条件下运行时,即apt-get install make,我收到以下错误:

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
Run Code Online (Sandbox Code Playgroud)

我不知道为什么它会提示我使用任何形式的物理媒体——有什么想法吗?

Lyn*_*nob 23

易于修复。编辑这个文件sudo nano /etc/apt/sources.list然后注释掉#deb cdrom:

这是我喘息的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
Run Code Online (Sandbox Code Playgroud)