Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $ sudo mv /etc/pacman.d/gnupg /root/pacman-key.bak
- [gametest@gametest ~]$ sudo pacman-key --init
- gpg: /etc/pacman.d/gnupg/trustdb.gpg: trustdb created
- gpg: no ultimately trusted keys found
- gpg: starting migration from earlier GnuPG versions
- gpg: porting secret keys from '/etc/pacman.d/gnupg/secring.gpg' to gpg-agent
- gpg: migration succeeded
- ==> Generating pacman master key. This may take some time.
- gpg: Generating pacman keyring master key...
- gpg: directory '/etc/pacman.d/gnupg/openpgp-revocs.d' created
- gpg: revocation certificate stored as '/etc/pacman.d/gnupg/openpgp-revocs.d/C9BE4066706054F52B071C02BFFBD190E359B4EE.rev'
- gpg: Done
- ==> Updating trust database...
- gpg: marginals needed: 3 completes needed: 1 trust model: pgp
- gpg: depth: 0 valid: 1 signed: 0 trust: 0-, 0q, 0n, 0m, 0f, 1u
- [gametest@gametest ~]$ sudo pacman-key --populate archlinux endeavouros
- ==> Appending keys from archlinux.gpg...
- ==> Appending keys from endeavouros.gpg...
- ==> Locally signing trusted keys in keyring...
- -> Locally signed 12 keys.
- ==> Importing owner trust values...
- gpg: setting ownertrust to 4
- gpg: setting ownertrust to 4
- gpg: setting ownertrust to 4
- gpg: inserting ownertrust of 4
- gpg: setting ownertrust to 4
- gpg: setting ownertrust to 4
- gpg: setting ownertrust to 4
- gpg: setting ownertrust to 4
- gpg: setting ownertrust to 4
- gpg: setting ownertrust to 4
- gpg: setting ownertrust to 4
- gpg: setting ownertrust to 4
- ==> Disabling revoked keys in keyring...
- -> Disabled 45 keys.
- ==> Updating trust database...
- gpg: marginals needed: 3 completes needed: 1 trust model: pgp
- gpg: depth: 0 valid: 1 signed: 12 trust: 0-, 0q, 0n, 0m, 0f, 1u
- gpg: depth: 1 valid: 12 signed: 102 trust: 0-, 0q, 0n, 12m, 0f, 0u
- gpg: depth: 2 valid: 78 signed: 29 trust: 78-, 0q, 0n, 0m, 0f, 0u
- gpg: next trustdb check due at 2024-11-18
- [gametest@gametest ~]$ sudo pacman -Syy archlinux-keyring endeavouros-keyring
- :: Synchronizing package databases...
- core
- core 116.2 KiB 672 KiB/s 00:00 [-------------] 100%
- extra 7.5 MiB 2.75 MiB/s 00:03 [-------------] 100%
- multilib 133.5 KiB 835 KiB/s 00:00 [-------------] 100%
- endeavouros 14.2 KiB 48.0 KiB/s 00:00 [-------------] 100%
- warning: archlinux-keyring-20241015-1 is up to date -- reinstalling
- resolving dependencies...
- looking for conflicting packages...
- warning: insufficient columns available for table display
- Packages (2) archlinux-keyring-20241015-1
- endeavouros-keyring-20231222-1
- Total Download Size: 0.02 MiB
- Total Installed Size: 1.68 MiB
- Net Upgrade Size: 0.00 MiB
- :: Proceed with installation? [Y/n]
- :: Retrieving packages...
- endeavouros-keyr... 21.1 KiB 285 KiB/s 00:00 [-------------] 100%
- (2/2) checking keys in keyring [-------------] 100%
- (2/2) checking package integrity [-------------] 100%
- error: endeavouros-keyring: signature from "manuel <[email protected]>" is unknown trust
- :: File /var/cache/pacman/pkg/endeavouros-keyring-20231222-1-any.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.
- [gametest@gametest ~]$ sudo pacman -U /var/cache/pacman/pkg/{archlinux,endeavouros}-keyring
- loading packages...
- error: '/var/cache/pacman/pkg/archlinux-keyring': could not find or read package
- error: '/var/cache/pacman/pkg/endeavouros-keyring': could not find or read package
- [gametest@gametest ~]$ sudo rm /var/cache/pacman/pkg/archlinux-keyring
- rm: cannot remove '/var/cache/pacman/pkg/archlinux-keyring': No such file or directory
- [gametest@gametest ~]$ sudo rm /var/cache/pacman/pkg/endeavouros-keyring
- rm: cannot remove '/var/cache/pacman/pkg/endeavouros-keyring': No such file or directory
- [gametest@gametest ~]$ sudo pacman -S endeavouros-keyring
- resolving dependencies...
- looking for conflicting packages...
- warning: insufficient columns available for table display
- Packages (1) endeavouros-keyring-20231222-1
- Total Download Size: 0.02 MiB
- Total Installed Size: 0.01 MiB
- Net Upgrade Size: 0.00 MiB
- :: Proceed with installation? [Y/n]
- :: Retrieving packages...
- endeavouros-keyr... 21.1 KiB 103 KiB/s 00:00 [-------------] 100%
- (1/1) checking keys in keyring [-------------] 100%
- (1/1) checking package integrity [-------------] 100%
- error: endeavouros-keyring: signature from "manuel <[email protected]>" is unknown trust
- :: File /var/cache/pacman/pkg/endeavouros-keyring-20231222-1-any.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.
- [gametest@gametest ~]$ sudo rm /var/cache/pacman/pkg/*.part
- rm: cannot remove '/var/cache/pacman/pkg/*.part': No such file or directory
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement