码迷,mamicode.com
首页 > 其他好文 > 详细

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

时间:2020-06-26 20:01:57      阅读:58      评论:0      收藏:0      [点我收藏+]

标签:you   cdrom   rem   lists   update   deb   packages   ase   ESS   

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?

标签:you   cdrom   rem   lists   update   deb   packages   ase   ESS   

原文地址:https://www.cnblogs.com/uceec00/p/13195833.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!