Ubuntu repo Packages.bz2 corrupt

Discussions related to using VirtualBox on Linux hosts.
Post Reply
Halfwalker
Posts: 2
Joined: 21. Feb 2009, 07:18

Ubuntu repo Packages.bz2 corrupt

Post by Halfwalker »

Host is Ubuntu Intrepid v8.10 x64. I have the proper entry in /etc/apt/sources.list.d/virtualbox.list

Code: Select all

## VirtualBox latest builds
deb http://download.virtualbox.org/virtualbox/debian intrepid non-free
And this has been working fine for several months. Upon the announcement of v2.1.4, I tried a standard sudo apt-get update only to get the following error ...

Code: Select all

W: Failed to fetch http://download.virtualbox.org/virtualbox/debian/dists/intrepid/non-free/binary-amd64/Packages.bz2  Hash Sum mismatch
I removed any existing Packages files and tried again, but still the same error.

Code: Select all

/var/lib/apt/lists/download.virtualbox.org_virtualbox_debian_dists_intrepid_non-free_binary-amd64_Packages
The sudo apt-get update creates the following two files ...

Code: Select all

download.virtualbox.org_virtualbox_debian_dists_intrepid_non-free_binary-amd64_Packages.decomp.FAILED
download.virtualbox.org_virtualbox_debian_dists_intrepid_non-free_binary-amd64_Packages
The .decomp.FAILED one is exactly the same as the one on the virtualbox site - checked with diff, both 2698 bytes.

Any ideas ?

D.
Halfwalker
Posts: 2
Joined: 21. Feb 2009, 07:18

Post by Halfwalker »

Very weird. Tried again, removing all instances of download.virtualbox..... files, and it finally worked.

I was originally using apt-cacher and thought that may have had something to do with it, but the problem remained even after commenting out the line

Code: Select all

Acquire::http { Proxy "http://localhost:3142"; };
I made sure to remove the /var/cache/apt-cacher virtualbox files, and the update worked through apt-cacher as well.

D.
Post Reply