Pacman not working because it misses GLIBC_2

So I ran the command and it updated a whole lot of things b ut then it sais it had some broken packages by Manuel@Endeavouros… and if In wanted to delete them In fear of Breaking something I did not do so then it said because of brocken packmages the update failed :-/ Is it ok to delete them?

Fehler: endeavouros-mirrorlist: signature from "manuel <manuel@endeavouros.com>" is unknown trust
:: Datei /var/cache/pacman/pkg/endeavouros-mirrorlist-23.16-1-any.pkg.tar.zst ist beschädigt (Ungültiges oder beschädigtes Paket (PGP-Signatur)).
Soll die Datei entfernt werden? [J/n] n
Fehler: endeavouros-theming: signature from "manuel <manuel@endeavouros.com>" is unknown trust
:: Datei /var/cache/pacman/pkg/endeavouros-theming-22.12.3.3-2-any.pkg.tar.zst ist beschädigt (Ungültiges oder beschädigtes Paket (PGP-Signatur)).
Soll die Datei entfernt werden? [J/n] n
Fehler: yad: signature from "manuel <manuel@endeavouros.com>" is unknown trust
:: Datei /var/cache/pacman/pkg/yad-13.0-2.1-x86_64.pkg.tar.zst ist beschädigt (Ungültiges oder beschädigtes Paket (PGP-Signatur)).
Soll die Datei entfernt werden? [J/n] n
Fehler: eos-bash-shared: signature from "manuel <manuel@endeavouros.com>" is unknown trust
:: Datei /var/cache/pacman/pkg/eos-bash-shared-23.20-1-any.pkg.tar.zst ist beschädigt (Ungültiges oder beschädigtes Paket (PGP-Signatur)).
Soll die Datei entfernt werden? [J/n] n
Fehler: eos-hooks: signature from "manuel <manuel@endeavouros.com>" is unknown trust
:: Datei /var/cache/pacman/pkg/eos-hooks-1.15-1-any.pkg.tar.zst ist beschädigt (Ungültiges oder beschädigtes Paket (PGP-Signatur)).
Soll die Datei entfernt werden? [J/n] n
Fehler: eos-log-tool: signature from "manuel <manuel@endeavouros.com>" is unknown trust
:: Datei /var/cache/pacman/pkg/eos-log-tool-23-2-any.pkg.tar.zst ist beschädigt (Ungültiges oder beschädigtes Paket (PGP-Signatur)).
Soll die Datei entfernt werden? [J/n] n
Fehler: eos-packagelist: signature from "manuel <manuel@endeavouros.com>" is unknown trust
:: Datei /var/cache/pacman/pkg/eos-packagelist-2.2-1-any.pkg.tar.zst ist beschädigt (Ungültiges oder beschädigtes Paket (PGP-Signatur)).
Soll die Datei entfernt werden? [J/n] n
Fehler: eos-quickstart: signature from "manuel <manuel@endeavouros.com>" is unknown trust
:: Datei /var/cache/pacman/pkg/eos-quickstart-1.3.1-2-x86_64.pkg.tar.zst ist beschädigt (Ungültiges oder beschädigtes Paket (PGP-Signatur)).
Soll die Datei entfernt werden? [J/n] n
Fehler: kernel-install-for-dracut: signature from "manuel <manuel@endeavouros.com>" is unknown trust
:: Datei /var/cache/pacman/pkg/kernel-install-for-dracut-1.9.1-1-any.pkg.tar.zst ist beschädigt (Ungültiges oder beschädigtes Paket (PGP-Signatur)).
Soll die Datei entfernt werden? [J/n] n
Fehler: reflector-simple: signature from "manuel <manuel@endeavouros.com>" is unknown trust
:: Datei /var/cache/pacman/pkg/reflector-simple-2023-4-any.pkg.tar.zst ist beschädigt (Ungültiges oder beschädigtes Paket (PGP-Signatur)).
Soll die Datei entfernt werden? [J/n] n
Fehler: yay: signature from "manuel <manuel@endeavouros.com>" is unknown trust
:: Datei /var/cache/pacman/pkg/yay-12.1.3-1-x86_64.pkg.tar.zst ist beschädigt (Ungültiges oder beschädigtes Paket (PGP-Signatur)).
Soll die Datei entfernt werden? [J/n] n
Fehler: Der Vorgang konnte nicht durchgeführt werden (Ungültiges oder beschädigtes Paket)
Fehler sind aufgetreten, keine Pakete wurden aktualisiert.
[aswandriel@frederik-hplaptop15sfq2xxx Downloads]$ n
bash: n: Kommando nicht gefunden.
[aswandriel@frederik-hplaptop15sfq2xxx Downloads]$ 


and its german sry
Soll die Datei entfernt werden means. Should the file be removed? And Fehler means error so there are a lot of Fehler/errors

LANG=C sudo ./pacman-static -Sy endeavouros-keyring archlinux-keyring
LANG=C sudo ./pacman-static -Syu

these are the broken packages

(665/665) checking package integrity                                                                                                          [---------------------------------------------------------------------------------------] 100%
error: endeavouros-mirrorlist: signature from "manuel <manuel@endeavouros.com>" is unknown trust
:: File /var/cache/pacman/pkg/endeavouros-mirrorlist-23.16-1-any.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n] n
error: endeavouros-theming: signature from "manuel <manuel@endeavouros.com>" is unknown trust
:: File /var/cache/pacman/pkg/endeavouros-theming-22.12.3.3-2-any.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n] n
error: yad: signature from "manuel <manuel@endeavouros.com>" is unknown trust
:: File /var/cache/pacman/pkg/yad-13.0-2.1-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n] n
error: eos-bash-shared: signature from "manuel <manuel@endeavouros.com>" is unknown trust
:: File /var/cache/pacman/pkg/eos-bash-shared-23.20-1-any.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n] n
error: eos-hooks: signature from "manuel <manuel@endeavouros.com>" is unknown trust
:: File /var/cache/pacman/pkg/eos-hooks-1.15-1-any.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n] n
error: eos-log-tool: signature from "manuel <manuel@endeavouros.com>" is unknown trust
:: File /var/cache/pacman/pkg/eos-log-tool-23-2-any.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n] n
error: eos-packagelist: signature from "manuel <manuel@endeavouros.com>" is unknown trust
:: File /var/cache/pacman/pkg/eos-packagelist-2.2-1-any.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n] nn
error: eos-quickstart: signature from "manuel <manuel@endeavouros.com>" is unknown trust
:: File /var/cache/pacman/pkg/eos-quickstart-1.3.1-2-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n] n
error: kernel-install-for-dracut: signature from "manuel <manuel@endeavouros.com>" is unknown trust
:: File /var/cache/pacman/pkg/kernel-install-for-dracut-1.9.1-1-any.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n] n
error: reflector-simple: signature from "manuel <manuel@endeavouros.com>" is unknown trust
:: File /var/cache/pacman/pkg/reflector-simple-2023-4-any.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n] n
error: yay: signature from "manuel <manuel@endeavouros.com>" is unknown trust
:: File /var/cache/pacman/pkg/yay-12.1.3-1-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)
Errors occurred, no packages were upgraded.

Is it safe to remove them?

It doesn’t matter if you remove them or not. There is nothing wrong with the packages. It is your keyring that is the issue.

Did you run this command from above: LANG=C sudo ./pacman-static -Sy endeavouros-keyring archlinux-keyring

[aswandriel@frederik-hplaptop15sfq2xxx Downloads]$ LANG=C sudo ./pacman-static -Sy endeavouros-keyring archlinux-keyring
[sudo] password for aswandriel: 
:: Synchronizing package databases...
 endeavouros is up to date
 core is up to date
 extra                                                                                                              8.3 MiB  3.93 MiB/s 00:02 [---------------------------------------------------------------------------------------] 100%
 community is up to date
 multilib is up to date
warning: endeavouros-keyring-20230523-1 is up to date -- reinstalling
warning: archlinux-keyring-20231017-1 is up to date -- reinstalling
resolving dependencies...
looking for conflicting packages...

