Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | adapt to aria2c-1.16+ output (mga#16500) | Shlomi Fish | 2016-07-11 | 1 | -3/+24 |
| | | | | | | | | | | | | | | | | aria2c > 1.14 changed the output of the progress download string it's no longer what follows: "[#1 SIZE:176.0KiB/2.5MiB(6%) CN:3 SPD:256.22KiBs ETA:09s]" but here is the new one from aria2c 1.16 and beyond: "[#2c8dae 496KiB/830KiB(59%) CN:1 DL:84KiB ETA:3s]" So the old parser no longer works... The string parser has been rewritten by Shlomi Fish with use of multiline mode and comments for better readability, should aria2c progress download string change again Dug & fixed by Giuseppe Ghibò <ghibomgx@gmail.com> and Shlomi Fish <shlomif@shlomifish.org> | ||||
* | Prefer http mirrors when using a mirrorlist | Anssi Hannula | 2016-07-11 | 1 | -1/+3 |
| | | | | | | | | | | Sort http mirrors to the beginning of the mirror list. This avoids an rsync mirror being selected as the mirror sometimes, which causes the preferred aria2 downloader from not being used. This also has the effect that in practice aria2 will only be given http mirrors. If this causes issues, the sorting code can be changed to reverse sort with the presence of "rsync://" instead. | ||||
* | fix using a proxy without an auth user (mga#11265) | Thierry Vignaud | 2015-08-27 | 1 | -1/+1 |
| | |||||
* | always display the right package name on errors | unknown | 2015-02-26 | 1 | -13/+2 |
| | | | | | fixes mga#15032 and also simplify... needs URPM >= 5.04 | ||||
* | default to "unknown" | Thierry Vignaud | 2015-02-06 | 1 | -1/+1 |
| | |||||
* | Don't give a wrong package name when it is unknown in a callback (mga#15032) | Pascal Terjan | 2015-02-05 | 1 | -2/+12 |
| | |||||
* | s/suggests/recommends/ | Thierry Vignaud | 2014-09-07 | 1 | -2/+2 |
| | |||||
* | s/suggested/recommended/ | Thierry Vignaud | 2014-09-07 | 2 | -3/+3 |
| | |||||
* | adapt to URPM-5.00 | Thierry Vignaud | 2014-09-07 | 2 | -2/+2 |
| | |||||
* | typo fix | Thierry Vignaud | 2014-09-07 | 1 | -1/+1 |
| | |||||
* | rename '--suggests' option as '--recommends' | Thierry Vignaud | 2014-09-07 | 1 | -1/+5 |
| | |||||
* | add some missing methods, allows to do urpmf --qf '%sourcerpm:%recommends' | Thierry Vignaud | 2014-09-07 | 1 | -0/+1 |
| | |||||
* | use ->recommends_nosense() instead of suggests"() | Thierry Vignaud | 2014-09-07 | 2 | -4/+4 |
| | | | | | this is the new method name (even if compatibility still works). needs a new URPM. | ||||
* | rename 'allow-suggests' as 'allow-recommends' | Thierry Vignaud | 2014-09-07 | 1 | -3/+6 |
| | | | | but keep an alias (with a warning) for compatibility | ||||
* | rename 'no-suggests' option as 'no-recommends' | Thierry Vignaud | 2014-09-07 | 2 | -5/+13 |
| | | | | keep --no-suggests but with a warning | ||||
* | rename 'no_suggests' parameter as 'no_recommends' | Thierry Vignaud | 2014-09-05 | 1 | -1/+1 |
| | |||||
* | fix retrieving rpm version with RCs | Thierry Vignaud | 2014-08-27 | 1 | -1/+1 |
| | |||||
* | fix some warnings with perl 5.20 | Pascal Terjan | 2014-06-16 | 1 | -2/+2 |
| | |||||
* | add some missing methods, allows to do urpmf --qf '%sourcerpm:%requires' | Pascal Terjan | 2014-05-31 | 1 | -0/+5 |
| | |||||
* | Use /proc/self/mountinfo for ro filesystem checks mga#11319 | Colin Guthrie | 2013-11-28 | 1 | -2/+7 |
| | |||||
* | add support for --deploops option | Thierry Vignaud | 2013-11-05 | 3 | -1/+3 |
| | |||||
* | download: fix parsing download progress with rsync >= 3.10 | Olivier Blin | 2013-10-15 | 1 | -1/+1 |
| | | | | | | | | | | | | | rsync 3.10 now defaults to human readable output, with sizes being printed with a separator between group of 3 digits. This broke our download progress parser. We can fix this by using the --no-human-readable command line option, to get the old rsync progress output format. This option already existed in older rsync versions (tried in Mageia 2), so this change should be safe to include in backports of urpmi to older distributions. | ||||
* | adapt to perl-5.18's random hash keys ordering | Thierry Vignaud | 2013-10-04 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | | | (translate_why_removed_one) ensure we got the right reason (testsuite) adapt to new URPM predictible behaviour it was previously relying on the following fixed hash order: $ perl -MData::Dumper -e 'warn Dumper [ keys {'rr1', 'rr1', 'rr2', 'rr2'} ]; \ warn Dumper [ keys {'bb1', 'bb1', 'bb2', 'bb2-1'} ]' $VAR1 = [ 'rr2', 'rr1' ]; $VAR1 = [ 'bb1', 'bb2' ]; | ||||
* | prevent removing orphan kernels if we failed to detect running kernel version | Thierry Vignaud | 2013-10-04 | 1 | -1/+5 |
| | | | | (eg: running testsuite in a chroot) | ||||
* | revert fix for mga#10254 in previous release (mga#10335) | Thierry Vignaud | 2013-05-30 | 1 | -1/+1 |
| | | | | | | | the bug was actually in media.cfg basically reverting commit r8361 on 2013-05-24 (was: "fix wrongly enabling backports/testing for tainted/nonfree (mga#10254)") | ||||
* | prevent mga#10254 bug to ever happen again | Thierry Vignaud | 2013-05-24 | 1 | -0/+1 |
| | |||||
* | fix wrongly enabling backports/testing for tainted/nonfree (mga#10254) | Thierry Vignaud | 2013-05-24 | 1 | -1/+1 |
| | | | | (when such packages are already installed) | ||||
* | library: ensure priority updates are installed in a single transaction. | Colin Guthrie | 2013-05-19 | 1 | -0/+1 |
| | | | | | | | | | | | | | | This fix is needed in cases where rpm's libdb changes. If the priority updates happen to be installed in more than one transaction, the %post script in rpm which deletes the old index files (/var/lib/rpm/__db.*) may happen at the end of the first of those transactions. This causes the indexes to be regenerated by the *old* db version and causes the second transaction to fail. By ensuring the priority updates are handled in a single transaction, the indexes will be recreated after the urpmi restart and will thus use the correct, new libdb to create the indexes. Patch and fix from Thierry Vignaud | ||||
* | really auto enable tainted media if needed when adding distrib media | Thierry Vignaud | 2013-05-17 | 1 | -1/+1 |
| | |||||
* | auto enable nonfree/taitned media if needed when adding distrib media | Thierry Vignaud | 2013-05-17 | 1 | -3/+17 |
| | |||||
* | (is_media_to_add_by_default) split it out of add_distrib_media() | Thierry Vignaud | 2013-05-17 | 1 | -8/+15 |
| | | | | (needed for next commit) | ||||
* | enable to see if nonfree/tained packages are installed (mga#8368, #8379 & #9758) | Thierry Vignaud | 2013-05-17 | 1 | -0/+21 |
| | |||||
* | fix leaving read locks on rpmdb (mga#9248) | Thierry Vignaud | 2013-04-20 | 1 | -0/+1 |
| | | | | | regression introduced in commit r7280 on Feb 5 2013: "(install_logger) unify with callback_uninst(), thus fixing counting for erasures" | ||||
* | fix package count when a package has a %pretrans scriptlet | Thierry Vignaud | 2013-04-01 | 1 | -4/+2 |
| | | | | | | | | | | | | | | | | (spot by Colin on installing a minimal system with urpmi) callback_open got called one too much (it got called twice for first package which is actually filesystem), thus we bump the index one too much. the call chain is: rpmtsRun() -> runTransScripts() -> rpmteProcess() which says: /* Dont bother opening for elements without pre/posttrans scripts */ But since we now have package ('filesystem') with %pretrans due to /usr migration, it goes further and calls rpmteOpen()->rpmteFDHeader() which notifys us about a package opening in order to get its file descriptor. | ||||
* | display exceptions that happened while downloading (mga#9529) | Thierry Vignaud | 2013-03-26 | 1 | -0/+1 |
| | |||||
* | document 'post_download' callback too | Thierry Vignaud | 2013-03-21 | 1 | -0/+8 |
| | |||||
* | note that urpm::util is a subset of MDK::Common | Thierry Vignaud | 2013-03-21 | 1 | -0/+2 |
| | |||||
* | kill unused return values | Thierry Vignaud | 2013-03-21 | 1 | -2/+0 |
| | |||||
* | previous commit enables to further simplify | Thierry Vignaud | 2013-03-21 | 1 | -1/+1 |
| | |||||
* | simplify, let mount finds the loop device | Thierry Vignaud | 2013-03-21 | 2 | -20/+1 |
| | |||||
* | treat formatList like others... | Thierry Vignaud | 2013-03-21 | 2 | -2/+3 |
| | |||||
* | simplify | Thierry Vignaud | 2013-03-21 | 1 | -1/+1 |
| | |||||
* | difference2 && untaint are not neeeded | Thierry Vignaud | 2013-03-21 | 1 | -1/+1 |
| | |||||
* | only a couple func really are needed | Thierry Vignaud | 2013-03-21 | 19 | -19/+19 |
| | |||||
* | drop 'callback_report_uninst' | Thierry Vignaud | 2013-03-16 | 2 | -6/+2 |
| | | | | rationale: 'callback_uninst' now enables to get erasure progress | ||||
* | fix lookup deps of updates in other media when using --update | Thierry Vignaud | 2013-03-16 | 1 | -4/+4 |
| | | | | | | | reverting commit r1931 from 2011-09-14: "(configure,_auto_update_media,parse_media,update_media) fix (g)urpmi --auto-select --update defaulting to all media when there're no update media (#1024)" | ||||
* | really enable callers to pass their own callback for erasure progress | Thierry Vignaud | 2013-03-16 | 2 | -1/+4 |
| | |||||
* | simplify | Thierry Vignaud | 2013-03-16 | 1 | -4/+1 |
| | |||||
* | document trans_log parameters | Thierry Vignaud | 2013-03-16 | 1 | -1/+1 |
| | |||||
* | hint @URPM | Thierry Vignaud | 2013-03-16 | 2 | -1/+5 |
| |