Error while updating packages.

Asked by Kyle100101 on 2008-03-02

When I go into the update manager and hit the check for update I get these errors.

cdrom:[Ubuntu 7.10 _Gutsy Gibbon_ - Release i386 (20071016)]/dists/gutsy/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
cdrom:[Ubuntu 7.10 _Gutsy Gibbon_ - Release i386 (20071016)]/dists/gutsy/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
http://flomertens.keo.in/ubuntu/dists/edgy/main/binary-i386/Packages.gz: 404 Not Found
http://flomertens.keo.in/ubuntu/dists/edgy/main-all/binary-i386/Packages.gz: 404 Not Found
http://ntfs-3g.sitesweetsite.info/ubuntu/dists/edgy/main/binary-i386/Packages.gz: 404 Not Found
http://ntfs-3g.sitesweetsite.info/ubuntu/dists/edgy/main-all/binary-i386/Packages.gz: 404 Not Found

When I close out of it i get this.

W: GPG error: http://mirror.ubuntulinux.nl edgy-seveas Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 49A120FD1135D466

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
Bhavani Shankar
Solved:
2008-03-04
Last query:
2008-03-04
Last reply:
2008-03-04

Could you please tell me what release of Ubuntu you are using?

It looks like the update manager is looking for a CD or you have one in the CD ROM drive.

The 404 not found errors are because those repositories either never or no longer exist and you can remove the errors by removing the corresponding repositories from /etc/apt/sources.list

The GPG error is because you do not have the public key for the repository installed. You can find the key at http://mirror.ubuntulinux.nl/seveas.gpg

I think I have 7.10 So I should put in the CD and try it again?

7.10 would be gutsy which makes me wonder why you have a bunch of edgy repositories, were these added back when you had edgy and you have used dist-upgrade and now have Gutsy?

I personally would remove the broken repositories and also the cdrom from the sources.list.

https://help.ubuntu.com/community/Repositories/Ubuntu has all the information you should need to add or remove any repository you need.

Hope this helps.

Well I was told to put them on there,

If they were used to add software then the repository for gutsy should be used instead of the repository for edgy.

Ok well I don't see any gutsy on the page you gave me.

This solved question seem like your issue: https://answers.launchpad.net/ubuntu/+question/25864

Hope this helps

Best Bhavani Shankar (bhavi) said : #8

Hello

Edit your source list:
sudo gedit /etc/apt/sources.list

then delete everything and copy and paste the below:

#deb cdrom:[Ubuntu 7.10 _Gutsy Gibbon_ - Release i386 (20071016)]/ gutsy main restricted
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.

deb http://us.archive.ubuntu.com/ubuntu/ gutsy main restricted
deb-src http://us.archive.ubuntu.com/ubuntu/ gutsy main restricted

## Major bug fix updates produced after the final release of the
## distribution.
deb http://us.archive.ubuntu.com/ubuntu/ gutsy-updates main restricted
deb-src http://us.archive.ubuntu.com/ubuntu/ gutsy-updates main restricted

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## universe WILL NOT receive any review or updates from the Ubuntu security
## team.
deb http://us.archive.ubuntu.com/ubuntu/ gutsy universe
deb-src http://us.archive.ubuntu.com/ubuntu/ gutsy universe
deb http://us.archive.ubuntu.com/ubuntu/ gutsy-updates universe
deb-src http://us.archive.ubuntu.com/ubuntu/ gutsy-updates universe

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.
deb http://us.archive.ubuntu.com/ubuntu/ gutsy multiverse
deb-src http://us.archive.ubuntu.com/ubuntu/ gutsy multiverse
deb http://us.archive.ubuntu.com/ubuntu/ gutsy-updates multiverse
deb-src http://us.archive.ubuntu.com/ubuntu/ gutsy-updates multiverse

## Uncomment the following two lines to add software from the 'backports'
## repository.
## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
deb http://us.archive.ubuntu.com/ubuntu/ gutsy-backports main restricted universe multiverse
deb-src http://us.archive.ubuntu.com/ubuntu/ gutsy-backports main restricted universe multiverse

## Uncomment the following two lines to add software from Canonical's
## 'partner' repository. This software is not part of Ubuntu, but is
## offered by Canonical and the respective vendors as a service to Ubuntu
## users.
deb http://archive.canonical.com/ubuntu gutsy partner
deb-src http://archive.canonical.com/ubuntu gutsy partner

deb http://security.ubuntu.com/ubuntu gutsy-security main restricted
deb-src http://security.ubuntu.com/ubuntu gutsy-security main restricted
deb http://security.ubuntu.com/ubuntu gutsy-security universe
deb-src http://security.ubuntu.com/ubuntu gutsy-security universe
deb http://security.ubuntu.com/ubuntu gutsy-security multiverse
deb-src http://security.ubuntu.com/ubuntu gutsy-security multiverse

Save the source list

Run the update manager

gksu "update-manager -c"

Hope that helps

Bhavani Shankar.

Bhavani Shankar (bhavi) said : #9

Edit: Before giving gksu "update-manager -c" give sudo apt-get update command (in a terminal applications -> accessories -> terminal)

Bhavani Shankar.

So I am suposto paste these in my repository?

Bhavani Shankar (bhavi) said : #11

yes In your sources.list file

sudo gedit /etc/apt/sources.list

Bhavani Shankar.

Thanks Bhavani Shankar, that solved my question.