update Ubuntu 10.04

Asked by Stefan Ekelund

Failed to fetch cdrom://Ubuntu 9.10 _Karmic Koala_ - Release i386 (20091028.5)/dists/karmic/main/binary-i386/Packages.gz Please use apt-cdrom to make this CD-ROM recognized by APT. apt-get update cannot be used to add new CD-ROMs
Failed to fetch cdrom://Ubuntu 9.10 _Karmic Koala_ - Release i386 (20091028.5)/dists/karmic/restricted/binary-i386/Packages.gz Please use apt-cdrom to make this CD-ROM recognized by APT. apt-get update cannot be used to add new CD-ROMs
Some index files failed to download, they have been ignored, or old ones used instead.

I get a red triangle with a yellow field in the top bar, when i move the cursor over it says "the update information is outdated. This may be caused by network problems or by a repository that is no longer valid. Please update manually by clicking on this icon and then select "check for updates" and check if some repositories fail.

I did so and got the top result.

Question information

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

You need to run the software sources and uncheck the CD as a repo

Its in the section NOT highlighted here:
http://cybernetnews.com/wp-content/uploads/2007/10/ubuntu-software-sources-proprietary-drivers.jpg

Just untick the CDROM, Click close and retry. You currently have the CD marked as a repo but do not have the CD in the drive.

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

You can alternatively run:

gksudo gedit /etc/apt/sources.list

and comment out the CD lines (by adding a # character to the start of the lines with CDROM in, save the new file and close gedit.

Either way after the change run:

sudo apt-get update; sudo apt-get upgrade

and it should be ok

Revision history for this message
Stefan Ekelund (stefanekelund) said :
#3

Thanks actionparsnip, that solved my question.