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

Bug#456113: python-apt: missing support for SHA256 in apt_pkg



Package: python-apt
Version: 0.7.3.1
Severity: normal


I believe that the PkgRecords is missing support for the SHA256 hashes
used for packages. I can access the MD5 and SHA1 hashes through e.g.

    r = apt_pkg.GetPkgRecords(cache)
    r.Lookup(...)
    r.SHA1Hash

but SHA256Hash just returns an AttributeError.

Thanks,
Cameron


-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (990, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.22-1-vserver-amd64 (SMP w/1 CPU core)
Locale: LANG=en_CA.UTF-8, LC_CTYPE=en_CA.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages python-apt depends on:
ii  apt [libapt-pkg-libc6.6-6-4.4 0.7.6-0.1  Advanced front-end for dpkg
ii  apt-utils [libapt-inst-libc6. 0.7.6-0.1  APT utility programs
ii  libc6                         2.6.1-1    GNU C Library: Shared libraries
ii  libgcc1                       1:4.2.1-4  GCC support library
ii  libstdc++6                    4.2.1-4    The GNU Standard C++ Library v3
ii  lsb-release                   3.1-24     Linux Standard Base version report
ii  python                        2.4.4-6    An interactive high-level object-o
ii  python-central                0.5.15     register and build utility for Pyt

python-apt recommends no packages.

-- no debconf information




Reply to: