yay -S tor-browser
…
Verifying source file signatures using ‘gpg’…
tor-browser-linux-x86_64-14.0.3.tar.xz … FAILED (unknown public key 157432CF78A65729)
==> ERROR: One or more PGP signatures could not be verified!
→ build error: tor-browser-bin-exit status 1
→ The following packages could not be installed - manual intervention is required:
tor-browser-bin - exit status 1
Have you tried every step of following page?:
https://discovery.endeavouros.com/signature-and-keyring/pacman-keyring-issues/2021/03/
Yes/ After this:
gpg: error reading key: No public key
:: PGP keys to import:
→ EF6E286DDA85EA2A4BA7DE684E2C6E8793298290, required by package: tor-browser-bin
:: Import? [Y/n]
:: Importing keys using GPG…
gpg: error retrieving from keyserver: No data
→ problem importing keys
I usually download Tor from here:
https://www.torproject.org/dist/torbrowser/14.0.3/tor-browser-linux-x86_64-14.0.3.tar.xz
Extract, and run…
Another resource:
I have tried to install it too and I also got an error regarding signatures. It seems the package is screwed.
Got it (after first attempt!):
gpg --auto-key-locate nodefault,wkd --locate-keys torbrowser@torproject.org
Run first, then try to install…
I tried to install from a tarball downloaded from the tor site. But it doesn’t start. All unpacked files for some reason have root rights, and changing the rights of each file is tedious. Although I unpacked in the user directory.But Tor can’t start with root rights.
[13:23] /home/pal >gpg --auto-key-locate nodefault,wkd --locate-keys torbrowser@torproject.org
gpg: Command not found.
[13:23] /home/pal >sudo gpg --auto-key-locate nodefault,wkd --locate-keys torbrowser@torproject.org
Password:
sudo: gpg: command not found
Do you have gnupg
installed? I thought it was always pre-installed.
gpg --auto-key-locate nodefault,wkd --locate-keys torbrowser@torproject.org 12:04:57
gpg: key 4E2C6E8793298290: "Tor Browser Developers (signing key) <torbrowser@torproject.org>" not changed
gpg: Total number processed: 1
gpg: unchanged: 1
pub rsa4096 2014-12-15 [C] [expires: 2027-07-15]
EF6E286DDA85EA2A4BA7DE684E2C6E8793298290
uid [ unknown] Tor Browser Developers (signing key) <torbrowser@torproject.org>
sub rsa4096 2024-07-15 [S] [expires: 2026-10-26]
Is what it should look like. Also run as user not root.
yay -S gnupg
warning: gnupg-2.4.7-1 is not deprecated – being reinstalled
dependency resolution…
checking conflicts…
Package (1) Old version New version Resize
core/gnupg 2.4.7-1 2.4.7-1 0.00 MiB
But your commamd not works:
gpg --auto-key-locate nodefault,wkd --locate-keys torbrowser@torproject.org
gpg: Command not found.
and tor also
Starting tor installed from tarball from tor site:
./start-tor-browser.desktop
Launching ‘./Browser/start-tor-browser --detach’…
…and that’s it, nothing goes further
Try to uninstall:
sudo pacman -Rdd gnupg
Reinstall:
sudo pacman -S gnupg
Then:
which gpg
Should return:
/usr/bin/gpg
Also:
echo $PATH
what does it return?
sudo pacman -Rdd gnupg
[sudo] password for pal:
Package (1) Old version Size change
gnupg 2.4.7-1 -10.02 MiB
Will free: 10.02 MiB
:: Remove these packages? [Y/n] y
:: Running pre-transaction hooks…
(1/1) Removing old entries from the info directory file…
:: Processing package changes…
(1/1) removing gnupg [--------------------------------------] 100%
:: Running post-transaction hooks…
(1/3) Reloading system manager configuration…
(2/3) Reloading user manager configuration…
(3/3) Arming ConditionNeedsUpdate…
sudo pacman -S gnupg
[sudo] password for pal:
resolving dependencies…
checking conflicts…
Package (1) New version Resizing
core/gnupg 2.4.7-1 10.02 MiB
Will install: 10.02 MiB
:: Proceed with installation? [Y/n] y
(1/1) checking keys [--------------------------------------] 100%
error: GPGME error: Invalid crypto engine
(1/1) checking package integrity [--------------------------------------] 100%
error: GPGME error: Invalid crypto engine
error: gnupg: required signature not found
:: File /var/cache/pacman/pkg/gnupg-2.4.7-1-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package(PGP signature)).
It looks like it’s a bug
Try and install from your cache, what I put earlier (here, removed) will not work…
There is also torbrowser-launcher
in the official repos which I am using without problems.