Package: apt-offline
Version: 1.5
Severity: important
Tags: jessie

Dear Maintainer,

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.


-- System Information:
Debian Release: 8.0
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.16.0-4-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_GB.utf8, LC_CTYPE=en_GB.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages apt-offline depends on:
ii  apt                                    1.0.9.8
ii  less                                   458-3
ii  libpython2.7-stdlib [python-argparse]  2.7.9-2
ii  python                                 2.7.9-1

Versions of packages apt-offline recommends:
ii  python-magic   1:5.22+15-2
ii  python-soappy  0.12.22-1

apt-offline suggests no packages.

-- no debconf information


--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to