diff options
author | Thierry Vignaud <thierry.vignaud@gmail.com> | 2020-04-28 10:55:48 +0200 |
---|---|---|
committer | Thierry Vignaud <thierry.vignaud@gmail.com> | 2020-04-29 14:47:51 +0200 |
commit | 70942e1fef37d8661b0a0f4d4ed1612dc6574455 (patch) | |
tree | d58ba834b9ea48afade391a4cf1b6160b60f5828 /urpme | |
parent | 34c3f9d61ef86a46e3b774130fe3877f4ec0ea32 (diff) | |
download | urpmi-70942e1fef37d8661b0a0f4d4ed1612dc6574455.tar urpmi-70942e1fef37d8661b0a0f4d4ed1612dc6574455.tar.gz urpmi-70942e1fef37d8661b0a0f4d4ed1612dc6574455.tar.bz2 urpmi-70942e1fef37d8661b0a0f4d4ed1612dc6574455.tar.xz urpmi-70942e1fef37d8661b0a0f4d4ed1612dc6574455.zip |
silent rpm --version during installation/removal
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
Diffstat (limited to 'urpme')
0 files changed, 0 insertions, 0 deletions