On Thu, Aug 20, 2009 at 10:44:19PM +0200, Sebastian Heinlein wrote:
> Package: python-apt
> Version: 0.7.12.1
> Severity: important
>
> The apt.Package.markUpgrade() methods marks a package as not
> automatically
> installed:
>
> === 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)
You are missing a 'not' here, as from_user should be "not auto". Anyway, fixed
in revision 253 of the debian-sid branch which will be uploaded tomorrow as
0.7.12.2.
python-apt (0.7.12.2) UNRELEASED; urgency=low
[ Michael Vogt ]
* apt/package.py:
- add "recommends" property
[ 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)
-- Julian Andres Klode <jak@debian.org> Thu, 20 Aug 2009 23:13:00 +0200
--
Julian Andres Klode - Debian Developer, Ubuntu Member
See http://wiki.debian.org/JulianAndresKlode and http://jak-linux.org/.
Attachment:
pgpTImgtghmqz.pgp
Description: PGP signature