How do remove the CD / DVD install as a source for apt-get packages when installing new features?

Posted uceec00

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了How do remove the CD / DVD install as a source for apt-get packages when installing new features?相关的知识,希望对你有一定的参考价值。

Yes, you can remove the CD-ROM (or or original installation media) from the sources.list

Edit the sources.list file with the following command:

sudo nano /etc/apt/sources.list
And near the top, comment out the line that looks like this:

deb cdrom:[Ubuntu-Server 9.04 Jaunty Jackalope - Release i386 (20090421.1)]/ jaunty main restricted
(comment is a hash (#) - so pop one of these at the start of the deb cdrom: ... line)

Press Ctrl+X to exit the nano text editor, pressing y to save your changes

Then finally you‘ll need to run:

sudo apt-get update
To update your package lists.




以上是关于How do remove the CD / DVD install as a source for apt-get packages when installing new features?的主要内容,如果未能解决你的问题,请参考以下文章

How do I remove a particular element from an array in JavaScript?

How to remove the "Active" mark on partitions

How to do if the GM MDI cant connect with the software

Redis in python, how do you close the connection?

sh 从linux系统递归删除文件夹 - 来自http://askubuntu.com/questions/201775/how-do-i-remove-a-folder

How do I list the files in a directory?