ubuntu server mirror errors bzip2 on fresh ubuntu-server-12.04
Scott Moser
smoser at ubuntu.com
Mon Sep 30 12:55:25 UTC 2013
On Wed, 25 Sep 2013, Clint Byrum wrote:
> Excerpts from Stefan Fuhrmann's message of 2013-09-25 21:25:13 -0700:
> > Hello all,
> > Im having problems with a fresh installed ubuntu-server-12.04 and apt, getting sum mismatch, not a bzip2 file and sometimes error 404 on a fresh ubuntu-server-12.04:
> >
> > Get: 64 http://de.archive.ubuntu.com precise-backports/universe Sources [14 B]
> > 93% [Waiting for headers] 2037 kB/s 0sbzip2: (stdin) is not a bzip2 file.
> > bzip2: (stdin) is not a bzip2 file.
> > bzip2: (stdin) is not a bzip2 file.
> > bzip2: (stdin) is not a bzip2 file.
> > Get: 65 http://de.archive.ubuntu.com precise-backports/multiverse Sources [36.3 kB]
> > Get: 66 http://de.archive.ubuntu.com precise-backports/main amd64 Packages [5178 B]
> > Get: 67 http://de.archive.ubuntu.com precise-backports/restricted amd64 Packages [72 B]
> > 93% [Waiting for headers] 2037 kB/s 0sbzip2: (stdin) is not a bzip2 file.
..
> > Ign http://de.archive.ubuntu.com precise-backports/multiverse TranslationIndex
> > Ign http://de.archive.ubuntu.com precise-backports/restricted TranslationIndex
> > Ign http://de.archive.ubuntu.com precise-backports/universe TranslationIndex
> > Err http://de.archive.ubuntu.com precise-updates/universe amd64 Packages
> > 404 Not Found
> > Err http://de.archive.ubuntu.com precise-updates/multiverse amd64 Packages
> > 404 Not Found
> > Err http://de.archive.ubuntu.com precise-backports/restricted amd64 Packages
> > 404 Not Found
> > Get: 77 http://de.archive.ubuntu.com precise-backports/universe Translation-en [28.7 kB]
> > Fetched 16.6 MB in 21s (787 kB/s)
> > W: Failed to fetch bzip2:/var/lib/apt/lists/partial/de.archive.ubuntu.com_ubuntu_dists_precise_restricted_source_Sources Hash Sum mismatch
>
> Disable any local caching proxies. apt is (still?) not atomic when it
> updates and caches often have slightly skewed files leading to "Hash
> sum mismatch".
I suspect that the "is not a bzip2 file" indicates something is actually
wrong in a proxy on your way to that host or on that host itself.
I wrote a bash program lp:~smoser/+junk/check-archive to check archives
for this purpose a while a go. I run it on de.archive.ubuntu.com here and
it seems fine:
$ ./check-archive -vvv http://de.archive.ubuntu.com/ubuntu \
precise precise-updates precise-proposed precise-backports
That doesn't mean that the server was not actually broken when you
reported this, nor does it mean there is nothing in *your* path breaking
it. It just means that from my IP to that mirror, it looks good.
I've actually never seen the '(stdin) is not a bzip2 file" errors before.
More information about the ubuntu-server
mailing list