码迷,mamicode.com
首页 > 系统相关 > 详细

ubuntu 16.04 apt-get error: in the drive /media/cdrom and press

时间:2016-10-27 12:53:36      阅读:1076      评论:0      收藏:0      [点我收藏+]

标签:cdrom   ext   list   etc   end   save   text   err   amd   

If you have an internet connection, you can safely comment out the line starting with deb cdrom: .... in the file /etc/apt/sources.list. You can edit this file with the command:

sudo gedit /etc/apt/sources.list

and simply prepend this line with the #-sign so that it looks something like this:

# deb cdrom:[Ubuntu 12.10 _Quantal Quetzal_ - Release amd64 (20121017.5)]/ quantal main restricted

Save the file and don‘t forget to run

sudo apt-get update



from: http://askubuntu.com/questions/236288/apt-get-asks-me-to-insert-cd-why

ubuntu 16.04 apt-get error: in the drive /media/cdrom and press

标签:cdrom   ext   list   etc   end   save   text   err   amd   

原文地址:http://www.cnblogs.com/pinganzi/p/6003220.html

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