apt-get update fails

NoOp glgxg at mfire.com
Wed May 16 04:40:56 UTC 2007


On 05/15/2007 09:29 PM, Avi Schwartz wrote:
> NoOp wrote:
> 
>> On 05/15/2007 08:17 PM, Avi Schwartz wrote:
>>   
>>> NoOp wrote:
>>>
>>>     
>>>> On 05/15/2007 07:27 PM, Avi Schwartz wrote:
>>>>   
>>>>       
>>>>> debian wrote:
>>>>>
>>>>>     
>>>>>         
>>>>>> On Tue, 2007-05-15 at 20:17 -0500, Avi Schwartz wrote:
>>>>>>   
>>>>>>       
>>>>>>           
>>>>>>> In the last few days I am seeing the following errors when attempting 
>>>>>>> "apt-get update":
>>>>>>>
>>>>>>>
>>>>>>> For a AMD64 installation:
>>>>>>>
>>>>>>>
>>>>>>> Failed to fetch 
>>>>>>> http://security.ubuntu.com/ubuntu/dists/feisty-security/main/binary-amd64/Packages.bz2  
>>>>>>> MD5Sum mismatch
>>>>>>> Failed to fetch 
>>>>>>> http://security.ubuntu.com/ubuntu/dists/feisty-security/universe/binary-amd64/Packages.bz2  
>>>>>>> MD5Sum mismatch
>>>>>>> Reading package lists... Done
>>>>>>> E: Some index files failed to download, they have been ignored, or old 
>>>>>>> ones used instead.
>>>>>>>
>>>>>>>
>>>>>>> For a X86 installation:
>>>>>>>
>>>>>>>
>>>>>>> Failed to fetch 
>>>>>>> http://security.ubuntu.com/ubuntu/dists/feisty-security/main/binary-i386/Packages.bz2  
>>>>>>> MD5Sum mismatch
>>>>>>> Failed to fetch 
>>>>>>> http://security.ubuntu.com/ubuntu/dists/feisty-security/universe/binary-i386/Packages.bz2  
>>>>>>> MD5Sum mismatch
>>>>>>> Reading package lists... Done
>>>>>>> E: Some index files failed to download, they have been ignored, or old 
>>>>>>> ones used instead.
>>>>>>>
>>>>>>>
>>>>>>> Anyone else seeing it?  Any fix?
>>>>>>>
>>>>>>>
>>>>>>> Avi
>>>>>>>
>>>>>>>     
>>>>>>>         
>>>>>>>             
>>>>>> apt-get works great with me
>>>>>>
>>>>>> heres what i type:
>>>>>> sudo apt-get update
>>>>>>
>>>>>> works just fine
>>>>>> --cj
>>>>>>
>>>>>>       
>>>>>>           
>>>> You might want to try again or try a different archive location.
>>>> Sometimes the archive locations get screwed up - particularly when there
>>>> are updates available. BTW: what do you get if you download the file via
>>>> http? For
>>>> http://security.ubuntu.com/ubuntu/dists/feisty-security/main/binary-amd64/
>>>> I get:
>>>> $ md5sum *.bz2
>>>> 0b94a05e11d154bc9b76c887962b862e  Packages.bz2
>>>>   
>>>>       
>>> I have been trying for couple of days now with the same error.  The strange thing is that I am getting the same error on two different machine, one using Feisty amd64 and another Feisty i386. I have been running Edgy for a while before on one of the machines and I had no problem until I upgraded to Feisty. The other machine (the AMD64 one) is a fresh installation.
>>>
>>> When I download the file via http I get the same md5sum as you did.
>>>
>>> Are there other Ubuntu security repositories? How do I find them?
>>>
>>> Avi
>>>     
>>
>> Can you please post your /etc/apt/sources.list ?
>>
>>   
> Here you go:
> 
> 
> #
> # deb cdrom:[Ubuntu-Server 7.04 _Feisty Fawn_ - Release amd64 
> (20070415)]/ feisty main restricted
> 
> #deb cdrom:[Ubuntu-Server 7.04 _Feisty Fawn_ - Release amd64 
> (20070415)]/ feisty 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/ feisty main restricted
> deb-src http://us.archive.ubuntu.com/ubuntu/ feisty main restricted
> 
> ## Major bug fix updates produced after the final release of the
> ## distribution.
> deb http://us.archive.ubuntu.com/ubuntu/ feisty-updates main restricted
> deb-src http://us.archive.ubuntu.com/ubuntu/ feisty-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/ feisty universe
> deb-src http://us.archive.ubuntu.com/ubuntu/ feisty 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/ feisty multiverse
> deb-src http://us.archive.ubuntu.com/ubuntu/ feisty 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/ feisty-backports main 
> restricted universe multiverse
> # deb-src http://us.archive.ubuntu.com/ubuntu/ feisty-backports main 
> restricted universe multiverse
> 
> deb http://security.ubuntu.com/ubuntu feisty-security main restricted
> deb-src http://security.ubuntu.com/ubuntu feisty-security main restricted
> deb http://security.ubuntu.com/ubuntu feisty-security universe
> deb-src http://security.ubuntu.com/ubuntu feisty-security universe
> deb http://security.ubuntu.com/ubuntu feisty-security multiverse
> deb-src http://security.ubuntu.com/ubuntu feisty-security multiverse
> 
> 

Here is what I have, you can look to see to compare:

# Automatically generated sources.list
# http://www.ubuntu-nl.org/source-o-matic/
#
# If you get GPG errors with this sources.list, locate the GPG key in
this file
# and run these commands (where KEY is replaced with that key)
#
# gpg --keyserver hkp://subkeys.pgp.net --recv-keys KEY
# gpg --export --armor KEY | sudo apt-key add -
#
# If you don't know what to do with this file, read
# https://help.ubuntu.com/community/Repositories/CommandLine

# Ubuntu supported packages
# GPG key: 437D05B5
# deb cdrom:[Ubuntu 7.04 _Feisty Fawn_ - Release i386 (20070415)]/
feisty main restricted
deb http://us.archive.ubuntu.com/ubuntu/ feisty main restricted universe
deb http://us.archive.ubuntu.com/ubuntu/ feisty-updates main restricted
universe
deb http://us.archive.ubuntu.com/ubuntu/ feisty-security main restricted
universe

# Ubuntu community supported packages
# GPG key: 437D05B5
deb http://us.archive.ubuntu.com/ubuntu/ feisty multiverse
deb http://us.archive.ubuntu.com/ubuntu/ feisty-updates multiverse
deb http://us.archive.ubuntu.com/ubuntu/ feisty-security multiverse

# Ubuntu backports project
# GPG key: 437D05B5

# Upstream Wine
# GPG key: 387EE263

# Medibuntu multimedia packages
# GPG key: 0C5A2783

# Canonical Commercial packages
# GPG key: 437D05B5
deb http://archive.canonical.com feisty-commercial main

# For Generating a new list see:
http://easylinux.info/wiki/Ubuntu_dapper#How_to_add_extra_repositories
and http://www.ubuntulinux.nl/source-o-matic

When I have problems with us.archive.ubuntu.com I switch to
uk.archive.ubuntu.com

Also see:

http://ubuntuguide.org/wiki/Ubuntu:Feisty
 http://ubuntuguide.org/wiki/Ubuntu:Feisty#How_to_add_extra_repositories
and
http://www.ubuntu-nl.org/source-o-matic/





More information about the ubuntu-users mailing list