The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

urpm::orphans - The orphan management code for urpmi

SYNOPSIS

DESCRIPTION

unrequested_list__file($urpm)

Return the path of the unrequested list file.

mark_as_requested($urpm, $state, $test)

Mark some packages as explicitly requested (usually because they were manually installed).

check_unrequested_orphans_after_auto_select($urpm)

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.

unrequested_orphans_after_remove($urpm, $toremove)

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_future_unrequested_orphans($urpm, $state)

Compute the list of packages that will be unrequested and could potently be removed.

get_orphans($urpm)

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())

get_now_orphans_gui_msg($urpm)

Like get_now_orphans_msg() but more suited for GUIes, it return message about orphan packages.

Used by rpmdrake.

get_now_orphans_msg($urpm)

Similar to get_now_orphans_gui_msg() but more suited for CLI, it return message about orphan packages.

add_leading_spaces($string)

Add leading spaces to the string and return it.

COPYRIGHT

Copyright (C) 2008-2010 Mandriva SA

Copyright (C) 2011-2013 Mageia