ps -ef
ps: /usr/lib/libc.so.6: version `GLIBC_2.34' not found (required by /usr/lib/libgcc_s.so.1)
I am unable to complete this package update process.
pacman -Syyu
:: Synchronizing package databases...
core 166.2 KiB 416 KiB/s 00:00 [#######################################################] 100%
extra 1889.5 KiB 9.37 MiB/s 00:00 [#######################################################] 100%
community 7.0 MiB 30.8 MiB/s 00:00 [#######################################################] 100%
multilib 174.0 KiB 3.62 MiB/s 00:00 [#######################################################] 100%
:: Starting full system upgrade...
warning: python-pyqt5: local (5.15.6-7.1) is newer than extra (5.15.6-7)
resolving dependencies...
looking for conflicting packages...
Packages (3) glibc-2.35-2 lib32-glibc-2.35-2 npm-8.5.1-1
Total Download Size: 13.44 MiB
Total Installed Size: 73.01 MiB
Net Upgrade Size: 2.63 MiB
:: Proceed with installation? [Y/n] y
:: Retrieving packages...
glibc-2.35-2-x86_64 9.9 MiB 7.45 MiB/s 00:01 [#######################################################] 100%
lib32-glibc-2.35-2-x86_64 3.5 MiB 4.92 MiB/s 00:01 [#######################################################] 100%
Total (2/2) 13.4 MiB 6.28 MiB/s 00:02 [#######################################################] 100%
(3/3) checking keys in keyring [#######################################################] 100%
warning: Public keyring not found; have you run 'pacman-key --init'?
error: GPGME error: Invalid crypto engine
warning: Public keyring not found; have you run 'pacman-key --init'?
error: GPGME error: Invalid crypto engine
warning: Public keyring not found; have you run 'pacman-key --init'?
error: GPGME error: Invalid crypto engine
(3/3) checking package integrity [#######################################################] 100%
warning: Public keyring not found; have you run 'pacman-key --init'?
error: GPGME error: Invalid crypto engine
warning: Public keyring not found; have you run 'pacman-key --init'?
error: GPGME error: Invalid crypto engine
warning: Public keyring not found; have you run 'pacman-key --init'?
error: GPGME error: Invalid crypto engine
error: glibc: missing required signature
:: File /var/cache/pacman/pkg/glibc-2.35-2-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n] n
error: lib32-glibc: missing required signature
:: File /var/cache/pacman/pkg/lib32-glibc-2.35-2-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n] n
error: npm: missing required signature
:: File /var/cache/pacman/pkg/npm-8.5.1-1-any.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n] n
error: failed to commit transaction (invalid or corrupted package (PGP signature))
Errors occurred, no packages were upgraded.
I have run through a number of posts and tried a lot of commands and everything just pretty much fails like this:
pacman-key --init
gpg: /usr/lib/libc.so.6: version `GLIBC_2.34' not found (required by /usr/lib/libsqlite3.so.0)
chmod: cannot access '/etc/pacman.d/gnupg//trustdb.gpg': No such file or directory
gpg: /usr/lib/libc.so.6: version `GLIBC_2.34' not found (required by /usr/lib/libsqlite3.so.0)
gpg: /usr/lib/libc.so.6: version `GLIBC_2.34' not found (required by /usr/lib/libsqlite3.so.0)
==> Generating pacman master key. This may take some time.
gpg: /usr/lib/libc.so.6: version `GLIBC_2.34' not found (required by /usr/lib/libsqlite3.so.0)
==> Updating trust database...
gpg: /usr/lib/libc.so.6: version `GLIBC_2.34' not found (required by /usr/lib/libsqlite3.so.0)
==> ERROR: Trust database could not be updated.
I am at a state now where most commands I try fail because of the glibc issue so I am concerned that hard-boot will end up with a failed OS. Hoping there is something I can do in this current state that can mitigate this.
pamac upgrade
pamac: /usr/lib/libc.so.6: version `GLIBC_2.34' not found (required by pamac)
pamac: /usr/lib/libc.so.6: version `GLIBC_2.34' not found (required by /usr/lib/libxml2.so.2)
pamac: /usr/lib/libc.so.6: version `GLIBC_2.34' not found (required by /usr/lib/libsqlite3.so.0)
pamac: /usr/lib/libc.so.6: version `GLIBC_2.34' not found (required by /usr/lib/libstdc++.so.6)
pamac: /usr/lib/libc.so.6: version `GLIBC_2.34' not found (required by /usr/lib/libgcc_s.so.1)
pacman -S glibc lib32-glibc
resolving dependencies...
looking for conflicting packages...
Packages (2) glibc-2.35-2 lib32-glibc-2.35-2
Total Installed Size: 66.98 MiB
Net Upgrade Size: 2.61 MiB
:: Proceed with installation? [Y/n] y
(2/2) checking keys in keyring [#######################################################] 100%
warning: Public keyring not found; have you run 'pacman-key --init'?
error: GPGME error: Invalid crypto engine
warning: Public keyring not found; have you run 'pacman-key --init'?
error: GPGME error: Invalid crypto engine
(2/2) checking package integrity [#######################################################] 100%
warning: Public keyring not found; have you run 'pacman-key --init'?
error: GPGME error: Invalid crypto engine
warning: Public keyring not found; have you run 'pacman-key --init'?
error: GPGME error: Invalid crypto engine
error: glibc: missing required signature
:: File /var/cache/pacman/pkg/glibc-2.35-2-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n] n
error: lib32-glibc: missing required signature
:: File /var/cache/pacman/pkg/lib32-glibc-2.35-2-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n] n
error: failed to commit transaction (invalid or corrupted package (PGP signature))
Errors occurred, no packages were upgraded.
sudo pacman-key --init
gpg: /usr/lib/libc.so.6: version `GLIBC_2.34' not found (required by /usr/lib/libsqlite3.so.0)
chmod: cannot access '/etc/pacman.d/gnupg//trustdb.gpg': No such file or directory
gpg: /usr/lib/libc.so.6: version `GLIBC_2.34' not found (required by /usr/lib/libsqlite3.so.0)
gpg: /usr/lib/libc.so.6: version `GLIBC_2.34' not found (required by /usr/lib/libsqlite3.so.0)
==> Generating pacman master key. This may take some time.
gpg: /usr/lib/libc.so.6: version `GLIBC_2.34' not found (required by /usr/lib/libsqlite3.so.0)
==> Updating trust database...
gpg: /usr/lib/libc.so.6: version `GLIBC_2.34' not found (required by /usr/lib/libsqlite3.so.0)
==> ERROR: Trust database could not be updated.
[stephen-x570gamingx logart]# ls -l /etc/pacman.d/gnupg/
total 8
-rw-r--r-- 1 root root 17 Mar 4 06:12 gpg-agent.conf
-rw-r--r-- 1 root root 105 Mar 4 06:12 gpg.conf
-rw-r--r-- 1 root root 0 Mar 4 06:12 pubring.gpg
-rw------- 1 root root 0 Mar 4 06:12 secring.gpg
@logart Follow the steps in the given tutorial. Looks like you didnāt update your system in a long time. Itās not given there but I hope you know that you have to execute all the commands with sudo which are specified there.
sudo pacman-key --init
gpg: /usr/lib/libc.so.6: version `GLIBC_2.34' not found (required by /usr/lib/libsqlite3.so.0)
chmod: cannot access '/etc/pacman.d/gnupg//trustdb.gpg': No such file or directory
gpg: /usr/lib/libc.so.6: version `GLIBC_2.34' not found (required by /usr/lib/libsqlite3.so.0)
gpg: /usr/lib/libc.so.6: version `GLIBC_2.34' not found (required by /usr/lib/libsqlite3.so.0)
==> Generating pacman master key. This may take some time.
gpg: /usr/lib/libc.so.6: version `GLIBC_2.34' not found (required by /usr/lib/libsqlite3.so.0)
==> Updating trust database...
gpg: /usr/lib/libc.so.6: version `GLIBC_2.34' not found (required by /usr/lib/libsqlite3.so.0)
==> ERROR: Trust database could not be updated.
sudo pacman -Syy gnupg archlinux-keyring manjaro-keyring
:: Synchronizing package databases...
core 169.1 KiB 355 KiB/s 00:00 [#######################################################] 100%
extra 1880.2 KiB 463 KiB/s 00:04 [#######################################################] 100%
community 6.9 MiB 628 KiB/s 00:11 [#######################################################] 100%
multilib 174.1 KiB 567 KiB/s 00:00 [#######################################################] 100%
warning: gnupg-2.2.32-2 is up to date -- reinstalling
warning: archlinux-keyring-20220224-1 is up to date -- reinstalling
warning: manjaro-keyring-20210910-2 is up to date -- reinstalling
resolving dependencies...
looking for conflicting packages...
Packages (3) archlinux-keyring-20220224-1 gnupg-2.2.32-2 manjaro-keyring-20210910-2
Total Download Size: 3.53 MiB
Total Installed Size: 11.57 MiB
Net Upgrade Size: 0.00 MiB
:: Proceed with installation? [Y/n] y
:: Retrieving packages...
gnupg-2.2.32-2-x86_64 2.4 MiB 806 KiB/s 00:03 [#######################################################] 100%
archlinux-keyring-20220224-1-any 1040.1 KiB 1238 KiB/s 00:01 [#######################################################] 100%
manjaro-keyring-20210910-2-any 141.6 KiB 920 KiB/s 00:00 [#######################################################] 100%
Total (3/3) 3.5 MiB 851 KiB/s 00:04 [#######################################################] 100%
(3/3) checking keys in keyring [#######################################################] 100%
warning: Public keyring not found; have you run 'pacman-key --init'?
error: GPGME error: Invalid crypto engine
warning: Public keyring not found; have you run 'pacman-key --init'?
error: GPGME error: Invalid crypto engine
warning: Public keyring not found; have you run 'pacman-key --init'?
error: GPGME error: Invalid crypto engine
(3/3) checking package integrity [#######################################################] 100%
warning: Public keyring not found; have you run 'pacman-key --init'?
error: GPGME error: Invalid crypto engine
warning: Public keyring not found; have you run 'pacman-key --init'?
error: GPGME error: Invalid crypto engine
warning: Public keyring not found; have you run 'pacman-key --init'?
error: GPGME error: Invalid crypto engine
error: gnupg: missing required signature
:: File /var/cache/pacman/pkg/gnupg-2.2.32-2-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n] n
error: archlinux-keyring: missing required signature
:: File /var/cache/pacman/pkg/archlinux-keyring-20220224-1-any.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n] n
error: manjaro-keyring: missing required signature
:: File /var/cache/pacman/pkg/manjaro-keyring-20210910-2-any.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n] n
error: failed to commit transaction (invalid or corrupted package (PGP signature))
Errors occurred, no packages were upgraded.
Only other thing I can recommend, and Iām not even sure thisād work, is trying it from within a chroot environment. But somehow I donāt think itād workā¦
I donāt have an idea further, as that file, libc.so.6 canāt be found, or somethingā¦
sudo pacman-key --verbose --refresh-keys ī² ā ī² 3.0.0 ļ
==> ERROR: You do not have sufficient permissions to read the pacman keyring.
==> Use 'pacman-key --init' to correct the keyring permissions.
ļ ī° ļ ~ ī°
``` `