summaryrefslogtreecommitdiffstats
path: root/urpm/main_loop.pm
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* cleanupPascal Rigaux2008-06-261-6/+7
|
* - urpmiPascal Rigaux2008-06-261-14/+3
| | | | | | | o display a message "Package foo is already installed" when asking "urpmi foo bar" and only installing bar (#41593) (requires perl-URPM 3.16)
* - urpmi:Pascal Rigaux2008-06-261-18/+27
| | | | | | o "missing file" and "bad rpms" errors are reported asap and are fatal errors unless the user wants to go on anyway (or --force)
* - urpmiPascal Rigaux2008-06-261-6/+6
| | | | | o fix displaying "files are missing" (regression introduced in 5.6)
* handle need_restart() rooted (not very useful, except for tests!)Pascal Rigaux2008-03-181-1/+1
|
* - urpmi:Pascal Rigaux2008-03-171-1/+6
| | | | | o tell the user to "restart system" when it is needed
* treat iso as non-removablePascal Rigaux2008-02-271-1/+1
|
* rename try_mounting_non_removable() into try_mounting_non_removables()Pascal Rigaux2008-02-271-1/+1
| | | | | and create try_mounting_non_removable()
* use blists to ensure we only mount media which will be usedPascal Rigaux2008-02-271-1/+1
|
* there is no reason copy_packages_of_removable_media should mount non removablePascal Rigaux2008-02-261-0/+2
| | | | | media
* - urpmiPascal Rigaux2008-02-251-0/+1
| | | | | | o fix "using one big transaction" that occurs when using --keep (#30198) (part of the fix is in perl-URPM 3.09)
* - urpmiPascal Rigaux2008-02-251-4/+4
| | | | | o --test: only display "Installation is possible" when it is the case (#29837)
* typo fixThierry Vignaud2008-02-251-1/+1
|
* (run) kill 'bad_rpms' & 'missing_files_summary' callbacks, reusingThierry Vignaud2008-02-251-7/+7
| | | | | existing unused 'message' callback
* display a "bad rpms" message instead of "files are missing" when the ↵Pascal Rigaux2008-02-241-3/+9
| | | | | | | | | | downloaded rpm is bad. this adds a new callback for rpmdrake: "bad_rpms" this modifies the API of urpm::get_pkgs::download_packages_of_distant_media ($error_sources is now { url => reason } instead of { id => url })
* - urpmiPascal Rigaux2008-01-181-0/+5
| | | | | | | | | o --install-src will succesfully installed src.rpm from /var/cache/urpmi/rpms/* (unless post-clean is 0) we could not do that by default because "urpmi --install-src" as user could not download the file
* do display computed transaction with --debug__do_not_install even if --debugPascal Rigaux2007-09-121-0/+7
| | | | | is not used