Created
September 23, 2023 10:55
-
-
Save mpolinowski/f8c98c3cf98dbe1b0ab2f0c6c379da28 to your computer and use it in GitHub Desktop.
ArchLinux Pacman: signature is unknown trust
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo pacman -S yay | |
error: yay: signature from "TNE <[email protected]>" is unknown trust | |
:: File /var/cache/pacman/pkg/yay-12.1.0-1-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)). | |
Do you want to delete it? [Y/n] | |
# get key ID D6C9442437365605 | |
sudo pacman-key --list-sigs TNE | |
# manually sign key | |
sudo pacman-key --recv-key D6C9442437365605 --keyserver keyserver.ubuntu.com | |
sudo pacman-key --lsign-key D6C9442437365605 |
error: tensorflow-opt-cuda: signature from "Sven-Hendrik Haase <[email protected]>" is invalid
:: File /var/cache/pacman/pkg/tensorflow-opt-cuda-2.15.0-4-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.
pacman-key -v /var/cache/pacman/pkg/tensorflow-opt-cuda-2.15.0-4-x86_64.pkg.tar.zst.sig --verbose 127 ✘
==> Checking /var/cache/pacman/pkg/tensorflow-opt-cuda-2.15.0-4-x86_64.pkg.tar.zst.sig... (detached)
gpg: Signature made Friday, December 01, 2023 PM04:53:50 HKT
gpg: using RSA key 8FC15A064950A99DD1BD14DD39E4B877E62EB91
pacman-key --list-keys 8FC15A064950A99DD1BD14DD39E4B877E62EB915 1 ✘
gpg: Note: trustdb not writable
pub rsa4096 2011-09-10 [SC]
8FC15A064950A99DD1BD14DD39E4B877E62EB915
uid [ full ] Sven-Hendrik Haase <[email protected]>
uid [ full ] Sven-Hendrik Haase <[email protected]>
uid [ full ] Sven-Hendrik Haase <[email protected]>
sudo pacman-key --recv-key 8FC15A064950A99DD1BD14DD39E4B877E62EB915 ✔
gpg: key 39E4B877E62EB915: 1 duplicate signature removed
gpg: key 39E4B877E62EB915: "Sven-Hendrik Haase <[email protected]>" 3 signatures cleaned
sudo pacman-key --lsign-key 8FC15A064950A99DD1BD14DD39E4B877E62EB915 ✔
-> Locally signed 1 keys.
==> Updating trust database...
gpg: next trustdb check due at 2024-01-21
Nothing of this helped this time with Tensorflow:
sudo rm -rf /etc/pacman.d/gnupg
sudo pacman-key --init
sudo pacman-key --populate
sudo pacman-key --refresh-keys
sudo pacman -Syyu
Do you really have uninstall, update, reinstall?
sudo pacman -R tensorflow-opt-cuda python-tensorflow-opt-cuda python-keras
sudo pacman -Syu
sudo pacman -S tensorflow-opt-cuda python-tensorflow-opt-cuda python-keras
Hmm reinstall also fails:
error: tensorflow-opt-cuda: signature from "Sven-Hendrik Haase <[email protected]>" is invalid
🤔
OK - a Manjaro issue: https://forum.manjaro.org/t/tensorflow-opt-cuda-signature-error/153169/17
$ sudo rm -r /etc/pacman.d/gnupg
$ sudo pacman-key --init
$ sudo pacman-key --populate archlinux
$ sudo pacman -S archlinux-keyring
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
sudo nano /etc/pacman.d/mirrorlist
sudo pacman-key --init
sudo pacman-key --populate archlinux
sudo pacman-key --refresh-keys
sudo pacman -Syy
sudo pacman -Syyu