$sudo aptitude update

Karl F. Larsen klarsen1 at gmail.com
Thu Apr 30 11:51:53 UTC 2009


Leonard Chatagnier wrote:
>
> --- On Wed, 4/29/09, Karl F. Larsen <klarsen1 at gmail.com> wrote:
>
>   
>> From: Karl F. Larsen <klarsen1 at gmail.com>
>> Subject: $sudo aptitude update
>> To: "Ubuntu user technical support, not for general discussions" <ubuntu-users at lists.ubuntu.com>
>> Date: Wednesday, April 29, 2009, 8:20 PM
>> I went to man aptitude and quick I found this:
>>
>> update
>> Updates the list of available packages from the apt sources
>> (this
>> is equivalent to “apt-get update”)
>>
>> So then I did a apt-get update and got:
>>
>> Get:12 http://security.ubuntu.com hardy-security/multiverse
>> Packages 
>> [11.9kB]
>> Get:13 http://security.ubuntu.com hardy-security/multiverse
>> Sources [1105B]
>> Fetched 361kB in 15s (23.3kB/s)
>> W: GPG error: http://dl.google.com stable Release: The
>> following 
>> signatures couldn't be verified because the public key
>> is not available: 
>> NO_PUBKEY A040830F7FAC5991
>> 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
>>
>> E: Some index files failed to download, they have been
>> ignored, or old 
>> ones used instead.
>>
>>
>> Notice it says it "Failed to fetch cdrom". This
>> means the apt sources, 
>> not my computer.
>>
>> Karl
>>
>>     
> Don't think so.  I believe it means that the alt or live CD you used to install with is not in the CD_ROM drive and there is an entry in your sources.list file for that CD-ROM.  As suggested before, if you remove or comment out that CD-ROM entry in your sources.list file the error message will go away.  Try it and see for yourself and note that there may be more than one CD-ROM entry in your sources.list file.  Be sure to rm or comment out all of them for the error to go away.
> Leonard Chatagnier
> lenc5570 at sbcglobal.net
>
>
>   
    Yes! I found the problem in sources.list and commented it out.

Karl





More information about the ubuntu-users mailing list