Thierry Vignaud > urpmi-7.8.3 > urpm::main_loop

Download:
urpmi-7.8.3.tgz

Dependencies

Annotate this POD

CPAN RT

New  2
Open  0
View/Report Bugs
Source   Latest Release: urpmi-7.31

NAME ^

urpm::main_loop - The install/remove main loop for urpm based programs (urpmi, gurpmi, rpmdrake, drakx)

SYNOPSIS ^

DESCRIPTION ^

run($urpm, $state, $something_was_to_be_done, $ask_unselect, $_requested, $callbacks)

Run the main urpm loop:

  • mount removable media if needed
  • split the work in smaller transactions
  • for each transaction:
    • prepare the transaction
    • download packages needed for this small transaction
    • verify packages
    • split package that should be installed instead of upgraded,
    • install source package only (whatever the user is root or not, but use rpm for that)
    • install/remove other packages
  • migrate the chrooted rpmdb if needed
  • display the final success/error message(s)

Warning: locking is left to callers...

COPYRIGHT ^

Copyright (C) 1999-2005 MandrakeSoft SA

Copyright (C) 2005-2010 Mandriva SA

Copyright (C) 2011-2012 Mageia

syntax highlighting: