我在 apt-get 期间收到此错误,但是 - 当我安装原始磁盘时,它仍然不喜欢它并再次请求此特定磁盘。使用相同 OS 磁盘加载的另一个系统上的另一个 meld 安装没有发生这种情况(没有 CD 请求)。为什么要求 CD?以前从未这样做过(在 Ubuntu 9.04 之后)。
mdr@mars:~$ sudo apt-get install meld --fix-missing
[sudo] password for mdr:
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
libbonobo2-0 libbonobo2-common libbonoboui2-0 libbonoboui2-common
libglade2-0 libgnome2-0 libgnome2-bin libgnomecanvas2-0
libgnomecanvas2-common libgnomeui-0 libgnomeui-common libgnomevfs2-0
libgnomevfs2-common libgtksourceview2.0-0 libgtksourceview2.0-common
python-glade2 python-gnome2 python-gtksourceview2 python-pyorbit
Suggested packages:
libbonobo2-bin libgnomevfs2-bin libgnomevfs2-extra gamin fam gnome-mime-data
python-gtk2-doc python-gnome2-doc libgtksourceview2.0-dev python-pyorbit-dbg
The following NEW packages will be installed:
libbonobo2-0 libbonobo2-common libbonoboui2-0 libbonoboui2-common
libglade2-0 libgnome2-0 libgnome2-bin libgnomecanvas2-0
libgnomecanvas2-common libgnomeui-0 libgnomeui-common libgnomevfs2-0
libgnomevfs2-common libgtksourceview2.0-0 libgtksourceview2.0-common meld
python-glade2 python-gnome2 python-gtksourceview2 python-pyorbit
0 upgraded, 20 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/2,423 kB of archives.
After this operation, 11.7 MB of additional disk space will be used.
Do you want to continue [Y/n]? y
Media change: please insert the disc labeled
'Ubuntu 12.04.1 LTS _Precise Pangolin_ - Release amd64 (20120823.1)'
in the drive '/cdrom/' and press enter
答案1
您必须移除 CDROM 源并通过互联网进行安装。
图形模式:
- 打开软件中心
- 菜单“编辑”->“软件源...”
- “其他软件”标签
- 取消选中“cdrom”
控制台模式:
- 删除 cdrom 行:
sudo sed -i '/cdrom:/d' /etc/apt/sources.list
- 重新同步包索引文件:
sudo apt-get update
- 删除 cdrom 行:
再试一次。