You are not logged in.

#1 2023-08-19 14:03:28

lester29
Member
Registered: 2022-10-31
Posts: 8

Cannot upgrade Arch Linux Docker container

Hello,

I can't upgrade system in the Arch Linux docker container. I tried both official images tagged as base and base-devel.

Thank you in advance for any useful advices

Logs:

archlinux:base fresh container

[root@b1488bfbaeb8 /]# pacman -Syu
:: Synchronizing package databases...
 core downloading...
 extra downloading...
:: Starting full system upgrade...
resolving dependencies...
looking for conflicting packages...

Package (30)                  Old Version  New Version  Net Change  Download Size

core/audit                    3.1.1-1      3.1.2-1        0.01 MiB       0.38 MiB
core/ca-certificates-mozilla  3.91-1       3.92-1         0.04 MiB       0.37 MiB
core/curl                     8.2.0-2      8.2.1-1        0.00 MiB       1.17 MiB
core/device-mapper            2.03.21-1    2.03.22-2      0.00 MiB       0.27 MiB
core/file                     5.44-3       5.45-1         0.25 MiB       0.39 MiB
core/gcc-libs                 13.1.1-2     13.2.1-3       0.02 MiB      35.35 MiB
core/glibc                    2.37-3       2.38-3         1.84 MiB       9.92 MiB
core/gmp                      6.2.1-2      6.3.0-1        0.02 MiB       0.43 MiB
core/gnutls                   3.8.0-1      3.8.1-1        0.11 MiB       2.75 MiB
core/kbd                      2.6.1-1      2.6.2-1        0.01 MiB       1.25 MiB
core/less                     1:633-1      1:643-1        0.00 MiB       0.13 MiB
core/libarchive               3.7.0-2      3.7.1-1        0.00 MiB       0.52 MiB
core/libbpf                   1.2.0-1      1.2.2-1        0.00 MiB       0.23 MiB
core/libelf                   0.189-1      0.189-3        0.00 MiB       0.54 MiB
core/libldap                  2.6.4-2      2.6.6-1        0.00 MiB       0.27 MiB
core/libnftnl                 1.2.5-1      1.2.6-1        0.00 MiB       0.07 MiB
core/libsecret                0.20.5-2     0.21.0-1      -0.02 MiB       0.18 MiB
extra/libsysprof-capture      3.48.0-2     3.48.0-4       0.00 MiB       0.04 MiB
core/libxml2                  2.11.4-1     2.11.5-1       0.00 MiB       0.82 MiB
core/licenses                 20220125-2   20230729-1     0.00 MiB       0.07 MiB
core/linux-api-headers        6.3-1        6.4-1          0.03 MiB       1.20 MiB
core/mpfr                     4.2.0.p9-1   4.2.0.p12-3    0.00 MiB       0.42 MiB
core/openssl                  3.1.1-1      3.1.2-1       -0.75 MiB       4.51 MiB
core/systemd                  253.7-1      254.1-1        0.91 MiB       7.62 MiB
core/systemd-libs             253.7-1      254.1-1        0.13 MiB       1.06 MiB
core/systemd-sysvcompat       253.7-1      254.1-1        0.00 MiB       0.01 MiB
core/tar                      1.34-2       1.35-1        -0.07 MiB       0.75 MiB
core/util-linux               2.39.1-1     2.39.2-1       0.28 MiB       2.71 MiB
core/util-linux-libs          2.39.1-1     2.39.2-1       0.00 MiB       0.43 MiB
core/xz                       5.4.3-1      5.4.4-1        0.03 MiB       0.60 MiB

Total Download Size:    74.44 MiB
Total Installed Size:  296.32 MiB
Net Upgrade Size:        2.86 MiB

:: Proceed with installation? [Y/n]
:: Retrieving packages...
 gcc-libs-13.2.1-3-x86_64 downloading...
 glibc-2.38-3-x86_64 downloading...
 systemd-254.1-1-x86_64 downloading...
 openssl-3.1.2-1-x86_64 downloading...
 gnutls-3.8.1-1-x86_64 downloading...
 util-linux-2.39.2-1-x86_64 downloading...
 kbd-2.6.2-1-x86_64 downloading...
 linux-api-headers-6.4-1-any downloading...
 curl-8.2.1-1-x86_64 downloading...
 systemd-libs-254.1-1-x86_64 downloading...
 libxml2-2.11.5-1-x86_64 downloading...
 tar-1.35-1-x86_64 downloading...
 xz-5.4.4-1-x86_64 downloading...
 libelf-0.189-3-x86_64 downloading...
 libarchive-3.7.1-1-x86_64 downloading...
 util-linux-libs-2.39.2-1-x86_64 downloading...
 gmp-6.3.0-1-x86_64 downloading...
 mpfr-4.2.0.p12-3-x86_64 downloading...
 file-5.45-1-x86_64 downloading...
 audit-3.1.2-1-x86_64 downloading...
 ca-certificates-mozilla-3.92-1-x86_64 downloading...
 libldap-2.6.6-1-x86_64 downloading...
 device-mapper-2.03.22-2-x86_64 downloading...
 libbpf-1.2.2-1-x86_64 downloading...
 libsecret-0.21.0-1-x86_64 downloading...
 less-1:643-1-x86_64 downloading...
 libnftnl-1.2.6-1-x86_64 downloading...
 licenses-20230729-1-any downloading...
 libsysprof-capture-3.48.0-4-x86_64 downloading...
 systemd-sysvcompat-254.1-1-x86_64 downloading...
checking keyring...
checking package integrity...
loading package files...
checking for file conflicts...
:: Processing package changes...
upgrading linux-api-headers...
error: could not remove database entry linux-api-headers-6.3-1
upgrading glibc...
error: could not remove database entry glibc-2.37-3
Generating locales...
Generation complete.
upgrading openssl...
error: could not remove database entry openssl-3.1.1-1
upgrading gcc-libs...
error: could not remove database entry gcc-libs-13.1.1-2
upgrading libldap...
error: could not remove database entry libldap-2.6.4-2
upgrading util-linux-libs...
error: could not remove database entry util-linux-libs-2.39.1-1
upgrading audit...
error: could not remove database entry audit-3.1.1-1
upgrading gmp...
error: could not remove database entry gmp-6.2.1-2
upgrading xz...
error: could not remove database entry xz-5.4.3-1
upgrading systemd-libs...
error: could not remove database entry systemd-libs-253.7-1
upgrading ca-certificates-mozilla...
error: could not remove database entry ca-certificates-mozilla-3.91-1
upgrading curl...
error: could not remove database entry curl-8.2.0-2
upgrading device-mapper...
error: could not remove database entry device-mapper-2.03.21-1
upgrading file...
error: could not remove database entry file-5.44-3
upgrading gnutls...
error: could not remove database entry gnutls-3.8.0-1
upgrading kbd...
error: could not remove database entry kbd-2.6.1-1
upgrading less...
error: could not remove database entry less-1:633-1
upgrading libarchive...
error: could not remove database entry libarchive-3.7.0-2
upgrading libelf...
error: could not remove database entry libelf-0.189-1
upgrading libbpf...
error: could not remove database entry libbpf-1.2.0-1
upgrading libnftnl...
error: could not remove database entry libnftnl-1.2.5-1
upgrading libsysprof-capture...
error: could not remove database entry libsysprof-capture-3.48.0-2
upgrading libsecret...
error: could not remove database entry libsecret-0.20.5-2
upgrading libxml2...
error: could not remove database entry libxml2-2.11.4-1
upgrading licenses...
error: could not remove database entry licenses-20220125-2
upgrading mpfr...
error: could not remove database entry mpfr-4.2.0.p9-1
upgrading util-linux...
error: could not remove database entry util-linux-2.39.1-1
upgrading systemd...
error: could not remove database entry systemd-253.7-1
Creating group 'systemd-journal-upload' with GID 974.
Creating user 'systemd-journal-upload' (systemd Journal Upload) with UID 974 and GID 974.
upgrading systemd-sysvcompat...
error: could not remove database entry systemd-sysvcompat-253.7-1
upgrading tar...
error: could not remove database entry tar-1.34-2
:: Running post-transaction hooks...
( 1/10) Creating system user accounts...
( 2/10) Updating journal message catalog...
( 3/10) Reloading system manager configuration...
  Skipped: Current root is not booted.
( 4/10) Updating udev hardware database...
( 5/10) Applying kernel sysctl settings...
  Skipped: Current root is not booted.
( 6/10) Creating temporary files...
/usr/lib/tmpfiles.d/journal-nocow.conf:26: Failed to resolve specifier: uninitialized /etc/ detected, skipping.
All rules containing unresolvable specifiers will be skipped.
( 7/10) Reloading device manager configuration...
  Skipped: Device manager is not running.
( 8/10) Arming ConditionNeedsUpdate...
( 9/10) Rebuilding certificate stores...
(10/10) Reloading system bus configuration...
  Skipped: Current root is not booted.

archlinux:base-devel

[root@8939e9fc5ae1 /]# pacman -Syu
:: Synchronizing package databases...
 core downloading...
 extra downloading...
:: Starting full system upgrade...
resolving dependencies...
looking for conflicting packages...

Package (35)                  Old Version          New Version          Net Change  Download Size

core/audit                    3.1.1-1              3.1.2-1                0.01 MiB       0.38 MiB
core/binutils                 2.40-6               2.41-3                 0.71 MiB       7.59 MiB
core/ca-certificates-mozilla  3.91-1               3.92-1                 0.04 MiB       0.37 MiB
core/curl                     8.2.0-2              8.2.1-1                0.00 MiB       1.17 MiB
core/device-mapper            2.03.21-1            2.03.22-2              0.00 MiB       0.27 MiB
core/file                     5.44-3               5.45-1                 0.25 MiB       0.39 MiB
core/gcc                      13.1.1-2             13.2.1-3               2.37 MiB      46.84 MiB
core/gcc-libs                 13.1.1-2             13.2.1-3               0.02 MiB      35.35 MiB
core/glibc                    2.37-3               2.38-3                 1.84 MiB       9.92 MiB
core/gmp                      6.2.1-2              6.3.0-1                0.02 MiB       0.43 MiB
core/gnutls                   3.8.0-1              3.8.1-1                0.11 MiB       2.75 MiB
core/kbd                      2.6.1-1              2.6.2-1                0.01 MiB       1.25 MiB
core/less                     1:633-1              1:643-1                0.00 MiB       0.13 MiB
core/libarchive               3.7.0-2              3.7.1-1                0.00 MiB       0.52 MiB
core/libbpf                   1.2.0-1              1.2.2-1                0.00 MiB       0.23 MiB
core/libelf                   0.189-1              0.189-3                0.00 MiB       0.54 MiB
core/libldap                  2.6.4-2              2.6.6-1                0.00 MiB       0.27 MiB
core/libnftnl                 1.2.5-1              1.2.6-1                0.00 MiB       0.07 MiB
core/libsecret                0.20.5-2             0.21.0-1              -0.02 MiB       0.18 MiB
extra/libsysprof-capture      3.48.0-2             3.48.0-4               0.00 MiB       0.04 MiB
core/libtool                  2.4.7+4+g1ec8fa28-4  2.4.7+4+g1ec8fa28-6    0.00 MiB       0.40 MiB
core/libxml2                  2.11.4-1             2.11.5-1               0.00 MiB       0.82 MiB
core/licenses                 20220125-2           20230729-1             0.00 MiB       0.07 MiB
core/linux-api-headers        6.3-1                6.4-1                  0.03 MiB       1.20 MiB
core/mpfr                     4.2.0.p9-1           4.2.0.p12-3            0.00 MiB       0.42 MiB
core/openssl                  3.1.1-1              3.1.2-1               -0.75 MiB       4.51 MiB
core/perl                     5.36.1-2             5.38.0-1               3.18 MiB      20.26 MiB
core/sudo                     1.9.14.p2-1          1.9.14.p3-1            0.00 MiB       1.78 MiB
core/systemd                  253.7-1              254.1-1                0.91 MiB       7.62 MiB
core/systemd-libs             253.7-1              254.1-1                0.13 MiB       1.06 MiB
core/systemd-sysvcompat       253.7-1              254.1-1                0.00 MiB       0.01 MiB
core/tar                      1.34-2               1.35-1                -0.07 MiB       0.75 MiB
core/util-linux               2.39.1-1             2.39.2-1               0.28 MiB       2.71 MiB
core/util-linux-libs          2.39.1-1             2.39.2-1               0.00 MiB       0.43 MiB
core/xz                       5.4.3-1              5.4.4-1                0.03 MiB       0.60 MiB

