-6

I had typed sudo apt-get update and got this message.

W: Failed to fetch cdrom://Ubuntu 14.04.2 LTS _Trusty Tahr_ - Release amd64 (20150218.1)/dists/trusty/main/binary-amd64/Packages  Please use apt-cdrom to make this CD-ROM recognized by APT. apt-get update cannot be used to add new CD-ROMs

E: Some index files failed to download. They have been ignored, or old ones used instead.
dr_
  • 837

2 Answers2

2

The error message is quite self-explanatory. If you want to use the current CD-ROM as a source for updates you need to add it explicitly; for this, type

sudo apt-cdrom add

If you don't want to use CD-ROMs for updates, either remove by hand any reference to the CD-ROM from the APT sources (files /etc/apt/sources.list and /etc/apt/sources.list.d/*.list), or do that from the GUI by following Mostafa's suggestion:

Go to system settings > software & update and uncheck CDROM as a source for update.

dr_
  • 837
0

Go to system settings > software & update and uncheck CDROM as a source for update.