[Aptitude-devel] Bug#613775: MarkInstall calls with FromUser set to false

Daniel Hartwig mandyke at gmail.com
Sat Sep 15 03:21:13 BST 2012


There are two final cases I neglected to include:

g. requesting to install a package set; and
h. requesting to upgrade a package set.

For now these also have FromUser=true, although as mentioned in [1] this
may not always be desired (to respect holds, etc.).  For installs at
least MarkAuto must be used to make sure that packages which are
installed are not left marked auto-installed as a side-effect of
FromUser=false.

Either that or continue using FromUser=true and use IsInstallOk on each
package before deciding to call MarkInstall.

This issue does also effect all uses of MarkDelete.

[1] http://bugs.debian.org/452589



More information about the Aptitude-devel mailing list