Total Download Size:   151.32 MiB
Total Installed Size:  606.89 MiB
Net Upgrade Size:        9.12 MiB

:: Proceed with installation? [Y/n]
:: Retrieving packages...
 gcc-13.2.1-3-x86_64 downloading...
 gcc-libs-13.2.1-3-x86_64 downloading...
 perl-5.38.0-1-x86_64 downloading...
 glibc-2.38-3-x86_64 downloading...
 systemd-254.1-1-x86_64 downloading...
 binutils-2.41-3-x86_64 downloading...
 openssl-3.1.2-1-x86_64 downloading...
 gnutls-3.8.1-1-x86_64 downloading...
 util-linux-2.39.2-1-x86_64 downloading...
 sudo-1.9.14.p3-1-x86_64 downloading...
 kbd-2.6.2-1-x86_64 downloading...
 linux-api-headers-6.4-1-any downloading...
 curl-8.2.1-1-x86_64 downloading...
 systemd-libs-254.1-1-x86_64 downloading...
 libxml2-2.11.5-1-x86_64 downloading...
 tar-1.35-1-x86_64 downloading...
 xz-5.4.4-1-x86_64 downloading...
 libelf-0.189-3-x86_64 downloading...
 libarchive-3.7.1-1-x86_64 downloading...
 util-linux-libs-2.39.2-1-x86_64 downloading...
 gmp-6.3.0-1-x86_64 downloading...
 mpfr-4.2.0.p12-3-x86_64 downloading...
 libtool-2.4.7+4+g1ec8fa28-6-x86_64 downloading...
 file-5.45-1-x86_64 downloading...
 audit-3.1.2-1-x86_64 downloading...
 ca-certificates-mozilla-3.92-1-x86_64 downloading...
 libldap-2.6.6-1-x86_64 downloading...
 device-mapper-2.03.22-2-x86_64 downloading...
 libbpf-1.2.2-1-x86_64 downloading...
 libsecret-0.21.0-1-x86_64 downloading...
 less-1:643-1-x86_64 downloading...
 libnftnl-1.2.6-1-x86_64 downloading...
 licenses-20230729-1-any downloading...
 libsysprof-capture-3.48.0-4-x86_64 downloading...
 systemd-sysvcompat-254.1-1-x86_64 downloading...
checking keyring...
checking package integrity...
loading package files...
checking for file conflicts...
:: Running pre-transaction hooks...
(1/1) Removing old entries from the info directory file...
:: Processing package changes...
upgrading linux-api-headers...
error: could not remove database entry linux-api-headers-6.3-1
upgrading glibc...
error: could not remove database entry glibc-2.37-3
Generating locales...
Generation complete.
upgrading openssl...
error: could not remove database entry openssl-3.1.1-1
upgrading gcc-libs...
error: could not remove database entry gcc-libs-13.1.1-2
upgrading libldap...
error: could not remove database entry libldap-2.6.4-2
upgrading util-linux-libs...
error: could not remove database entry util-linux-libs-2.39.1-1
upgrading audit...
error: could not remove database entry audit-3.1.1-1
upgrading xz...
error: could not remove database entry xz-5.4.3-1
upgrading gmp...
error: could not remove database entry gmp-6.2.1-2
upgrading systemd-libs...
error: could not remove database entry systemd-libs-253.7-1
upgrading ca-certificates-mozilla...
error: could not remove database entry ca-certificates-mozilla-3.91-1
upgrading curl...
error: could not remove database entry curl-8.2.0-2
upgrading libelf...
error: could not remove database entry libelf-0.189-1
upgrading binutils...
error: could not remove database entry binutils-2.40-6
upgrading device-mapper...
error: could not remove database entry device-mapper-2.03.21-1
upgrading file...
error: could not remove database entry file-5.44-3
upgrading mpfr...
error: could not remove database entry mpfr-4.2.0.p9-1
upgrading gcc...
error: could not remove database entry gcc-13.1.1-2
upgrading gnutls...
error: could not remove database entry gnutls-3.8.0-1
upgrading kbd...
error: could not remove database entry kbd-2.6.1-1
upgrading less...
error: could not remove database entry less-1:633-1
upgrading libarchive...
error: could not remove database entry libarchive-3.7.0-2
upgrading libbpf...
error: could not remove database entry libbpf-1.2.0-1
upgrading libnftnl...
error: could not remove database entry libnftnl-1.2.5-1
upgrading libsysprof-capture...
error: could not remove database entry libsysprof-capture-3.48.0-2
upgrading libsecret...
error: could not remove database entry libsecret-0.20.5-2
upgrading tar...
error: could not remove database entry tar-1.34-2
upgrading libtool...
error: could not remove database entry libtool-2.4.7+4+g1ec8fa28-4
upgrading libxml2...
error: could not remove database entry libxml2-2.11.4-1
upgrading licenses...
error: could not remove database entry licenses-20220125-2
upgrading perl...
error: could not remove database entry perl-5.36.1-2
upgrading sudo...
error: could not remove database entry sudo-1.9.14.p2-1
upgrading util-linux...
error: could not remove database entry util-linux-2.39.1-1
upgrading systemd...
error: could not remove database entry systemd-253.7-1
Creating group 'systemd-journal-upload' with GID 974.
Creating user 'systemd-journal-upload' (systemd Journal Upload) with UID 974 and GID 974.
upgrading systemd-sysvcompat...
error: could not remove database entry systemd-sysvcompat-253.7-1
:: Running post-transaction hooks...
( 1/11) Creating system user accounts...
( 2/11) Updating journal message catalog...
( 3/11) Reloading system manager configuration...
  Skipped: Current root is not booted.
( 4/11) Updating udev hardware database...
( 5/11) Applying kernel sysctl settings...
  Skipped: Current root is not booted.
( 6/11) Creating temporary files...
/usr/lib/tmpfiles.d/journal-nocow.conf:26: Failed to resolve specifier: uninitialized /etc/ detected, skipping.
All rules containing unresolvable specifiers will be skipped.
( 7/11) Reloading device manager configuration...
  Skipped: Device manager is not running.
( 8/11) Arming ConditionNeedsUpdate...
( 9/11) Rebuilding certificate stores...
(10/11) Reloading system bus configuration...
  Skipped: Current root is not booted.
