I am new to EndeavourOS

i just installed EndeavourOS and all thing was smooth when i use the EndeavourOS after install tool i cant update or install any thing , i tried to solve the problem but i thing i made it worth
as when i tried to install deepin i got :: File /var/cache/pacman/pkg/deepin-qt5integration-5.6.6-2-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)). Do you want to delete it? [Y/n] error: deepin-calendar: key "B5971F2C5C10A9A08C60030F786C63F330D7CB92" is unknown error: keyring is not writable :: File /var/cache/pacman/pkg/deepin-calendar-5.9.1-1-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)). Do you want to delete it? [Y/n] error: geoip-database: key "86CFFCA918CF3AF47147588051E8B148A9999C34" is unknown error: keyring is not writable :: File /var/cache/pacman/pkg/geoip-database-20230519-1-any.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)). Do you want to delete it? [Y/n] error: geoip: key "86CFFCA918CF3AF47147588051E8B148A9999C34" is unknown error: keyring is not writable :: File /var/cache/pacman/pkg/geoip-1.6.12-2-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)). Do you want to delete it? [Y/n] error: cracklib: key "5B7E3FB71B7F10329A1C03AB771DF6627EDF681F" is unknown error: keyring is not writable :: File /var/cache/pacman/pkg/cracklib-2.9.11-1-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)). Do you want to delete it? [Y/n] error: libpwquality: key "14E46FE5FD69F2E287E244DB632C3CC0D1C9CAF6" is unknown error: keyring is not writable :: File /var/cache/pacman/pkg/libpwquality-1.4.5-3-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)). Do you want to delete it? [Y/n] error: geoip-database-extra: key "86CFFCA918CF3AF47147588051E8B148A9999C34" is unknown error: keyring is not writable :: File /var/cache/pacman/pkg/geoip-database-extra-20230519-1-any.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)).
i got alot of these lines
and i trien to install a small tool to know what is the problem i installed vlc and i got

extra/vlc    3.0.18-10    3.0.18-10      0.00 MiB

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

:: Proceed with installation? [Y/n] 
(1/1) checking keys in keyring                                                                                     [--------------------------------------------------------------------] 100%
downloading required keys...
:: Import PGP key 632C3CC0D1C9CAF6, "Balló György <bgyorgy@archlinux.org>"? [Y/n] 
(1/1) checking package integrity                                                                                   [--------------------------------------------------------------------] 100%
error: vlc: signature from "Balló György <bgyorgy@archlinux.org>" is unknown trust
:: File /var/cache/pacman/pkg/vlc-3.0.18-10-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n] 
error: failed to commit transaction (invalid or corrupted package (PGP signature))
Errors occurred, no packages were upgraded.
 󰣇    ~                                                                  
1 Like

Try this:

sudo pacman -Sc
sudo pacman -Syy archlinux-keyring endeavouros-keyring
sudo pacman -Su
1 Like

is that normal

sudo pacman -Syy archlinux-keyring endeavouros-keyring                                                                                                                
:: Synchronizing package databases...
 endeavouros                                                                            28.8 KiB  40.7 KiB/s 00:01 [--------------------------------------------------------------------] 100%
 core                                                                                  132.2 KiB  92.9 KiB/s 00:01 [--------------------------------------------------------------------] 100%
 extra                                                                                   8.3 MiB  1356 KiB/s 00:06 [--------------------------------------------------------------------] 100%
 multilib                                                                              141.3 KiB  98.1 KiB/s 00:01 [--------------------------------------------------------------------] 100%
warning: archlinux-keyring-20230504-1 is up to date -- reinstalling
warning: endeavouros-keyring-20230523-1 is up to date -- reinstalling
resolving dependencies...
looking for conflicting packages...

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

core/archlinux-keyring           20230504-1   20230504-1     0.00 MiB               
endeavouros/endeavouros-keyring  20230523-1   20230523-1     0.00 MiB       0.02 MiB

Total Download Size:   0.02 MiB
Total Installed Size:  1.62 MiB
Net Upgrade Size:      0.00 MiB

:: Proceed with installation? [Y/n] 
:: Retrieving packages...
 endeavouros-keyring-20230523-1-any                                                     20.2 KiB   109 KiB/s 00:00 [--------------------------------------------------------------------] 100%
(2/2) checking keys in keyring                                                                                     [--------------------------------------------------------------------] 100%
downloading required keys...
:: Import PGP key 003DB8B0CB23504F, "EndeavourOS <info@endeavouros.com>"? [Y/n] 
(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 archlinux-keyring                                                                               [--------------------------------------------------------------------] 100%
==> Appending keys from archlinux.gpg...
gpg: public key of ultimately trusted key 26A1C42D05DDBCC1 not found
==> Locally signing trusted keys in keyring...
==> ERROR: 2AC0A42EFB0B5CBC7A0402ED4DC95B6D7BE9892E could not be locally signed.
==> ERROR: 69E6471E3AE065297529832E6BA0F5A2037F4F41 could not be locally signed.
==> ERROR: D8AFDDA07A5B6EDFA7D8CCDAD6D055F927843F1C could not be locally signed.
==> ERROR: 91FFE0700E80619CEB73235CA88E23E377514E00 could not be locally signed.
==> Updating trust database...
gpg: public key of ultimately trusted key 26A1C42D05DDBCC1 not found
gpg: marginals needed: 3  completes needed: 1  trust model: pgp
gpg: depth: 0  valid:   2  signed:   5  trust: 0-, 0q, 0n, 0m, 0f, 2u
gpg: depth: 1  valid:   5  signed:  96  trust: 5-, 0q, 0n, 0m, 0f, 0u
gpg: next trustdb check due at 2023-07-12
==> ERROR: Trust database could not be updated.
error: command failed to execute correctly
(2/2) reinstalling endeavouros-keyring                                                                             [--------------------------------------------------------------------] 100%
==> Appending keys from endeavouros.gpg...
==> Locally signing trusted keys in keyring...
==> ERROR: 0F20FADC599D1C46EB556455AED8858E4B9813F1 could not be locally signed.
==> ERROR: 497af50c92ad2384c56e1aca003db8b0cb23504f could not be locally signed.
==> ERROR: 286E73D3CB90A2368DE1B0B12B37DD3DB00531E8 could not be locally signed.
==> ERROR: 8F43FC374CD4CEEA19CEE323E3D8752ACDF595A1 could not be locally signed.
==> ERROR: 8AD2DB862F3CA7B90B9CAF578B7B0A2203562CF6 could not be locally signed.
==> ERROR: C918B8CB65A96DFA48F1F2E6BC4423F58F260BAF could not be locally signed.
error: command failed to execute correctly
:: Running post-transaction hooks...
(1/3) Reloading system manager configuration...
(2/3) Arming ConditionNeedsUpdate...
(3/3) Checking which packages need to be rebuilt

No.

Try:

sudo mv /etc/pacman.d/gnupg /etc/pacman.d/gnupg.bak
sudo pacman-key --init
sudo pacman-key --populate archlinux endeavouros
sudo pacman -Syy archlinux-keyring endeavouros-keyring
sudo pacman -Su
2 Likes

every thing was smooth should i try the previous command again ??

Does this mean you are not getting any errors related to keys?

What previous command?

You could try updating, installing packages and see if everything is ok.

every thing went good thank you <3

1 Like

That’s great!
Glad you got it resolved! And welcome to EnOS’ community @KURIBOHRIBOH!
:enos: :handshake:t5:

1 Like

Welcome @KURIBOHRIBOH :wave: Enjoy the purple ride :enos_flag:

@pebcak has lots of good advice about (almost) everything.

1 Like

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