| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
|
|
|
|
|
|
| |
This is needed for live upgrades, either using urpmi or mgaonline (mga#29364).
Two changes are needed:
- fix detecting rpm version
- fix converting rpmdb when not in a chroot
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
Previously, HTTP servers were preferred over everything, meaning that
HTTPS servers were never used. Now, HTTPS servers have an edge over
other protocols, but if another server is much closer geographically
than others, it will still be used. If so, HTTP (and FTPS) will have an
edge over FTP and RSYNC.
|
| |
|
| |
|
|
|
|
|
|
| |
Rationale:
- sqlite backend is supported since rpm-4.16
- bdb backend is deprecated in 4.16 & removed in 4.17 (really 4.16.90)
|
|
|
|
|
| |
The original name introduced in commit d8cf4a35e631ca6ca54c18d247a5283cbb9bfcc4
was misleading
|
|
|
|
|
|
|
|
| |
urpmi.addmedia --distrib --ignorearch allows to use --distrib to
create a chroot for a different architecture.
This is useful to build for armv5 or armv7 on the other one, and
to create chroots with qemu used to execute foreign binaries.
|
| |
|
|
|
|
|
|
|
| |
.. or for a CD/USB key
See mga#26564 comment 9:
https://bugs.mageia.org/show_bug.cgi?id=26564#c9
|
|
|
|
| |
as shown by previous commit
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
Needs perl-URPM-5.25 (it won't work with rpm < 4.12.x)
|
| |
|
| |
|
| |
|
|
|
|
|
| |
mgaapplet and urpm* commands run as a normal user need to be able
to read the downloaded synthesis and info files.
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
Resolves: mga#23531
|
| |
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
| |
|
| |
|
|
|
|
| |
(mga#9386)
|
|
|
|
|
|
|
|
|
| |
...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
|
|
|
|
| |
now testuite pass again after droping the "gnu_compat" option
|
|
|
|
| |
thus fixing t/superuser--orphans.t regressions
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
| |
|
|
|
|
|
| |
which means we can also simplify URPM for not passing an extra paramater
on the stack
|
| |
|
|
|
|
| |
need URPM >= 5.07
|
|
|
|
|
| |
thus fixing warnings when using eg: eatmydata (b/c of missing object in
the chroot)
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
why isn't this catched by testsuite????
|
|
|
|
| |
breakage in commit ab62a489340294a8cf0f4960b8201b07f2e29bb3
|
| |
|
| |
|
| |
|