[Aptitude-devel] Bug#668912: aptitude marks random packages are manually installed.
mandyke at gmail.com
Wed Aug 15 05:34:41 UTC 2012
On 15 August 2012 13:30, Daniel Hartwig <mandyke at gmail.com> wrote:
> There seems to be a bug in aptdaemon, worker.py:
> def _mark_packages_for_upgrade(self, packages, resolver):
> """Mark packages for upgrade."""
> pkg.mark_install(False, True, pkg.is_auto_installed)
The third argument of mark_install is from_user, not sure whether
pkg.is_auto_installed is right to use there since this will mark all
upgrades as manually-installed. I see that python-apt has
mark_upgrade, which sets from_user to 'not pkg.is_auto_installed'.
If that is right though, then the xfce update applet should rather use
role-upgrade-system instead of -commit-packages.
More information about the Aptitude-devel