Ubuntu 8.04 error in Update Manager:Failed to fetch cdrom

Asked by Doepie

Hi

I get the following error when trying to do updates via the update manager in Ubuntu 8.04.

W: A error occurred during the signature verification. The repository is not updated and the previous index files will be used.GPG error: http://za.archive.ubuntu.com hardy-updates Release: The following signatures were invalid: BADSIG 40976EAF437D05B5 Ubuntu Archive Automatic Signing Key <email address hidden>

W: A error occurred during the signature verification. The repository is not updated and the previous index files will be used.GPG error: http://za.archive.ubuntu.com hardy-proposed Release: The following signatures were invalid: BADSIG 40976EAF437D05B5 Ubuntu Archive Automatic Signing Key <email address hidden>

W: Failed to fetch cdrom:[Ubuntu 8.04 _Hardy Heron_ - Release i386 (20080423)]/dists/hardy/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

W: Failed to fetch cdrom:[Ubuntu 8.04 _Hardy Heron_ - Release i386 (20080423)]/dists/hardy/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

W: Failed to fetch http://za.archive.ubuntu.com/ubuntu/dists/hardy-updates/Release

W: Failed to fetch http://za.archive.ubuntu.com/ubuntu/dists/hardy-proposed/Release

W: Some index files failed to download, they have been ignored, or old ones used instead.

Any ideas how I can fix this?

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu update-manager Edit question
Assignee:
No assignee Edit question
Solved by:
marcobra (Marco Braida)
Solved:
Last query:
Last reply:
Revision history for this message
Tony Mugan (tmugan) said :
#1

Go to Applications menu, Administration, Software sources.

Choose" Download from" and Select "Other" then button for "Best server".

Once that reloads you should be able to see the optimal sources for your location.

Revision history for this message
Doepie (doepie) said :
#2

Thanks

That seemed to remove most of the errors...

I still have the following errors though...

Failed to fetch cdrom:[Ubuntu 8.04 _Hardy Heron_ - Release i386 (20080423)]/dists/hardy/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 8.04 _Hardy Heron_ - Release i386 (20080423)]/dists/hardy/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 tried running apt-cdrom but am not sure what to do from there... This is what was returned...

apt 0.7.9ubuntu17 for i386 compiled on Apr 22 2008 15:20:01
Usage: apt-cdrom [options] command

apt-cdrom is a tool to add CDROM's to APT's source list. The
CDROM mount point and device information is taken from apt.conf
and /etc/fstab.

Commands:
   add - Add a CDROM
   ident - Report the identity of a CDROM

Options:
  -h This help text
  -d CD-ROM mount point
  -r Rename a recognized CD-ROM
  -m No mounting
  -f Fast mode, don't check package files
  -a Thorough scan mode
  -c=? Read this configuration file
  -o=? Set an arbitrary configuration option, eg -o dir::cache=/tmp
See fstab(5)

Revision history for this message
Best marcobra (Marco Braida) (marcobra) said :
#3

Ubuntu 8.04 Restore original content of /etc/apt/sources.list
Please open a Terminal from the menu Applications->Accessories->Terminal and type:

gksudo gedit /etc/apt/sources.list

Please give your user password when requested.

Delete all contents of the file and copy and paste ALL the rows below:

## a “general” sources.list for Hardy Heron; all sources are uncommented.

# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.

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

## Major bug fix updates produced after the final release of the
## distribution.

deb http://archive.ubuntu.com/ubuntu/ hardy-updates main restricted
deb-src http://archive.ubuntu.com/ubuntu/ hardy-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://archive.ubuntu.com/ubuntu/ hardy universe
deb-src http://archive.ubuntu.com/ubuntu/ hardy universe

deb http://archive.ubuntu.com/ubuntu/ hardy-updates universe
deb-src http://archive.ubuntu.com/ubuntu/ hardy-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://archive.ubuntu.com/ubuntu/ hardy multiverse
deb-src http://archive.ubuntu.com/ubuntu/ hardy multiverse

deb http://archive.ubuntu.com/ubuntu/ hardy-updates multiverse
deb-src http://archive.ubuntu.com/ubuntu/ hardy-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://archive.ubuntu.com/ubuntu/ hardy-backports main restricted universe multiverse
deb-src http://archive.ubuntu.com/ubuntu/ hardy-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 hardy partner
deb-src http://archive.canonical.com/ubuntu hardy partner

deb http://security.ubuntu.com/ubuntu hardy-security main restricted
deb-src http://security.ubuntu.com/ubuntu hardy-security main restricted

Save and exit from /etc/apt/sources.list

Then please open a Terminal from the menu Applications->Accessories->Terminal and type:

sudo apt-get update
sudo apt-get upgrade
sudo apt-get dist-upgrade
sudo apt-get clean all
sudo apt-get autoremove

Please give your user password when requested, you don't see nothing when you type it, then press enter.

Hope this helps

Revision history for this message
Doepie (doepie) said :
#4

Thanks Marcorbra

That sorted me out.

Revision history for this message
Doepie (doepie) said :
#5

Thanks marcobra, that solved my question.

Revision history for this message
Jude Cherestalle (cherestalle) said :
#6

Ihad exactly the same problem, and proceed the same as described. Nevertheless it ended as:

Hit http://archive.ubuntu.com hardy-backports/restricted Sources
Hit http://archive.ubuntu.com hardy-backports/universe Sources
Hit http://archive.ubuntu.com hardy-backports/multiverse Sources
Fetched 9524B in 1min32s (103B/s)
Reading package lists... Done
W: GPG error: http://packages.medibuntu.org hardy Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 2EBC26B60C5A2783
W: You may want to run apt-get update to correct these problems

I run the apt-get update and was uunconclusive...

can yiu help me??

Jude

Revision history for this message
beit09 (rodrageous-gmail) said :
#7

I tried this and this occurred

Reading package lists... Done
david@david-laptop:~$ sudo apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages have been kept back:
  libpurple0 ntfs-3g pidgin pidgin-data
The following packages will be upgraded:
  apturl brasero gimp gimp-data gimp-gnomevfs gimp-python libgimp2.0
  libtheora0 transmission-common transmission-gtk
10 upgraded, 0 newly installed, 0 to remove and 4 not upgraded.
Need to get 17.8MB of archives.
After this operation, 4825kB of additional disk space will be used.
Do you want to continue [Y/n]? Y
Abort.

I dont have an operating cd rom can someone please help.

DR

Revision history for this message
marcobra (Marco Braida) (marcobra) said :
#8

@ Jude Cherestalle and beit09

Please don't append a new question or different issue on a already answered or marked as solved question.
Please make new question from here: https://answers.launchpad.net/ubuntu/+addquestion
you will get better chance to get right answer on a fresh tagged "open" question.
Solved or answered questions are usually not read from answering people.

Thank you