转自:http://www.bernzilla.com/item.php?id=959
Now that I'm
When I've attempted to use apt-get install
Media change: please insert the disc labeled
'Ubuntu 7.10 _Gutsy Gibbon_ - Release i386 (20071017)'
in the drive '/cdrom/' and press enter
So I did a little digging and found
sudo vi /etc/apt/sources.list
I commented out the very first line, which started with:
deb cdrom:[Ubuntu 7.10 _Gutsy Gibbon_ - Release i386 (20071017)]/
...by simply adding a # in front of the line. I saved the file and then ran the following to update the sources:
sudo apt-get update
That updated my sources without the need for the DVD, and then the next time I ran sudo apt-get install gparted, the DVD dependency had vanished.
Pretty simple, and no more annoyance!
本文介绍了一种简单的方法来避免使用Ubuntu安装DVD进行软件安装。通过修改sources.list文件并注释掉与DVD相关的行,然后更新源,即可解决安装过程中反复提示插入DVD的问题。


被折叠的 条评论
为什么被折叠?



