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

Bug#542705: marked as done (python-apt: Forced use of the private depcache to resolve complex situations)



Your message dated Fri, 21 Aug 2009 16:31:32 +0000
with message-id <E1MeX1Y-0006fN-4A@ries.debian.org>
and subject line Bug#542705: fixed in python-apt 0.7.13.0
has caused the Debian Bug report #542705,
regarding python-apt: Forced use of the private depcache to resolve complex situations
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.)


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

In PackageKit apt backend I use the problem resolver directly e.g. to make sure
that all given packages are installed which are queued for a transaction.

Just calling apt.Packagek.mark_install for each package could unmark the 
installation of a previous package during the resolver call (autoFix=True).
So I have to protect all the to be installed packages in the resolver.

The factory apt_pkg.GetPkgProblemResolver requires the private _depcache of
an apt.Cache. Furthermore I need the IsInstBroken and IsNowBroken method for
a more detailed error reporting.

It would be nice to habe a stable API for this.

Cheers,

Sebastian

-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.30-1-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/dash

Versions of packages python-apt depends on:
ii  apt [libapt-pkg-libc6.9-6-4.8 0.7.22.2   Advanced front-end for dpkg
ii  apt-utils [libapt-inst-libc6. 0.7.22.2   APT utility programs
ii  libc6                         2.9-23     GNU C Library: Shared libraries
ii  libgcc1                       1:4.4.1-1  GCC support library
ii  libstdc++6                    4.4.1-1    The GNU Standard C++ Library v3
ii  lsb-release                   3.2-23     Linux Standard Base version report
ii  python                        2.5.4-2    An interactive high-level object-o
ii  python-central                0.6.11     register and build utility for Pyt

Versions of packages python-apt recommends:
ii  iso-codes                     3.10.2-1   ISO language, territory, currency,
ii  libjs-jquery                  1.3.3-1    JavaScript library for dynamic web

Versions of packages python-apt suggests:
pn  python-apt-dbg                <none>     (no description available)
ii  python-gtk2                   2.14.1-3   Python bindings for the GTK+ widge
ii  python-vte                    1:0.20.5-1 Python bindings for the VTE widget

-- no debconf information



--- End Message ---
--- Begin Message ---
Source: python-apt
Source-Version: 0.7.13.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.13.0_amd64.deb
  to pool/main/p/python-apt/python-apt-dbg_0.7.13.0_amd64.deb
python-apt_0.7.13.0.dsc
  to pool/main/p/python-apt/python-apt_0.7.13.0.dsc
python-apt_0.7.13.0.tar.gz
  to pool/main/p/python-apt/python-apt_0.7.13.0.tar.gz
python-apt_0.7.13.0_amd64.deb
  to pool/main/p/python-apt/python-apt_0.7.13.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 542705@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: Fri, 21 Aug 2009 16:22:34 +0200
Source: python-apt
Binary: python-apt python-apt-dbg
Architecture: source amd64
Version: 0.7.13.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: 454293 467120 542699 542705 542773
Changes: 
 python-apt (0.7.13.0) unstable; urgency=low
 .
   [ Michael Vogt ]
   * apt/package.py:
     - add "recommends" property
   * apt/cache.py, python/cache.cc:
     - add optional pulseInterval option to "update()"
 .
   [ Sebastian Heinlein ]
   * apt/cache.py:
    - Fix the (inst|keep|broken|del)_count attributes (Closes: #542773).
 .
   [ Julian Andres Klode ]
   * apt/package.py:
    - Introduce Version.get_dependencies() which takes one or more types
      of dependencies and returns a list of Dependency objects.
    - Do not mark the package as manually installed on upgrade (Closes: #542699)
    - Add Package.is_now_broken and Package.is_inst_broken.
   * apt/cache.py:
    - Introduce ProblemResolver class (Closes: #542705)
   * python/pkgsrcrecords.cc:
    - Fix spelling error (begining should be beginning).
   * po:
    - Update template and the translations de.po, fr.po (Closes: #467120),
      ja.po (Closes: #454293).
   * debian/control:
    - Update Standards-Version to 3.8.3.
   * debian/rules:
    - Build with DH_PYCENTRAL=include-links instead of nomove.
Checksums-Sha1: 
 74e14206d9b5791bc12de12cbbf1d761aa5066fb 1257 python-apt_0.7.13.0.dsc
 0725a2a5f4525bfa3273a7617246ce987dabc821 645065 python-apt_0.7.13.0.tar.gz
 41db2cc047e69e0ad4c3b06fa2c02c298def728b 375576 python-apt_0.7.13.0_amd64.deb
 8a97a92ec4320ba9eff458d5836e00e19a58e238 1530592 python-apt-dbg_0.7.13.0_amd64.deb
Checksums-Sha256: 
 670f8857ab2d7c50db0a61fc82df9578cbe77ffcdc6911fe532090b07fb4ad0c 1257 python-apt_0.7.13.0.dsc
 b574aa6810498658f55be21c2a68d81def13223e1cbd9ad5412703ef74cbe377 645065 python-apt_0.7.13.0.tar.gz
 4c97b4235a8d051a6037c0f91840ca1fad86e82d471e9ce5e79342e675fab447 375576 python-apt_0.7.13.0_amd64.deb
 5efa9ff4091baa73915c55226c2059e2c12b64e7209897f4c89a19190418a08f 1530592 python-apt-dbg_0.7.13.0_amd64.deb
Files: 
 534bbf3650db0118db7362bb3e8317ec 1257 python optional python-apt_0.7.13.0.dsc
 684f2c209a7b3c70793449040705bf04 645065 python optional python-apt_0.7.13.0.tar.gz
 a94e9854b984abd9e894c6206781a059 375576 python optional python-apt_0.7.13.0_amd64.deb
 b1fec4812c460466e3456be65df14bc7 1530592 debug extra python-apt-dbg_0.7.13.0_amd64.deb

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

iEYEAREDAAYFAkqOsIgACgkQrCpf/gCCPsJgPgCgjMsUjcmZ7Lt01CBNnuYW6VNR
fgIAoJIfENGoF5VVhr6KDLktZpn44Oh6
=1+Cr
-----END PGP SIGNATURE-----



--- End Message ---

Reply to: