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

Bug#456141: marked as done (python-apt: no support for index files (Packages, Sources) in apt_pkg)



Your message dated Tue, 18 Aug 2009 19:05:08 +0000
with message-id <E1MdTzY-0004gW-Lf@ries.debian.org>
and subject line Bug#456141: fixed in python-apt 0.7.92
has caused the Debian Bug report #456141,
regarding python-apt: no support for index files (Packages, Sources) in apt_pkg
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
456141: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=456141
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: python-apt
Version: 0.7.3.1
Severity: normal


There doesn't seem to be support for accessing the information on index
files, such as Packages and Sources, through apt_pkg. I'm looking for the
information that is contained in apt-pkg/indexrecords.h.

FWIW, I'm trying to get the size and hash information contained in the
Release file for these index files. I don't think there's any way to
get it right now, though I may be wrong.

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



--- End Message ---
--- Begin Message ---
Source: python-apt
Source-Version: 0.7.92

We believe that the bug you reported is fixed in the latest version of
python-apt, which is due to be installed in the Debian FTP archive:

python-apt-dbg_0.7.92_amd64.deb
  to pool/main/p/python-apt/python-apt-dbg_0.7.92_amd64.deb
python-apt-dev_0.7.92_all.deb
  to pool/main/p/python-apt/python-apt-dev_0.7.92_all.deb
python-apt_0.7.92.dsc
  to pool/main/p/python-apt/python-apt_0.7.92.dsc
python-apt_0.7.92.tar.gz
  to pool/main/p/python-apt/python-apt_0.7.92.tar.gz
python-apt_0.7.92_amd64.deb
  to pool/main/p/python-apt/python-apt_0.7.92_amd64.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 456141@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Julian Andres Klode <jak@debian.org> (supplier of updated python-apt package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: RIPEMD160

Format: 1.8
Date: Tue, 18 Aug 2009 16:42:56 +0200
Source: python-apt
Binary: python-apt python-apt-dbg python-apt-dev
Architecture: source amd64 all
Version: 0.7.92
Distribution: experimental
Urgency: low
Maintainer: APT Development Team <deity@lists.debian.org>
Changed-By: Julian Andres Klode <jak@debian.org>
Description: 
 python-apt - Python interface to libapt-pkg
 python-apt-dbg - Python interface to libapt-pkg (debug extension)
 python-apt-dev - Python interface to libapt-pkg (development files)
Closes: 334923 382725 456141 468123 536096
Changes: 
 python-apt (0.7.92) experimental; urgency=low
 .
   * New features:
     - Provide a C++ API in the package python-apt-dev (Closes: #334923).
     - Add apt_pkg.HashString and apt_pkg.IndexRecords (Closes: #456141).
     - Add apt_pkg.Policy class (Closes: #382725).
     - Add apt_pkg.Hashes class.
     - Allow types providing __new__() to be subclassed.
     - Add apt_pkg.DepCache.mark_auto() and apt.Package.mark_auto() methods to
       mark a package as automatically installed.
     - Make AcquireFile a subclass of AcquireItem, thus inheriting attributes.
     - New progress handling in apt.progress.base and apt.progress.text. Still
       missing Qt4 progress handlers.
     - Classes in apt_inst (Closes: #536096)
       + You can now use apt_inst.DebFile.data to access the data.tar.* member
         regardless of its compression (LP: #44493)
 .
   * Unification of dependency handling:
     - apt_pkg.parse_[src_]depends() now use CompType instead of CompTypeDeb
       (i.e. < instead of <<) to match the interface of Version.depends_list_str
     - apt_pkg.SourceRecords.build_depends matches exactly the interface of
       Version.depends_list_str just with different keys (e.g. Build-Depends).
       + Closes: #468123 - there is no need anymore for binding CompType or
         CompTypeDeb, because we don't return integer values for CompType
         anymore.
 .
   * Bugfixes:
     - Delete pointers correctly, fixing memory leaks (LP: #370149).
     - Drop open() and close() in apt_pkg.Cache as they cause segfaults.
     - Raise ValueError in AcquireItem if the Acquire process is shut down
       instead of segfaulting.
 .
   * Other stuff:
     - Merge releases 0.7.10.4 - 0.7.12.1 from unstable.
     - Merge Configuration,ConfigurationPtr,ConfigurationSub into one type.
     - Simplify the whole build process by using a single setup.py.
     - The documentation has been restructured and enhanced with tutorials.
     - Only recommend lsb-release instead of depending on it. Default to
       Debian unstable if lsb_release is not available.
Checksums-Sha1: 
 14925b23a42b357e95d66ac424f0712fb9a2e031 1316 python-apt_0.7.92.dsc
 0ccbedfe18288a87dfb751b1dfd3283f787b72f8 251860 python-apt_0.7.92.tar.gz
 3fac0dbf3b96dbb688695e09cb53ff5eccab725d 629720 python-apt_0.7.92_amd64.deb
 8a83237ef70637dd3c724c14fecbf735fb93b33b 3439984 python-apt-dbg_0.7.92_amd64.deb
 63a7ca6c9e3e3e9c59026e3bea893f63777d9d66 20078 python-apt-dev_0.7.92_all.deb
Checksums-Sha256: 
 a83927cccd894c2b3ca3fcfdecb853ee735822a1adca605777517efea047b909 1316 python-apt_0.7.92.dsc
 5e49f601a7414e5ab529f5cc32218e3cfcf83be20d68f925ef3ef4d933a4049c 251860 python-apt_0.7.92.tar.gz
 b58d9c83c1aa17c231dcf0a51ce39ec29cee0ac961e4067a36e1316961b1b97f 629720 python-apt_0.7.92_amd64.deb
 2c2fc835ee29e26afc7c9d516c22f0d0de2f475a9c8532f1347468a7062f9cca 3439984 python-apt-dbg_0.7.92_amd64.deb
 80cb3de899f3cf1afbb632629a076a7d7c1cd450feb378ff59825bc8d63900e9 20078 python-apt-dev_0.7.92_all.deb
Files: 
 6ab5414e55b04a6a8982b9ab8f2bd0ce 1316 python optional python-apt_0.7.92.dsc
 8e43107b91416a870db13fc840035cf5 251860 python optional python-apt_0.7.92.tar.gz
 7384d482684b8ea06f17d6954c73ce50 629720 python optional python-apt_0.7.92_amd64.deb
 32e4875317f26d6a4bdfe96044384b09 3439984 debug extra python-apt-dbg_0.7.92_amd64.deb
 d93ae2741028da8fbcefc7dfa494dc77 20078 python optional python-apt-dev_0.7.92_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEAREDAAYFAkqKv9MACgkQrCpf/gCCPsLacgCeMzGYLXXPd0UiY/tY9re4wd+6
cvcAn1CTQk2X0cJMEuN34vEHw5NoFDEA
=7+cS
-----END PGP SIGNATURE-----



--- End Message ---

Reply to: