Bug#383478: python-apt: Example of Insufficient Dependency on Apt
Package: python-apt
Version: 0.6.19
Followup-For: Bug #383478
python-apt in etch/sid does not work with apt in either etch/sid.
This appears to be due to a change in the class structure and the use of an
inline method, pkgTagFile::Offset.
This script shows python-apt failing:
>>> import apt_pkg
>>> p = apt_pkg.ParseTagFile(open('/var/lib/apt/lists/archive.progeny.com_debian_dists_unstable_main_binary-i386_Packages'))
>>> p.Offset()
65536 <---- ????
>>> p.Step()
1
>>> p.Offset()
65536 <---- ????
I suggest at least rebuilding python-apt.
-- System Information:
Debian Release: testing/unstable
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.17-2-686
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Versions of packages python-apt depends on:
ii apt [libapt-pkg-libc6.3-6-3. 0.6.46.1 Advanced front-end for dpkg
ii apt-utils [libapt-inst-libc6 0.6.45 APT utility programs
ii libc6 2.3.6.ds1-4 GNU C Library: Shared libraries
ii libgcc1 1:4.1.1-13 GCC support library
ii libstdc++6 4.1.1-13 The GNU Standard C++ Library v3
ii python 2.4.3-11 An interactive high-level object-o
ii python-central 0.5.5 register and build utility for Pyt
python-apt recommends no packages.
-- no debconf information
Reply to: