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

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



tag 456113 fixed-upstream

On Wed, Dec 12, 2007 at 11:37:41PM -0800, Cameron Dale wrote:
> 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.
I have fixed this in the jak branch as of revision 229 (aka
jak@debian.org-20090111190229-nfusiztkf0h39u2u).

See http://bzr.debian.org/loggerhead/users/jak/python-apt/jak/revision/229
> 
> 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
> 
> 
> 

-- 
Julian Andres Klode  - Free Software Developer
   Debian Developer  - Contributing Member of SPI
   Ubuntu Member     - Fellow of FSFE

Website: http://jak-linux.org/   XMPP: juliank@jabber.org
Debian:  http://www.debian.org/  SPI:  http://www.spi-inc.org/
Ubuntu:  http://www.ubuntu.com/  FSFE: http://www.fsfe.org/

Attachment: signature.asc
Description: Digital signature


Reply to: