Software updater

Asked by Gil

This is the error I get every time I do a software update.

Failed to downloar repository information. Check your internet connection

Here is the detail

W:Failed to fetch cdrom://Ubuntu 11.10 _Oneiric Ocelot_ - Release amd64 (20111012)/dists/oneiric/main/binary-i386/Packages Please use apt-cdrom to make this CD-ROM recognized by APT. apt-get update cannot be used to add new CD-ROMs
, W:Failed to fetch cdrom://Ubuntu 11.10 _Oneiric Ocelot_ - Release amd64 (20111012)/dists/oneiric/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
, W:Failed to fetch cdrom://Ubuntu 11.10 _Oneiric Ocelot_ - Release amd64 (20111012)/dists/oneiric/restricted/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
, W:Failed to fetch cdrom://Ubuntu 11.10 _Oneiric Ocelot_ - Release amd64 (20111012)/dists/oneiric/restricted/binary-i386/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.

Need help on this one. Never had this message before. Been using Ubuntu for 3 years now.

Thanks

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu update-manager Edit question
Assignee:
No assignee Edit question
Solved by:
N1ck 7h0m4d4k15
Solved:
Last query:
Last reply:
Revision history for this message
Best N1ck 7h0m4d4k15 (nicktux) said :
#1

Hi ,

open a terminal and give this command

~$ gksudo software-properties-gtk

at the opened window in the first section (updates) make sure that the CD/DVD rom entry is unticked (not marked) and also goto "Other Software" section and Untick - Unmark the entries with "CDrom"

Then close the window and run in terminal

~$ sudo apt-get update

~$ sudo apt-get dist-upgrade

Thank you.

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#2

Or run:

gksudo gedit /etc/apt/surces.list

the top few lines references the install CD which can be used as a package source. You can comment those out by putting a hash symbol ('#' is a hash symbol) at the left of the line. Save the new file and close gedit then run:

sudo apt-get update

Should now be smooth.

Revision history for this message
N1ck 7h0m4d4k15 (nicktux) said :
#3

You have a typo here Andrew.

And as this bug : https://bugs.launchpad.net/launchpad/+bug/80895

is still open, we have to be careful twice. :-)

I wonder when this bug will be closed (fixed) and we can edit our answers to correct the typos.

Revision history for this message
Gil (gillest) said :
#4

Thanks NikTh, that solved my question.