Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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 |
| | |||||
* | note about {readmes} | Thierry Vignaud | 2013-03-16 | 1 | -0/+1 |
| | |||||
* | enable callers to pass their own callbacks for erasure progress & errors | Thierry Vignaud | 2013-02-25 | 2 | -2/+5 |
| | | | | eg: for rpmdrake/gurpm/drakx | ||||
* | (configure) simplify | Thierry Vignaud | 2013-02-25 | 1 | -3/+3 |
| | |||||
* | (run) document it | Thierry Vignaud | 2013-02-25 | 1 | -0/+88 |
| | |||||
* | sync doc with code | Thierry Vignaud | 2013-02-25 | 1 | -1/+1 |
| | |||||
* | (install) list two more parameters | Thierry Vignaud | 2013-02-25 | 1 | -0/+1 |
| | |||||
* | typo fix (Rafael Garcia-Suarez) | Thierry Vignaud | 2013-02-11 | 1 | -1/+1 |
| | |||||
* | add basic support for --downgrade (mga#6655) | Thierry Vignaud | 2013-02-09 | 1 | -0/+1 |
| | | | | needs new URPM | ||||
* | (install_logger) keep a separate counter for erasures | Thierry Vignaud | 2013-02-09 | 2 | -34/+9 |
| | | | | | | | | | | only initialize $total_pkg: - when starting a new transaction - or on first erasure in transaction (_compute_pkg_total) kill it (no more needed) adjust testsuite accordingly | ||||
* | bump copyright | Thierry Vignaud | 2013-02-05 | 5 | -5/+5 |
| | |||||
* | (_compute_pkg_total) introduce it in order to count total elements | Thierry Vignaud | 2013-02-05 | 1 | -1/+30 |
| | | | | (run) compute exact total of installed/removed packages | ||||
* | (install_logger) unify with callback_uninst(), thus fixing counting for | Thierry Vignaud | 2013-02-05 | 1 | -29/+17 |
| | | | | | | | | | | erasures (callback_uninst) restore quiet behavior when not in verbose mode (install) temporary set $urpm->{trans} adapt testsuite | ||||
* | (_schedule_packages) localize a variable | Thierry Vignaud | 2013-02-05 | 1 | -3/+4 |
| | |||||
* | typo fix | Thierry Vignaud | 2013-02-05 | 1 | -1/+1 |
| | |||||
* | handle callback_error when installing packages (scripts & I/O errors) | Thierry Vignaud | 2013-02-03 | 1 | -0/+6 |
| | |||||
* | (callback_uninst) display erasure progress | Thierry Vignaud | 2013-02-03 | 1 | -1/+25 |
| | | | | | | inspirated from install_logger() adjust testsuite accordingly | ||||
* | convert somme comments into POD | Thierry Vignaud | 2013-01-27 | 1 | -63/+215 |
| | |||||
* | fix retrieving rpm version with stable rpm | Thierry Vignaud | 2012-12-18 | 1 | -1/+1 |
| | |||||
* | fix retrieving rpm version with beta versions | Thierry Vignaud | 2012-12-17 | 1 | -1/+1 |
| | |||||
* | (install) do not show empty information from README* with --justdb | Thierry Vignaud | 2012-12-15 | 1 | -1/+1 |
| | |||||
* | s/mdv/mga/ | Thierry Vignaud | 2012-12-13 | 1 | -3/+3 |
| |