summaryrefslogtreecommitdiffstats
path: root/urpm/main_loop.pm
Commit message (Collapse)AuthorAgeFilesLines
* (run) add infrastructure so that GUIes can offer not to ask anymore about ↵Thierry Vignaud2011-09-191-1/+2
| | | | missing or bad packages
* Synthesized commit during git-svn import combining previous Mandriva history ↵Mageia SVN-Git Migration2011-09-131-1/+1
| | | | | | | | | | | | with Magiea. This commit consitsts of the following subversion commits: ------------------------------------------------------------------------ r1928 | dmorgan | 2011-09-13 21:44:28 +0100 (Tue, 13 Sep 2011) | 1 line Import urpmi ------------------------------------------------------------------------
* update copyright noticesPer Øyvind Karlsen2010-11-211-1/+1
|
* (run) reindent (pixel didn't wanted it at the time b/c it added oneThierry Vignaud2010-02-011-295/+295
| | | | layer in history but it's more readable that way...)
* - use a anonymous subroutine, so perl will rebind variables declared outside ↵Michael Scherer2010-01-221-4/+6
| | | | | | | of the subroutine. This bug prevent rpmdrake from installing two set of packages ( bug #54842 )
* update copyrightThierry Vignaud2009-11-241-1/+1
|
* (handle_need_restart) do not advice to reboot when inside a chrootThierry Vignaud2009-11-241-0/+1
|
* (handle_need_restart) split it out of run() for readabilityThierry Vignaud2009-11-241-8/+18
| | | | (it has kept growing and it's needed for next commit anyway)
* (run) perl_checker cleanupThierry Vignaud2009-11-241-1/+1
|
* allow to define the cache directory for RPMs when setting --download-allChristophe Fergeau2009-10-151-1/+6
|
* in download-all mode, download packages one by oneChristophe Fergeau2009-10-151-3/+10
| | | | | This is to make sure that already downloaded packages aren't downloaded again if urpmi were to restart for whatever reason
* use references to return 2 distinct listsChristophe Fergeau2009-10-151-9/+8
|
* perl_checker cleanupsThierry Vignaud2009-10-151-3/+3
|
* don't call exit in main_loop or titi won't be so happy ;)Christophe Fergeau2009-10-141-1/+1
|
* perl_checker fixesChristophe Fergeau2009-10-131-1/+1
|
* check the FS has enough space before trying to download all packagesChristophe Fergeau2009-10-131-2/+11
|
* download all packages firstChristophe Fergeau2009-10-131-33/+49
|
* wrap one forgotten print in $urpm->{print}Christophe Fergeau2009-08-311-1/+1
|
* fix display of installation errorsChristophe Fergeau2009-08-171-1/+1
|
* (install,run) prevent garbaging text installer (#50776)Thierry Vignaud2009-08-111-7/+7
| | | | | | rationale: all prints in transaction/installation code now go through a callback that redirects the output at install time
* (run) use urpmi log API for the transaction failed message instead ofThierry Vignaud2009-04-241-1/+1
| | | | | | printing it on the console so that installer can save each error with each transaction log instead of only having a summary at end
* silently update the string "You may want to..." to "You may need to..." so thatThierry Vignaud2009-04-151-1/+4
| | | | | translations do not got fuzzy-ed just before the release
* String fixes from John RyeChristophe Fergeau2009-04-021-2/+2
|
* (run) enable installer to cancel installationThierry Vignaud2009-03-311-0/+3
|
* (install) add more callbacks for installerThierry Vignaud2009-03-031-0/+3
|
* (run) no need to clean rpmdb if we're not going to use data extracted from itThierry Vignaud2009-01-301-3/+3
|
* - urpmiPascal Rigaux2008-12-151-2/+2
| | | | | o --auto: do not prompt for "retry" on aria2 download failure
* - urpmiPascal Rigaux2008-10-291-23/+32
| | | | | | | | | o in --auto, do display error message when rpms are missing more precisely, it displays a nicer error message, which is translated. it also displays "You may want to update your urpmi database." (which was not displayed in --auto)
* simplify: instead of passing around {rpmdb}, set $urpm->{env_rpmdb} and use itPascal Rigaux2008-10-271-1/+0
|
* - urpmi, gurpmiPascal Rigaux2008-10-211-0/+7
| | | | | o allow "retry" on aria2 download failure
* do not call {ask_yes_or_no} callback with explicit "(y/N)" otherwise it isPascal Rigaux2008-10-211-4/+4
| | | | | displayed in GUIs (gurpmi/rpmdrake/...)
* $urpm->{logger_id} is unused:Pascal Rigaux2008-10-171-1/+0
| | | | | | | | - it has been "replaced" by $urpm->{logger_count} (r15626 | rgarciasuarez | 2006-03-20) - it was still used before when urpmi was forking on multiple transactions (dropped in urpmi 4.9.0, Nov 2006)
* remove code duplication,Pascal Rigaux2008-10-171-54/+20
| | | | | this fixes displaying "raw_message" errors in case of --nodeps/--force
* move things for next commitPascal Rigaux2008-10-171-1/+2
|
* be safer, only main_loop (partially) handles "raw_message" errorsPascal Rigaux2008-10-171-0/+1
|
* final "Installation failed:" error message is empty when a transaction failedPascal Rigaux2008-10-171-7/+15
| | | | | and a "Try installation with..." question was prompted (#44960)
* - urpmiPascal Rigaux2008-10-141-2/+7
| | | | | | o diskspace issues are now a fatal error (need perl-URPM 3.20) (no use going on with the other transactions)
* exit code 15 is already used for --expect-install, use exit code 16 for bad ↵Pascal Rigaux2008-10-071-1/+1
| | | | signature
* - urpmi, rpmdrake:Pascal Rigaux2008-10-061-1/+1
| | | | | | o nice exit code for "bad signature" fatal error. Fixes rpmdrake continuing on bad signature (#44575)
* - urpmiPascal Rigaux2008-09-091-0/+7
| | | | | | o after installing in chroot, migrate back rpmdb db version to one compatible with the rpm in the chroot
* clean __db* after computing need_restart (in chroot)Pascal Rigaux2008-09-091-0/+3
|
* this message is parsed in urpm::parallel tooPascal Rigaux2008-07-101-0/+1
|
* goal: get rid of $list which must be used together with $urpm->{media}, and ↵Pascal Rigaux2008-07-081-7/+7
| | | | | | | | | | | | | | use $blists instead - create urpm::get_pkgs::selected2local_and_blists(), which is similar to selected2list(), but returns a $blists - the following functions have been modified to use a $blists instead of $list: urpm::cdrom::copy_packages_of_removable_media() urpm::install::prepare_transaction() urpm::removable::try_mounting_non_cdroms() urpm::get_pkgs::download_packages_of_distant_media() - adapt code to use $blists
* urpm::install::prepare_transaction() now returns the computed values instead ofPascal Rigaux2008-07-081-5/+3
| | | | | modifying the parameters
* rename %transaction_sources into $transaction_sources (for future commit)Pascal Rigaux2008-07-081-16/+17
|
* remove obsolete urpm::removable::copy_packages_of_removable_media(), callPascal Rigaux2008-07-081-1/+2
| | | | | urpm::cdrom::copy_packages_of_removable_media() directly
* simplifyPascal Rigaux2008-07-081-1/+1
|
* o handle "unrequested orphans" (similar to "deborphan")Pascal Rigaux2008-07-071-0/+4
|
* handle transaction set with only removed packagesPascal Rigaux2008-07-031-2/+3
| | | | | (for upcoming orphans handling)
* factorize options handlingPascal Rigaux2008-07-031-7/+1
|