Didnt work again is short of it
1. had to do 2 to check if deleted
2.
$ 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
gpg: Generating pacman keyring master key...
gpg: key C534FE920138B22B marked as ultimately trusted
gpg: directory '/etc/pacman.d/gnupg/openpgp-revocs.d' created
gpg: revocation certificate stored as '/etc/pacman.d/gnupg/openpgp-revocs.d/CB0434314196EF89DB67A8B6C534FE920138B22B.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
3.
$ sudo pacman-key --populate archlinux manjaro
==> Appending keys from archlinux.gpg...
gpg: no valid OpenPGP data found.
==> Appending keys from manjaro.gpg...
==> Locally signing trusted keys in keyring...
-> Locally signing key B4663188A692DB1E45A98EE95BD96CC4247B52CC...
-> Locally signing key 76C6E477042BFE985CC220BD9C08A255442FAFF0...
-> Locally signing key 7C89F4D439B2BFACF425107B62443D89B35859F8...
-> Locally signing key 1E7908935AAB9A00D6B47503363DFFFD59152F77...
-> Locally signing key 04BB537F5BC2D399BFA72F8F17C752B61B2F2E90...
-> Locally signing key 5A97ED6B72418199F0C22B23137C934B5DCB998E...
-> Locally signing key 75C1B95A4D9514A57EB2DAE71817DC63CD3B5DF5...
-> Locally signing key 39F0EC1AE50B37E5F3196F09DAD3B211663CA268...
-> Locally signing key 2D14560CDCE6A75BB186DB758238651DDF5E0594...
-> Locally signing key 7A443CEE69B6B3777740E258084A7FC0035B1D49...
-> Locally signing key F66AD0FF0E57C561615A0901CEE477135C5872B0...
-> Locally signing key 35B4FF23EA9477582C2A0AF12B80869C5C0102A6...
-> Locally signing key E4CDFE50A2DA85D58C8A8C70CAA6A59611C7F07E...
-> Locally signing key 74C2F2CC05A0AB7D859839938934292D604F8BA2...
-> Locally signing key 3B794DE6D4320FCE594F4171279E7CF5D8D56EC8...
-> Locally signing key 77DC01C9971AC3C39A0626F72C089F09AC97B894...
-> Locally signing key 16DC688DF3EECC72323954237EC47C82A42D53A2...
-> Locally signing key 2C688B52E3FC0144B7484BABE3B3F44AC45EE0AA...
-> Locally signing key 22C903DE964E6FE321656E318DB9F8C18DF53602...
-> Locally signing key 0037505D6C3F595C37F5626AFD847358FF20E35C...
-> Locally signing key 688E8F82879D0E25CE541426150C200743ED46D8...
==> 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
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
gpg: setting ownertrust to 4
==> Disabling revoked keys in keyring...
-> Disabling key 540DE7083B89314CF70EA6F0C1B1AD0DA80EBF3E...
-> Disabling key FAA6840E8C3FC7F89BEE0DC8AC7AB10BCB6CDD17...
==> Updating trust database...
gpg: marginals needed: 3 completes needed: 1 trust model: pgp
gpg: depth: 0 valid: 1 signed: 20 trust: 0-, 0q, 0n, 0m, 0f, 1u
gpg: depth: 1 valid: 20 signed: 1 trust: 0-, 0q, 0n, 20m, 0f, 0u
gpg: next trustdb check due at 2022-04-20
4.
$ sudo pacman -Sc
Packages to keep:
All locally installed packages
Cache directory: /var/cache/pacman/pkg/
:: Do you want to remove all other packages from cache? [Y/n] y
removing old packages from cache...
error: missing package metadata in /var/cache/pacman/pkg/mhwd-nvidia-455.45.01-3-any.pkg.tar.zst
error: missing package metadata in /var/cache/pacman/pkg/manjaro-system-20210101-3-any.pkg.tar.zst
error: missing package metadata in /var/cache/pacman/pkg/mhwd-db-0.6.5-7-x86_64.pkg.tar.zst
error: missing package metadata in /var/cache/pacman/pkg/archlinux-keyring-20201210-1-any.pkg.tar.zst
Database directory: /var/lib/pacman/
:: Do you want to remove unused repositories? [Y/n] y
removing unused sync repositories...
5.
$ sudo pacman -Sy gnupg archlinux-keyring manjaro-keyring
:: Synchronizing package databases...
core is up to date
extra is up to date
community is up to date
multilib is up to date
:: Some packages should be upgraded first...
resolving dependencies...
looking for conflicting packages...
Packages (2) archlinux-keyring-20210110-1 manjaro-system-20210121-1
Total Download Size: 0.95 MiB
Total Installed Size: 1.31 MiB
:: Proceed with installation? [Y/n] y
:: Retrieving packages...
archlinux-keyring-2021... 950.2 KiB 5.04 MiB/s 00:00 [##############################] 100%
manjaro-system-2021012... 21.0 KiB 0.00 B/s 00:00 [##############################] 100%
(2/2) checking keys in keyring [##############################] 100%
downloading required keys...
:: Import PGP key 6D42BDD116E0068F, "Christian Hesse <
[email protected]>"? [Y/n] y
y
y(0/2) checking package integrity [------------------------------] 0(2/2) checking package integrity [##############################] 100%
error: archlinux-keyring: signature from "Christian Hesse (Arch Linux Package Signing) <
[email protected]>" is unknown trust
:: File /var/cache/pacman/pkg/archlinux-keyring-20210110-1-any.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n] y
error: failed to commit transaction (invalid or corrupted package)
Errors occurred, no packages were upgraded.
warning: manjaro-keyring-20201216-1 is up to date -- reinstalling
resolving dependencies...
looking for conflicting packages...
Packages (3) archlinux-keyring-20210110-1 gnupg-2.2.27-1 manjaro-keyring-20201216-1
Total Download Size: 3.33 MiB
Total Installed Size: 11.35 MiB
Net Upgrade Size: 0.93 MiB
:: Proceed with installation? [Y/n] y
:: Retrieving packages...
gnupg-2.2.27-1-x86_64 2.4 MiB 6.38 MiB/s 00:00 [##############################] 100%
archlinux-keyring-2021... 950.2 KiB 5.56 MiB/s 00:00 [##############################] 100%
(3/3) checking keys in keyring [##############################] 100%
downloading required keys...
:: Import PGP key FC1B547C8D8172C8, "Levente Polyak <
[email protected]>"? [Y/n] y
(3/3) checking package integrity [##############################] 100%
error: gnupg: signature from "Levente Polyak <
[email protected]>" is unknown trust
:: File /var/cache/pacman/pkg/gnupg-2.2.27-1-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n] y
error: archlinux-keyring: signature from "Christian Hesse (Arch Linux Package Signing) <
[email protected]>" is unknown trust
:: File /var/cache/pacman/pkg/archlinux-keyring-20210110-1-any.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n] y
error: failed to commit transaction (invalid or corrupted package)
Errors occurred, no packages were upgraded.
6.
$ sudo pacman-key --refresh-keys
gpg: refreshing 25 keys from hkps://hkps.pool.sks-keyservers.net
gpg: key 150C200743ED46D8: "Mark Wagie <
[email protected]>" 3 new signatures
gpg: key 150C200743ED46D8: "Mark Wagie <
[email protected]>" 1 signature cleaned
gpg: key 084A7FC0035B1D49: "Dan Johansen (Manjaro) <
[email protected]>" 2 new signatures
gpg: key 084A7FC0035B1D49: "Dan Johansen (Manjaro) <
[email protected]>" 9 signatures cleaned
gpg: key 084A7FC0035B1D49: "Dan Johansen (Manjaro) <
[email protected]>" 1 user ID cleaned
gpg: key CEE477135C5872B0: "Helmut Stult (schinfo) <
[email protected]>" 23 signatures cleaned
gpg: key 1817DC63CD3B5DF5: "Thanos Apostolou (manjaro maintainer) <
[email protected]>" not changed
gpg: key 8238651DDF5E0594: "Matti Hyttinen <
[email protected]>" 3 signatures cleaned
gpg: key 17C752B61B2F2E90: "Frede Hundewadt <
[email protected]>" not changed
gpg: key 9C08A255442FAFF0: "Jonathon Fernyhough <
[email protected]>" 3 new user IDs
gpg: key 9C08A255442FAFF0: "Jonathon Fernyhough <
[email protected]>" 4 new signatures
gpg: key E3B3F44AC45EE0AA: "artoo-manjaro <
[email protected]>" not changed
gpg: key 7EC47C82A42D53A2: "kendell clark <
[email protected]>" not changed
gpg: key 8DB9F8C18DF53602: "Stefano Capitani <
[email protected]>" 2 signatures cleaned
gpg: key DAD3B211663CA268: "Bernhard Landauer <
[email protected]>" 1 new user ID
gpg: key DAD3B211663CA268: "Bernhard Landauer <
[email protected]>" 3 new signatures
gpg: key DAD3B211663CA268: "Bernhard Landauer <
[email protected]>" 19 signatures cleaned
gpg: key 62443D89B35859F8: "artoo (manjaro.org) <
[email protected]>" 2 signatures cleaned
gpg: key 137C934B5DCB998E: "artoo <
[email protected]>" 2 signatures cleaned
gpg: key 2C089F09AC97B894: "Ramon Buldó <
[email protected]>" 2 signatures cleaned
gpg: key 8934292D604F8BA2: "Alexandru Ianu <
[email protected]>" 2 signatures cleaned
gpg: key 2B80869C5C0102A6: "Rob McCathie <
[email protected]>" 3 signatures cleaned
gpg: key 363DFFFD59152F77: "Roland Singer (Manjaro Linux) <
[email protected]>" 2 signatures cleaned
gpg: key CAA6A59611C7F07E: 4 signatures not checked due to missing keys
gpg: key CAA6A59611C7F07E: "Philip Müller (Called Little) <
[email protected]>" 1 new signature
gpg: key CAA6A59611C7F07E: "Philip Müller (Called Little) <
[email protected]>" 4 signatures cleaned
gpg: key 5BD96CC4247B52CC: "Guillaume Benoit (Guinux) <
[email protected]>" 2 signatures cleaned
gpg: key FD847358FF20E35C: "Anupam Basak <
[email protected]>" not changed
gpg: key FC1B547C8D8172C8: "Levente Polyak (anthraxx) <
[email protected]>" 5 new user IDs
gpg: key FC1B547C8D8172C8: "Levente Polyak (anthraxx) <
[email protected]>" 5 new signatures
gpg: key FC1B547C8D8172C8: "Levente Polyak (anthraxx) <
[email protected]>" 7 signatures cleaned
gpg: key A6234074498E9CEE: 1 duplicate signature removed
gpg: key A6234074498E9CEE: 1 signature reordered
gpg: key A6234074498E9CEE: "Christian Hesse <
[email protected]>" 1 new user ID
gpg: key A6234074498E9CEE: "Christian Hesse <
[email protected]>" 1 new signature
gpg: key A6234074498E9CEE: "Christian Hesse <
[email protected]>" 6 signatures cleaned
gpg: key 70FBB189B338D5DF: "Manjaro-ARM Build Server <
[email protected]>" 1 new signature
gpg: key 70FBB189B338D5DF: "Manjaro-ARM Build Server <
[email protected]>" 2 signatures cleaned
gpg: key 279E7CF5D8D56EC8: "Manjaro Build Server <
[email protected]>" 1 new signature
gpg: Total number processed: 24
gpg: unchanged: 5
gpg: new user IDs: 10
gpg: new signatures: 21
gpg: signatures cleaned: 91
gpg: user IDs cleaned: 1
gpg: marginals needed: 3 completes needed: 1 trust model: pgp
gpg: depth: 0 valid: 1 signed: 20 trust: 0-, 0q, 0n, 0m, 0f, 1u
gpg: depth: 1 valid: 20 signed: 4 trust: 0-, 0q, 0n, 20m, 0f, 0u
gpg: next trustdb check due at 2022-04-20
7.
$ sudo pacman -S audacity
:: Some packages should be upgraded first...
resolving dependencies...
looking for conflicting packages...
Packages (2) archlinux-keyring-20210110-1 manjaro-system-20210121-1
Total Download Size: 0.93 MiB
Total Installed Size: 1.31 MiB
:: Proceed with installation? [Y/n] y
:: Retrieving packages...
archlinux-keyring-2021... 950.2 KiB 5.07 MiB/s 00:00 [##############################] 100%
(2/2) checking keys in keyring [##############################] 100%
(2/2) checking package integrity [##############################] 100%
error: archlinux-keyring: signature from "Christian Hesse <
[email protected]>" is unknown trust
:: File /var/cache/pacman/pkg/archlinux-keyring-20210110-1-any.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n] y
error: failed to commit transaction (invalid or corrupted package)
Errors occurred, no packages were upgraded.
resolving dependencies...
looking for conflicting packages...
Packages (4) portsmf-234-2 suil-0.10.10-1 vamp-plugin-sdk-2.10.0-1 audacity-1:2.4.1-4
Total Download Size: 7.43 MiB
Total Installed Size: 30.85 MiB
:: Proceed with installation? [Y/n] y
:: Retrieving packages...
portsmf-234-2-x86_64 75.4 KiB 5.26 MiB/s 00:00 [##############################] 100%
suil-0.10.10-1-x86_64 31.9 KiB 10.4 MiB/s 00:00 [##############################] 100%
vamp-plugin-sdk-2.10.0... 234.8 KiB 4.59 MiB/s 00:00 [##############################] 100%
audacity-1:2.4.1-4-x86_64 7.1 MiB 6.14 MiB/s 00:01 [##############################] 100%
(4/4) checking keys in keyring [##############################] 100%
downloading required keys...
:: Import PGP key 7258734B41C31549, "David Runge <
[email protected]>"? [Y/n] y
:: Import PGP key 51E8B148A9999C34, "Evangelos Foutras <
[email protected]>"? [Y/n] y
(4/4) checking package integrity [##############################] 100%
error: suil: signature from "David Runge <
[email protected]>" is unknown trust
:: File /var/cache/pacman/pkg/suil-0.10.10-1-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n] y
error: vamp-plugin-sdk: signature from "David Runge <
[email protected]>" is unknown trust
:: File /var/cache/pacman/pkg/vamp-plugin-sdk-2.10.0-1-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n] y
error: portsmf: signature from "Evangelos Foutras <
[email protected]>" is unknown trust
:: File /var/cache/pacman/pkg/portsmf-234-2-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n] y
error: audacity: signature from "David Runge <
[email protected]>" is unknown trust
:: File /var/cache/pacman/pkg/audacity-1:2.4.1-4-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n] y
error: failed to commit transaction (invalid or corrupted package (PGP signature))
Errors occurred, no packages were upgraded.