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

Bug#953426: python-apt: Hasjes problem



Package: python-apt
Version: 1.9.10
Severity: serious

Dear Maintainer,

Probably related that now apt use libgcrypt.

Output come from dak. Bug should be reassigned to ftp.debian.org is needed.


dak process-upload -a -p -d <path to unchecked>

dak_1.0.db122~20200307.git9dac010a-dmo1_amd64.changes

dak (1.0.db122~20200307.git9dac010a-dmo1) unstable; urgency=medium
 .
   * New upstream release.



Reason:
Processing raised an exception: 'apt_pkg.Hashes' object has no attribute 'md5'.
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/daklib/archive.py", line 1019, in check
    chk().check(self)
  File "/usr/lib/python2.7/dist-packages/daklib/checks.py", line 146, in check
    self._check_hashes(upload, changes.filename, changes.files.itervalues())
  File "/usr/lib/python2.7/dist-packages/daklib/checks.py", line 179, in _check_hashes
    f.check(upload.directory)
  File "/usr/lib/python2.7/dist-packages/daklib/upload.py", line 174, in check
    self.check_fh(fh)
  File "/usr/lib/python2.7/dist-packages/daklib/upload.py", line 188, in check_fh
    if hashes.md5 != self.md5sum:
AttributeError: 'apt_pkg.Hashes' object has no attribute 'md5'


Christian

-- System Information:
Debian Release: bullseye/sid
  APT prefers buildd-unstable
  APT policy: (500, 'buildd-unstable'), (500, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.19.108 (SMP w/8 CPU cores)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8), LANGUAGE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages python-apt depends on:
ii  dirmngr            2.2.19-2
ii  gnupg              2.2.19-2
ii  libapt-pkg6.0      2.0.0
ii  libc6              2.29-10
ii  libgcc-s1          10-20200304-1
ii  libstdc++6         10-20200304-1
ii  python-apt-common  1.9.10
ii  python2            2.7.17-2

Versions of packages python-apt recommends:
ii  iso-codes    4.4-1
ii  lsb-release  11.1.0
ii  xz-utils     5.2.4-1+b1

Versions of packages python-apt suggests:
ii  apt             2.0.0
pn  python-apt-dbg  <none>
pn  python-apt-doc  <none>

-- no debconf information


Reply to: