[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#383478: python-apt has insufficient dependency on apt



Package: python-apt
Version: 0.6.19

In one of my chroots, I have apt 0.6.43 and python-apt 0.6.19 installed;
python-apt 0.6.19 Depends on libapt-pkg-libc6.3-6-3.11, which apt 0.6.43
Provides.  However:

>>> import apt_pkg
Traceback (most recent call last):
  File "<stdin>", line 1, in ?
ImportError: /usr/lib/python2.3/site-packages/apt_pkg.so: undefined
symbol: _ZN15SHA256SummationC1Ev

c++filt decodes this name as "SHA256Summation::SHA256Summation()".  nm
-D shows that /usr/lib/python2.3/site-packages/apt_pkg.so needs that
symbol, and that /usr/lib/libapt-pkg-libc6.3-6.so.3.11 does not provide
any of the SHA256Summation class symbols.  The changelog for python-apt
shows that version 0.6.19 started exporting sha256 stuff; it looks like
the libapt-pkg* Provides in apt needs a SONAME bump and python-apt needs
to add a stronger Depends on it.

- Josh Triplett

Attachment: signature.asc
Description: OpenPGP digital signature


Reply to: