On Thursday 04 June 2015 08:39 PM, Peter Laird wrote: > > After applying the fix to apt-offline described in bug #787730, I did: > apt-offline install update.zip > > The package list files etc. are correctly synced to /var/lib/apt/lists > but with filename extension .bz2 eg. > -rw-r--r-- 1 root root 33775581 Jun 1 21:12 > /var/lib/apt/lists/ftp.uk.debian.org_debian_dists_jessie_main_binary-amd64_Packages > -rw-r--r-- 1 root root 33775581 Jun 3 21:45 > /var/lib/apt/lists/ftp.uk.debian.org_debian_dists_jessie_main_binary-amd64_Packages.bz2 > > Although they have a .bz2 extension, they are actually plain text > files - the output from the "file" command is: > /var/lib/apt/lists/ftp.uk.debian.org_debian_dists_jessie_main_binary-amd64_Packages.bz2: > ASCII text, with very long lines > > When I run aptitude, it reports: > BZ2_bzread: Read error (-5: DATA_ERROR_MAGIC) > Problem opening > /var/lib/apt/lists/ftp.uk.debian.org_debian_dists_jessie_main_binary-amd64_Packages.bz2 > The package lists or status file could not be parsed or opened. > and it does not show any packages. > > As a workaround, I've renamed the files to remove the .bz2 extension > ie. (as root): > cd /var/lib/apt/lists > for i in *.bz2; do mv $i `basename $i .bz2`; done > > aptitude then works as expected. > > > I did not have this issue when I upgraded from wheezy to jessie -I > assume that when I first got the jessie package list files etc. > usingapt-offline it was still the wheezy version ie. version 1.2.
This too should be fixed with version 1.6. Have you verified it with 1.6 ? If it works, then we'll target this too for "1.6 for Jessie". -- Ritesh Raj Sarraf RESEARCHUT - http://www.researchut.com "Necessity is the mother of invention."
signature.asc
Description: OpenPGP digital signature