VirtualBox

Ticket #7578 (closed defect: worksforme)

Opened 4 years ago

Last modified 4 years ago

Lucid Packages file truncated, leads to 'aptitude update' failure

Reported by: dimitris Owned by:
Priority: minor Component: other
Version: VirtualBox 3.2.10 Keywords:
Cc: Guest type: other
Host type: Linux

Description

d@greebo:~$ sudo aptitude update
Get:1 http://download.virtualbox.org lucid Release.gpg [197B]
Ign http://download.virtualbox.org/virtualbox/debian/ lucid/non-free Translation-en_US
Hit http://security.ubuntu.com lucid-security Release.gpg            
Get:2 http://download.virtualbox.org lucid Release [3,445B]          
Hit http://us.archive.ubuntu.com lucid Release.gpg                          
Ign http://download.virtualbox.org lucid Release                     
Ign http://security.ubuntu.com/ubuntu/ lucid-security/main Translation-en_US
Ign http://us.archive.ubuntu.com/ubuntu/ lucid/main Translation-en_US
Ign http://us.archive.ubuntu.com/ubuntu/ lucid/restricted Translation-en_US
Ign http://us.archive.ubuntu.com/ubuntu/ lucid/universe Translation-en_US
Ign http://us.archive.ubuntu.com/ubuntu/ lucid/multiverse Translation-en_US
Hit http://us.archive.ubuntu.com lucid-updates Release.gpg           
Get:3 http://download.virtualbox.org lucid/non-free Packages [1,329B]
99% [3 Packages bzip2 0] [Waiting for headers] [Waiting for headers]        
bzip2: Data integrity error when decompressing.
	Input file = (stdin), output file = (stdout)

It is possible that the compressed file(s) have become corrupted.
You can use the -tvv option to test integrity of such files.

You can use the `bzip2recover' program to attempt to recover
data from undamaged sections of corrupted files.

Err http://download.virtualbox.org lucid/non-free Packages          
  Sub-process /bin/bzip2 returned an error code (2)

leading aptitude update to miss the available 3.2.10 upgrade, at least on x86_32:

W: GPG error: http://download.virtualbox.org lucid Release: The following signatures were invalid: BADSIG 54422A4B98AB5139 Oracle Corporation (VirtualBox archive signing key) <info@virtualbox.org>
d@greebo:~$ sudo aptitude full-upgrade 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Reading extended state information      
Initializing package states... Done
No packages will be installed, upgraded, or removed.
0 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 0B of archives. After unpacking 0B will be used.
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Reading extended state information      
Initializing package states... Done

The key is up to date:

d@greebo:~$ gpg -o - /etc/apt/trusted.gpg
pub  1024D/437D05B5 2004-09-12 Ubuntu Archive Automatic Signing Key <ftpmaster@ubuntu.com>
sub  2048g/79164387 2004-09-12
pub  1024D/FBB75451 2004-12-30 Ubuntu CD Image Automatic Signing Key <cdimage@ubuntu.com>
pub  1024D/98AB5139 2010-05-18 Oracle Corporation (VirtualBox archive signing key) <info@virtualbox.org>
sub  2048g/281DDC4B 2010-05-18

and I've tried deleting /var/lib/apt/lists/partial/* (where the virtualbox.org Releases and its detached signature were found) but it didn't help.

Change History

comment:1 Changed 4 years ago by frank

  • Status changed from new to closed
  • Resolution set to worksforme

Please try again. Obviously downloading the Packages.bz2 file aborted for some reason. You might want to delete /var/lib/apt/lists/*Packages*

Note: See TracTickets for help on using tickets.

www.oracle.com
ContactPrivacy policyTerms of Use