summaryrefslogtreecommitdiffstats
path: root/urpm
Commit message (Collapse)AuthorAgeFilesLines
* - urpmiPascal Rigaux2008-11-141-5/+8
| | | | | | o in --auto, do not allow to install a package substring match (you can use -a to force it)
* create update_those_media() out of update_media()Pascal Rigaux2008-11-141-5/+11
| | | | | (to be used in urpmi.update)
* - inline _update_media__handle_some_flags()Pascal Rigaux2008-11-141-15/+16
| | | | | - create all_media_to_update() and use it
* use callback for progression of download when using "xml-info: always"Pascal Rigaux2008-11-141-1/+1
|
* fix commentPascal Rigaux2008-11-031-1/+1
|
* - urpmiPascal Rigaux2008-10-311-4/+2
| | | | | o revert --auto-update behaviour in case of media update failures (#45417)
* - 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)
* drop obsolete stuffPascal Rigaux2008-10-292-14/+0
| | | | | | | | | it should have been dropped in commit: : r14827 | rgarciasuarez | 2005-02-17 16:01:39 +0100 (Thu, 17 Feb 2005) | 2 lines : Remove obsoleted and broken --distrib-XXX command-line option
* - urpmiPascal Rigaux2008-10-281-2/+3
| | | | | | | | o fix "urpmi firefox mozilla-firefox-ext-google-toolbar ; urpme --auto-orphans mozilla-firefox-ext-google-toolbar" which must not remove firefox (cf #45054) (this is especially bad for DrakX/rpmsrate)
* - implement urpme --envPascal Rigaux2008-10-272-3/+3
| | | | | - handle urpme --auto-orphans --env
* simplify: instead of passing around {rpmdb}, set $urpm->{env_rpmdb} and use itPascal Rigaux2008-10-273-5/+3
|
* allow setting aria2-options in urpmi.cfgAnssi Hannula2008-10-241-1/+1
|
* - urpmi, gurpmiPascal Rigaux2008-10-231-4/+12
| | | | | o retry once on aria2 versioned-file download failure
* - urpmi, gurpmiPascal Rigaux2008-10-214-6/+25
| | | | | o allow "retry" on aria2 download failure
* create urpm::msg::ask_yes_or_no() to remove duplicationPascal Rigaux2008-10-211-0/+5
|
* 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/...)
* fix previous commit: we must not generated a 'start' event when we are donePascal Rigaux2008-10-211-1/+1
| | | | | with the list of files to download
* modify sync_aria2():Pascal Rigaux2008-10-211-18/+18
| | | | | | | | | | - prototype change: use $medium and $rel_files - remove from $rel_files things successfully downloaded (needed for next commit) - create a .metalink file even if we don't use mirrorlist (it reduces potential duplication in next commits) - don't pass specific mirrorlist aria2 options when not using mirrorlist
* - urpmi.update, urpmi.addmediaPascal Rigaux2008-10-211-0/+2
| | | | | | | | o exit on failing media instead of ignoring them (esp. for urpmi.addmedia --distrib). exceptions: "urpmi.update -a" and "urpmi.update --update" for backward compatibility
* create _parse_aria2_output() out of sync_aria2()Pascal Rigaux2008-10-211-4/+11
|
* create _error_msg() out of _error()Pascal Rigaux2008-10-211-2/+7
|
* cleanup: split _get_pubkey_and_descriptions() into _get_descriptions() and ↵Pascal Rigaux2008-10-201-4/+9
| | | | _may_get_pubkey()
* add missing para to _get_pubkey()Pascal Rigaux2008-10-201-1/+1
|
* make things more clear: do not "delete $medium->{key-ids}" to ensure we don'tPascal Rigaux2008-10-201-9/+7
| | | | | loose key-ids for media we don't update (??)
* - urpmi.updatePascal Rigaux2008-10-201-0/+5
| | | | | | | | | o fix --force-key (#45094) nb: 2 cases must be handled. When the medium is updated, we just need to ensure urpmi.cfg is written. But when it's not updated, we must do a special case
* handle {forcekey} elsewhere (for next commit)Pascal Rigaux2008-10-201-5/+7
|
* move some code into _get_pubkey()Pascal Rigaux2008-10-201-7/+14
| | | | | (for next commits)
* - urpmiPascal Rigaux2008-10-201-1/+1
| | | | | o fix --auto-update ignoring --media and default-media (#45097)
* $urpm->{logger_id} is unused:Pascal Rigaux2008-10-172-3/+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-172-1/+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)
* extract error from aria2 log instead of giving it rawPascal Rigaux2008-10-161-2/+2
|
* - urpmiPascal Rigaux2008-10-142-2/+8
| | | | | | o diskspace issues are now a fatal error (need perl-URPM 3.20) (no use going on with the other transactions)
* - library:Pascal Rigaux2008-10-141-1/+5
| | | | | o allow mdkapplet-upgrade-helper to force $MIRRORLIST distro version
* use aria2 even if nearest mirror is rsyncPascal Rigaux2008-10-141-1/+1
|
* add support for --clean in gurpmiThierry Vignaud2008-10-141-1/+1
|
* - urpmi.update, urpmi.addmedia, urpmi.removemedia:Pascal Rigaux2008-10-142-7/+7
| | | | | | | o do not check wether the media are valid, it allows "mv /etc/urpmi/urpmi.cfg.{backup,} ; urpmi.update -a" to work (nb: not equivalent with urpmi.addmedia, since pubkey will not be imported)
* - aria2:Pascal Rigaux2008-10-131-0/+1
| | | | | | o do not use --max-file-not-found=3 when downloading rpms (since rpms are "versioned")
* - gurpmi:Pascal Rigaux2008-10-071-6/+9
| | | | | | | o overall progress-bar, display the download speed, nicer looking - urpm::download::progress_text() is created out of urpm::download::sync_logger
* add --split-level and --split-length to gurpmiPascal Rigaux2008-10-071-1/+2
| | | | | (but only works as "--split-length=xx", not "--split-length xx")
* - urpmi:Pascal Rigaux2008-10-072-3/+19
| | | | | o fix displaying "bad signature" in non-utf8 (#44587)
* exit code 15 is already used for --expect-install, use exit code 16 for bad ↵Pascal Rigaux2008-10-071-1/+1
| | | | signature
* what mdkonline really want, is that gurpmi/gurpmi2 handles --replacefilesPascal Rigaux2008-10-061-1/+1
|
* - urpmi, library:Pascal Rigaux2008-10-062-0/+2
| | | | | | o handle --replacefiles, will be used by mdkonline (require perl-URPM 3.19)
* - urpmi, rpmdrake:Pascal Rigaux2008-10-061-1/+1
| | | | | | o nice exit code for "bad signature" fatal error. Fixes rpmdrake continuing on bad signature (#44575)
* export new_unrequested() (for future use in drakx (?))Pascal Rigaux2008-09-251-3/+3
|
* - aria2:Pascal Rigaux2008-09-231-0/+1
| | | | | o use --ftp-pasv (as suggested by aria2 developer)
* - urpmi.addmedia, urpmi.update:Pascal Rigaux2008-09-231-10/+18
| | | | | | o for remote media, instead of first checking reconfig.urpmi, try MD5SUM. If it fails try reconfig.urpmi