Package (2)                      Old Version  New Version  Net Change

core/archlinux-keyring           20231017-1   20231017-1     0.00 MiB
endeavouros/endeavouros-keyring  20230523-1   20230523-1     0.00 MiB

Total Installed Size:  1.63 MiB
Net Upgrade Size:      0.00 MiB

:: Proceed with installation? [Y/n] Y
(2/2) checking keys in keyring                                                                                                                [---------------------------------------------------------------------------------------] 100%
(2/2) checking package integrity                                                                                                              [---------------------------------------------------------------------------------------] 100%
(2/2) loading package files                                                                                                                   [---------------------------------------------------------------------------------------] 100%
(2/2) checking for file conflicts                                                                                                             [---------------------------------------------------------------------------------------] 100%
:: Processing package changes...
(1/2) reinstalling endeavouros-keyring                                                                                                        [---------------------------------------------------------------------------------------] 100%
 >>> Run `pacman-key --init` to set up your pacman keyring.
 >>> Then run `pacman-key --populate endeavouros` to install the EndeavourOS keyring.
(2/2) reinstalling archlinux-keyring                                                                                                          [---------------------------------------------------------------------------------------] 100%
:: Running post-transaction hooks...
(1/3) Reloading system manager configuration...
(2/3) Arming ConditionNeedsUpdate...
(3/3) Checking which packages need to be rebuilt
pacconf: /usr/lib/libc.so.6: version `GLIBC_2.38' not found (required by /usr/lib/libalpm.so.13)
pacconf: /usr/lib/libc.so.6: version `GLIBC_2.38' not found (required by /usr/lib/libalpm.so.13)
pactree: /usr/lib/libc.so.6: version `GLIBC_2.38' not found (required by /usr/lib/libalpm.so.13)
pacman: /usr/lib/libc.so.6: version `GLIBC_2.38' not found (required by pacman)
pacman: /usr/lib/libc.so.6: version `GLIBC_2.38' not found (required by /usr/lib/libalpm.so.13)
pactree: /usr/lib/libc.so.6: version `GLIBC_2.38' not found (required by /usr/lib/libalpm.so.13)
pacman: /usr/lib/libc.so.6: version `GLIBC_2.38' not found (required by pacman)
pacman: /usr/lib/libc.so.6: version `GLIBC_2.38' not found (required by /usr/lib/libalpm.so.13)
pacconf: /usr/lib/libc.so.6: version `GLIBC_2.38' not found (required by /usr/lib/libalpm.so.13)
pacman: /usr/lib/libc.so.6: version `GLIBC_2.38' not found (required by pacman)
pacman: /usr/lib/libc.so.6: version `GLIBC_2.38' not found (required by /usr/lib/libalpm.so.13)
pacconf: /usr/lib/libc.so.6: version `GLIBC_2.38' not found (required by /usr/lib/libalpm.so.13)
pacman: /usr/lib/libc.so.6: version `GLIBC_2.38' not found (required by pacman)
pacman: /usr/lib/libc.so.6: version `GLIBC_2.38' not found (required by /usr/lib/libalpm.so.13)


this was the output

What happens if you run

LANG=C sudo pacman-key --populate endeavouros
[aswandriel@frederik-hplaptop15sfq2xxx ~]$ LANG=C sudo pacman-key --populate endeavouros
[sudo] password for aswandriel: 
pacman-conf: /usr/lib/libc.so.6: version `GLIBC_2.38' not found (required by pacman-conf)
pacman-conf: /usr/lib/libc.so.6: version `GLIBC_2.38' not found (required by /usr/lib/libalpm.so.13)
==> ERROR: You do not have sufficient permissions to read the pacman keyring.
==> Use 'pacman-key --init' to correct the keyring permissions.
[aswandriel@frederik-hplaptop15sfq2xxx ~]$ 

I am not able to see that this command removes libc. You must have done something else which caused the problem.

might be idk

UPDATE I installed pacman-static and installed an important program with it and after a while I tried running pacman and it just… worked. I dont know what exactly happened or why, but it fixed the problem.

1 Like

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.