summaryrefslogtreecommitdiffstats
path: root/urpm/main_loop.pm
Commit message (Collapse)AuthorAgeFilesLines
* 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
* move cleaning of cachedir out of selected2list()Pascal Rigaux2007-09-111-1/+2
|
* fix using --debug__do_not_install with --envPascal Rigaux2007-09-051-2/+3
|
* add new urpmi option, only for debugging purpose: --debug__do_not_installPascal Rigaux2007-09-041-0/+2
|
* - urpmiPascal Rigaux2007-08-231-0/+1
| | | | | o new option --justdb (new perl-URPM 1.76)
* rename urpm::install::create_transaction() into build_transaction_set_()Pascal Rigaux2007-08-231-1/+1
| | | | | (to avoid confusion with $db->create_transaction from URPM.xs)
* (run) introduce "already_installed_or_not_installable" callback for GUIesThierry Vignaud2007-08-131-0/+1
|
* (run) forward callback_report_uninst callbackThierry Vignaud2007-08-131-0/+1
|
* drop unneeded svn:executablePascal Rigaux2007-08-121-0/+0
|
* - urpmiPascal Rigaux2007-08-111-0/+1
| | | | | o new option --replacepkgs (same as rpm --replacepkgs) (#16112)
* - urpmiPascal Rigaux2007-08-111-0/+1
| | | | | o fix --quiet (regression introduced in 4.9.28)
* - urpmiPascal Rigaux2007-08-091-0/+284
o move some code to new module urpm::main_loop to share it with rpmdrake