summaryrefslogtreecommitdiffstats
path: root/urpm
Commit message (Collapse)AuthorAgeFilesLines
* prevent forking a useless shellThierry Vignaud2020-04-291-1/+4
| | | | as shown by previous commit
* silent rpm --version during installation/removalThierry Vignaud2020-04-291-2/+3
| | | | | | | | | | | | | | | | Calling "LC_ALL=C rpm --version" from urpm::install::install_logger() sometimes causes the following to be displayed when using --urpmi-root: "shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory" Typically, we run into: chdir("/") = 0 chroot("/home/tv/mga/pkgs/RPM/perl-URPM/mga7/") = 0 (...) clone() execve("/bin/sh", ["sh", "-c", "LC_ALL=C rpm --version"], ... getcwd("(unreachable)/", 4095) = 15 So just caches the rpm version prior to the first transaction and voila
* cpan_testers: fix a test with rpm < 4.13.0Thierry Vignaud2020-04-091-0/+2
| | | | | | | | It was failing for older versions of rpm since commit 32c4bc874e3f7fc99188bf045902b1018f38855a This fix the counting & adjust to missing pkg name when erasing with older rpms
* add support for --reinstallThierry Vignaud2020-03-052-1/+3
| | | | Needs perl-URPM-5.25 (it won't work with rpm < 4.12.x)
* bump copyrightThierry Vignaud2020-01-1725-26/+26
|
* Fix test for whether any 32-bit packages are installed.Martin Whitaker2019-10-211-1/+1
|
* When adding distrib media, enable 32-bit media if needed (mga#24438)Martin Whitaker2019-09-281-11/+23
|
* Ensure downloaded files are world-readable (mga#24636)Martin Whitaker2019-06-221-0/+7
| | | | | mgaapplet and urpm* commands run as a normal user need to be able to read the downloaded synthesis and info files.
* Ensure urpmi config and cache files are world-readable (mga#24636)Martin Whitaker2019-06-212-5/+26
| | | | | | | | | This is needed to allow mgaapplet and urpm* commands run as a normal user to work when run from a gdm-x-session, which sets the umask to 027. See also mga#9386 and mga#22262. We should perhaps take notice of the msec security level.
* On systems with 32-bit EFI, enable the Core 32bit media by default.Martin Whitaker2019-05-272-2/+23
|
* Don't enable 32-bit media by default on 64-bit systems (mga#24376)Martin Whitaker2019-05-251-2/+4
|
* fix _rpm_version() when rpm is translatedThierry Vignaud2018-09-191-1/+1
|
* document open_helper()/close_helper() signaturesThierry Vignaud2018-09-171-0/+14
|
* add support for verify callback when installingThierry Vignaud2018-09-141-0/+1
| | | | Resolves: mga#23531
* typo fix in docThierry Vignaud2017-10-041-1/+1
|
* use XML::LibXML::Parser's 'huge' optionThierry Vignaud2017-09-181-1/+1
| | | | | | | | | | this is needed b/c of eg: ruby-google-api-client-doc which filelist is 11mb. However this makes libxml2 to fail b/c XML_MAX_TEXT_LENGTH is 10mb: $ urpmf-fast iso-grk2.gml Entity: line 4014501: parser error : xmlSAX2Characters: huge text node sr/share/gems/doc/google-api-client-0.13.5/ri/Google/Apis/SqladminV1beta3/Import
* update perl-base first tooThierry Vignaud2017-09-181-1/+1
|
* simplify: use //= where appropirateThierry Vignaud2017-07-171-1/+1
|
* Update Mageia copyright statementsRémi Verschelde2017-04-2625-7/+42
|
* Make sure that urpmi.cfg is world-readable so that mgaapplet can read it ↵Frédéric Buclin2017-04-031-0/+4
| | | | (mga#9386)
* skip kernel-firmware-nonfree tooMartin Whitaker2016-11-121-1/+1
| | | | | | | | | ...when considering real kernels Thus preventing kernel-firmware-nonfree being falsely detected as an orphan package (mga#12361). It should be handled by generic orphan mechanism
* fix more Getopt::Long breakagesThierry Vignaud2016-10-151-1/+1
| | | | now testuite pass again after droping the "gnu_compat" option
* add 'no_ignore_case' to Getopt options (mga#17923)Shlomi Fish2016-07-111-1/+1
| | | | thus fixing t/superuser--orphans.t regressions
* adapt to aria2c-1.16+ output (mga#16500)Shlomi Fish2016-07-111-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>
* perl_checker cleanupThierry Vignaud2016-04-141-1/+1
|
* error callback can be simplified tooThierry Vignaud2016-04-141-2/+2
| | | | | which means we can also simplify URPM for not passing an extra paramater on the stack
* further simplifyThierry Vignaud2016-04-141-5/+6
|
* use new "elem" callbackThierry Vignaud2016-04-141-1/+4
| | | | need URPM >= 5.07
* unset LD_PRELOAD in chrootThierry Vignaud2016-01-241-0/+1
| | | | | thus fixing warnings when using eg: eatmydata (b/c of missing object in the chroot)
* Prefer http mirrors when using a mirrorlistAnssi Hannula2015-12-311-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 PODThierry Vignaud2015-10-092-2/+4
| | | | why isn't this catched by testsuite????
* fix urpm::bug_report (mga#16925)Thierry Vignaud2015-10-091-0/+1
| | | | breakage in commit ab62a489340294a8cf0f4960b8201b07f2e29bb3
* convert comments to PODThierry Vignaud2015-10-091-5/+30
|
* add basic POD for urpmi::parallelThierry Vignaud2015-10-091-0/+26
|
* drop useless __END__Thierry Vignaud2015-10-0916-16/+0
|
* add Mga copyrightThierry Vignaud2015-10-091-0/+2
|
* bump mga copyrightThierry Vignaud2015-09-045-5/+5
|
* fix urpm::parallelThierry Vignaud2015-09-041-0/+1
| | | | breakage in commit ab62a489340294a8cf0f4960b8201b07f2e29bb3
* help perl_checkerThierry Vignaud2015-09-041-0/+3
|
* perl_checker cleanupThierry Vignaud2015-09-041-1/+1
|
* help perl_checkerThierry Vignaud2015-09-042-2/+2
|
* fix Term::ReadKey warnings when redirectedThierry Vignaud2015-09-032-4/+8
|
* fix previous commit :-(Thierry Vignaud2015-09-031-0/+1
|
* drop very old CVS/SVN $Id tagsThierry Vignaud2015-09-0224-24/+0
|
* explain a little moreThierry Vignaud2015-08-281-0/+2
|
* convert comments to PODThierry Vignaud2015-08-281-28/+63
|
* describe a cople more functionsThierry Vignaud2015-08-281-0/+50
|
* fix using a proxy without an auth user (mga#11265)Thierry Vignaud2015-08-261-1/+1
|
* always display the right package name on errorsunknown2015-02-261-13/+2
| | | | | fixes mga#15032 and also simplify... needs URPM >= 5.04
* default to "unknown"Thierry Vignaud2015-02-061-1/+1
|