(11/11) Warn about old perl modules
error: duplicated database entry 'kbd'
error: duplicated database entry 'libxml2'
error: duplicated database entry 'gnutls'
error: duplicated database entry 'libelf'
error: duplicated database entry 'gmp'
error: duplicated database entry 'libsysprof-capture'
error: duplicated database entry 'util-linux-libs'
error: duplicated database entry 'openssl'
error: duplicated database entry 'glibc'
error: duplicated database entry 'libsecret'
error: duplicated database entry 'libnftnl'
error: duplicated database entry 'systemd'
error: duplicated database entry 'sudo'
error: duplicated database entry 'device-mapper'
error: duplicated database entry 'libldap'
error: duplicated database entry 'xz'
error: duplicated database entry 'mpfr'
error: duplicated database entry 'audit'
error: duplicated database entry 'systemd-libs'
error: duplicated database entry 'util-linux'
error: duplicated database entry 'libarchive'
error: duplicated database entry 'libbpf'
error: duplicated database entry 'libtool'
error: duplicated database entry 'gcc-libs'
error: duplicated database entry 'binutils'
error: duplicated database entry 'ca-certificates-mozilla'
error: duplicated database entry 'tar'
error: duplicated database entry 'file'
error: duplicated database entry 'perl'
error: duplicated database entry 'gcc'
error: duplicated database entry 'less'
error: duplicated database entry 'curl'
error: duplicated database entry 'systemd-sysvcompat'
error: duplicated database entry 'linux-api-headers'
error: duplicated database entry 'licenses'
error: could not open file /var/lib/pacman/local/audit-3.1.1-1/files: No such file or directory
error: could not open file /var/lib/pacman/local/binutils-2.40-6/files: No such file or directory
error: could not open file /var/lib/pacman/local/ca-certificates-mozilla-3.91-1/files: No such file or directory
error: could not open file /var/lib/pacman/local/curl-8.2.0-2/files: No such file or directory
error: could not open file /var/lib/pacman/local/device-mapper-2.03.21-1/files: No such file or directory
error: could not open file /var/lib/pacman/local/file-5.44-3/files: No such file or directory
error: could not open file /var/lib/pacman/local/gcc-13.1.1-2/files: No such file or directory
error: could not open file /var/lib/pacman/local/gcc-libs-13.1.1-2/files: No such file or directory
error: could not open file /var/lib/pacman/local/glibc-2.37-3/files: No such file or directory
error: could not open file /var/lib/pacman/local/gmp-6.2.1-2/files: No such file or directory
error: could not open file /var/lib/pacman/local/gnutls-3.8.0-1/files: No such file or directory
error: could not open file /var/lib/pacman/local/kbd-2.6.1-1/files: No such file or directory
error: could not open file /var/lib/pacman/local/less-1:633-1/files: No such file or directory
error: could not open file /var/lib/pacman/local/libarchive-3.7.0-2/files: No such file or directory
error: could not open file /var/lib/pacman/local/libbpf-1.2.0-1/files: No such file or directory
error: could not open file /var/lib/pacman/local/libelf-0.189-1/files: No such file or directory
error: could not open file /var/lib/pacman/local/libldap-2.6.4-2/files: No such file or directory
error: could not open file /var/lib/pacman/local/libnftnl-1.2.5-1/files: No such file or directory
error: could not open file /var/lib/pacman/local/libsecret-0.20.5-2/files: No such file or directory
error: could not open file /var/lib/pacman/local/libsysprof-capture-3.48.0-2/files: No such file or directory
error: could not open file /var/lib/pacman/local/libtool-2.4.7+4+g1ec8fa28-4/files: No such file or directory
error: could not open file /var/lib/pacman/local/libxml2-2.11.4-1/files: No such file or directory
error: could not open file /var/lib/pacman/local/licenses-20220125-2/files: No such file or directory
error: could not open file /var/lib/pacman/local/linux-api-headers-6.3-1/files: No such file or directory
error: could not open file /var/lib/pacman/local/mpfr-4.2.0.p9-1/files: No such file or directory
error: could not open file /var/lib/pacman/local/openssl-3.1.1-1/files: No such file or directory
error: could not open file /var/lib/pacman/local/perl-5.36.1-2/files: No such file or directory
error: could not open file /var/lib/pacman/local/sudo-1.9.14.p2-1/files: No such file or directory
error: could not open file /var/lib/pacman/local/systemd-253.7-1/files: No such file or directory
error: could not open file /var/lib/pacman/local/systemd-libs-253.7-1/files: No such file or directory
error: could not open file /var/lib/pacman/local/systemd-sysvcompat-253.7-1/files: No such file or directory
error: could not open file /var/lib/pacman/local/tar-1.34-2/files: No such file or directory
error: could not open file /var/lib/pacman/local/util-linux-2.39.1-1/files: No such file or directory
error: could not open file /var/lib/pacman/local/util-linux-libs-2.39.1-1/files: No such file or directory
error: could not open file /var/lib/pacman/local/xz-5.4.3-1/files: No such file or directory
error: No package owns /usr/lib/perl5/5.36

Offline

Board footer

Powered by FluxBB