urpm::orphans - The orphan management code for urpmi
Return the path of the unrequested list file.
Mark some packages as explicitely requested (usually because they were manually installed).
We don't want to check orphans on every auto-select. We do it only after many packages have been added.
Returns whether we should look for orphans depending on a threshold.
This function computes wether removing $toremove packages will create unrequested orphans.
It does not return the new orphans since "whatsuggests" is not available,
If it detects there are new orphans, _all_unrequested_orphans() must be used to have the list of the orphans
Compute the list of packages that will be unrequested and could potently be removed.
Returns the list of unrequested packages (aka orphans).
It is quite fast. the slow part is the creation of $installed_packages_packed (using installed_packages_packed())
Like get_now_orphans_msg() but more suited for GUIes, it return message about orphan packages.
Used by rpmdrake.
Similar to get_now_orphans_gui_msg() but more suited for CLI, it return message about orphan packages.
Add leading spaces to the string and return it.
Copyright (C) 2008-2010 Mandriva SA
Copyright (C) 2011-2012 Mageia