Bug#532338: marked as done (python-apt: Cache class should provide a broken attribute)
Your message dated Thu, 30 Jul 2009 17:32:30 +0000
with message-id <E1MWZUU-0001Zy-TD@ries.debian.org>
and subject line Bug#532338: fixed in python-apt 0.7.12.0
has caused the Debian Bug report #532338,
regarding python-apt: Cache class should provide a broken attribute
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.)
--
532338: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=532338
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
- To: Debian Bug Tracking System <submit@bugs.debian.org>
- Subject: python-apt: Cache class should provide a broken attribute
- From: Sebastian Heinlein <devel@glatzor.de>
- Date: Mon, 08 Jun 2009 18:17:32 +0200
- Message-id: <20090608161732.22106.73013.reportbug@klapprechner.daheim>
Package: python-apt
Version: 0.7.7.1+nmu1
Severity: wishlist
Tags: patch
The Cache class should provide an API to determinate the existance of
broken dependencies. Currently you have to access the private _depcache.
Cheers,
Sebastian
-- System Information:
Debian Release: 5.0.1
APT prefers stable
APT policy: (500, 'stable')
Architecture: i386 (i686)
Kernel: Linux 2.6.26-2-686 (SMP w/2 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages python-apt depends on:
ii apt [libapt-pkg-libc6.7- 0.7.20.2+lenny1 Advanced front-end for dpkg
ii apt-utils [libapt-inst-l 0.7.20.2+lenny1 APT utility programs
ii libc6 2.7-18 GNU C Library: Shared libraries
ii libgcc1 1:4.3.2-1.1 GCC support library
ii libstdc++6 4.3.2-1.1 The GNU Standard C++ Library v3
ii lsb-release 3.2-20 Linux Standard Base version report
ii python 2.5.2-3 An interactive high-level object-o
ii python-central 0.6.8 register and build utility for Pyt
python-apt recommends no packages.
Versions of packages python-apt suggests:
pn python-apt-dbg <none> (no description available)
-- no debconf information
=== modified file 'apt/cache.py'
--- apt/cache.py 2009-04-01 14:27:15 +0000
+++ apt/cache.py 2009-06-08 16:12:36 +0000
@@ -286,6 +286,11 @@
""" Unmark all changes """
self._depcache.Init()
+ @property
+ def broken(self):
+ """True if the cache contains packages with broken dependencies."""
+ return self._depcache.BrokenCount > 0
+
# cache changes
def cachePostChange(self):
--- End Message ---
--- Begin Message ---
- To: 532338-close@bugs.debian.org
- Subject: Bug#532338: fixed in python-apt 0.7.12.0
- From: Julian Andres Klode <jak@debian.org>
- Date: Thu, 30 Jul 2009 17:32:30 +0000
- Message-id: <E1MWZUU-0001Zy-TD@ries.debian.org>
Source: python-apt
Source-Version: 0.7.12.0
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.12.0_amd64.deb
to pool/main/p/python-apt/python-apt-dbg_0.7.12.0_amd64.deb
python-apt_0.7.12.0.dsc
to pool/main/p/python-apt/python-apt_0.7.12.0.dsc
python-apt_0.7.12.0.tar.gz
to pool/main/p/python-apt/python-apt_0.7.12.0.tar.gz
python-apt_0.7.12.0_amd64.deb
to pool/main/p/python-apt/python-apt_0.7.12.0_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 532338@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: Thu, 30 Jul 2009 14:08:30 +0200
Source: python-apt
Binary: python-apt python-apt-dbg
Architecture: source amd64
Version: 0.7.12.0
Distribution: unstable
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)
Closes: 416247 523997 523998 525134 527543 532338 532660
Changes:
python-apt (0.7.12.0) unstable; urgency=low
.
[ Julian Andres Klode ]
* python/cache.cc:
- Support Breaks, Enhances dependency types (Closes: #416247)
* debian/control:
- Only recommend libjs-jquery (Closes: #527543)
- Build-depend on libapt-pkg-dev (>= 0.7.22~)
- Update Standards-Version to 3.8.2
* apt/cache.py:
- Correctly handle rootdir on second and later invocations of
open(), by calling InitSystem again. (LP: #320665).
- Provide broken_count, delete_count, install_count, keep_count
properties (Closes: #532338)
- Only create Package objects when they are requested, do not keep them in
a dict. Saves 10MB for 25,000 packages on my machine.
* apt/package.py:
- Allow to set the candidate of a package (Closes: #523997)
+ Support assignments to the 'candidate' property of Package objects.
+ Initial patch by Sebastian Heinlein
- Make comparisons of Version object more robust.
- Return VersionList objects in Package.versions, which are sequences
and also provide features of mappings. (partial API BREAK)
+ Allows to get a specific version (Closes: #523998)
* apt/progress/__init__.py:
- Do not break out of InstallProgress.waitChild()'s loop just because it
is hitting EINTR, but only on child exit or on ECHILD.
* Use debhelper 7 instead of CDBS
.
[ Stefano Zacchiroli ]
* debian/python-apt.doc-base: register the documentation with the
doc-base system (Closes: #525134)
.
[ Sebastian Heinlein ]
* apt/progress.py: Extract the package name from the status message
(Closes: #532660)
Checksums-Sha1:
53c55f55c603e4645cf80b10af401bb462616d83 1191 python-apt_0.7.12.0.dsc
69df96f527a457618b99233b5b626d90f58558e6 680643 python-apt_0.7.12.0.tar.gz
218344eaff611f7a99ff701b71d9cd717b90be6c 404106 python-apt_0.7.12.0_amd64.deb
9f5ba661ed5917c6d568daa73a64b9c1587c7bb8 1530614 python-apt-dbg_0.7.12.0_amd64.deb
Checksums-Sha256:
411f2f48eda5f8a33e3e40319c4a670f24fe3b958c2e48a3873f4d963f48a43f 1191 python-apt_0.7.12.0.dsc
b18d4e018e2ec1b2c26f906f83ec920b92475a00c88e5fb104b7bbd32a320984 680643 python-apt_0.7.12.0.tar.gz
9461666854200c8b43881cc27d3d55f0526919c6b65a249da18067311cdcee7e 404106 python-apt_0.7.12.0_amd64.deb
eec35a8f455d5cfdc62ddc443ceb1c474f156e981abaf7f3f5a3bb6533dc708d 1530614 python-apt-dbg_0.7.12.0_amd64.deb
Files:
40309d6887a42104b4bc640749b3d7ef 1191 python optional python-apt_0.7.12.0.dsc
8f5a2c65bafe0ece59ef538169fa9925 680643 python optional python-apt_0.7.12.0.tar.gz
87c903e07134bd2ad3277c582f342f80 404106 python optional python-apt_0.7.12.0_amd64.deb
d7d2f0309c111d76ca2d58fb6a571dc2 1530614 debug extra python-apt-dbg_0.7.12.0_amd64.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
iEYEAREDAAYFAkpx1q4ACgkQrCpf/gCCPsIH6wCfZMKr4q6VZzUnK0a6w0vI2xKW
foEAnifFoNGHa6LFtKj08ycrdjRjCSfQ
=YdXq
-----END PGP SIGNATURE-----
--- End Message ---
Reply to: