Your message dated Fri, 21 Aug 2009 16:31:32 +0000 with message-id <E1MeX1Y-0006fL-1v@ries.debian.org> and subject line Bug#542699: fixed in python-apt 0.7.13.0 has caused the Debian Bug report #542699, regarding MarkUpgrade always marks a package as explicitly installed 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.) -- 542699: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=542699 Debian Bug Tracking System Contact owner@bugs.debian.org with problems
--- Begin Message ---
- To: submit@bugs.debian.org
- Subject: MarkUpgrade always marks a package as explicitly installed
- From: Sebastian Heinlein <devel@glatzor.de>
- Date: Thu, 20 Aug 2009 22:44:19 +0200
- Message-id: <[🔎] 1250801059.11159.49.camel@klapprechner>
Package: python-apt Version: 0.7.12.1 Severity: important The apt.Package.markUpgrade() methods marks a package as not automatically installed: >>> import apt >>> c = apt.Cache() >>> p = c["mobile-broadband-provider-info"] >>> c._depcache.IsAutoInstalled(p._pkg) 1 >>> p.markUpgrade() >>> c._depcache.IsAutoInstalled(p._pkg) 0 Instead it should keep the current state. A common use case for the markUpgrade call is an user on low bandwith who only upgrades in small sub sets. 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=== modified file 'apt/package.py' --- apt/package.py 2009-08-03 13:59:35 +0000 +++ apt/package.py 2009-08-20 20:28:51 +0000 @@ -1158,7 +1158,8 @@ def mark_upgrade(self): """Mark a package for upgrade.""" if self.is_upgradable: - self.mark_install() + auto = self._pcache._depcache.IsAutoInstalled(self._pkg) + self.mark_install(from_user=auto) else: # FIXME: we may want to throw a exception here sys.stderr.write(("MarkUpgrade() called on a non-upgrable pkg: "Attachment: signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil
--- End Message ---
--- Begin Message ---
- To: 542699-close@bugs.debian.org
- Subject: Bug#542699: fixed in python-apt 0.7.13.0
- From: Julian Andres Klode <jak@debian.org>
- Date: Fri, 21 Aug 2009 16:31:32 +0000
- Message-id: <E1MeX1Y-0006fL-1v@ries.debian.org>
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 542699@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 ---