Error While Trying To Install Tor Browser From AUR

[nate@nate-ms7d32 ~]$ yay tor-browser-bin
1 aur/tor-browser-bin 13.5-1 (+1284 4.17) 
    Tor Browser Bundle: anonymous browsing using Firefox and Tor
==> Packages to install (eg: 1 2 3, 1-3 or ^4)
==> 1
AUR Explicit (1): tor-browser-bin-13.5-1
Sync Dependency (2): hunspell-1.7.2-1, dbus-glib-0.112-3
:: (1/1) Downloaded PKGBUILD: tor-browser-bin
  1 tor-browser-bin                  (Build Files Exist)
==> Packages to cleanBuild?
==> [N]one [A]ll [Ab]ort [I]nstalled [No]tInstalled or (1 2 3, 1-3, ^4)
==> 1
:: Deleting (1/1): /home/nate/.cache/yay/tor-browser-bin
HEAD is now at 76f4f0b Version bump to v13.5
  1 tor-browser-bin                  (Build Files Exist)
==> Diffs to show?
==> [N]one [A]ll [Ab]ort [I]nstalled [No]tInstalled or (1 2 3, 1-3, ^4)
==> 1
diff --git /home/nate/.cache/yay/tor-browser-bin/.gitignore /home/nate/.cache/yay/tor-browser-bin/.gitignore
new file mode 100644
index 0000000..2b4d286
--- /dev/null
+++ /home/nate/.cache/yay/tor-browser-bin/.gitignore
@@ -0,0 +1,9 @@
+pkg/
+src/
+
+# Source files
+tor-browser-linux*-*_*.tar.xz
+tor-browser-linux*-*_*.tar.xz.asc
+
+# Compressed package
+tor-browser-*-*.pkg.tar*
diff --git /home/nate/.cache/yay/tor-browser-bin/PKGBUILD /home/nate/.cache/yay/tor-browser-bin/PKGBUILD
new file mode 100644
index 0000000..63d931c
--- /dev/null
+++ /home/nate/.cache/yay/tor-browser-bin/PKGBUILD
@@ -0,0 +1,112 @@
+# Maintainer: grufo <madmurphy333 AT gmail DOT com>
+# Maintainer: Sebastian Jug <seb AT stianj DOT ug>
+# Contributor: midgard <arch.midgard AT janmaes DOT com>
+# Contributor: TrialnError <autumn-wind AT web DOT de>
+# Contributor: Yardena Cohen <yardenack AT gmail DOT com>
+# Contributor: Max Roder <maxroder AT web DOT de>
+# Contributor: BrLi
+
+#
+# Before running makepkg, you must do this (as normal user):
+#
+#     gpg --auto-key-locate nodefault,wkd --locate-keys torbrowser@torproject.org
+#
+# If you want to update tor-browser from AUR without AUR helpers you can run in a terminal:

:: Proceed with install? [Y/n] y
==> Making package: tor-browser-bin 13.5-1 (Mon 24 Jun 2024 17:45:14 BST)
==> Retrieving sources...
  -> Found tor-browser.desktop.in
  -> Found tor-browser.in
  -> Found tor-browser.png
  -> Found tor-browser.svg
  -> Downloading tor-browser-linux-x86_64-13.5.tar.xz...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  111M  100  111M    0     0  72.2M      0  0:00:01  0:00:01 --:--:-- 72.1M
  -> Downloading tor-browser-linux-x86_64-13.5.tar.xz.asc...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   833  100   833    0     0  10851      0 --:--:-- --:--:-- --:--:-- 10960
==> WARNING: Skipping verification of source file PGP signatures.
==> Validating source files with sha256sums...
    tor-browser.desktop.in ... Passed
    tor-browser.in ... Passed
    tor-browser.png ... Passed
    tor-browser.svg ... Passed
==> Validating source_x86_64 files with sha256sums...
    tor-browser-linux-x86_64-13.5.tar.xz ... Passed
    tor-browser-linux-x86_64-13.5.tar.xz.asc ... Skipped
:: (1/1) Parsing SRCINFO: tor-browser-bin
gpg: directory '/home/nate/.gnupg' created
gpg: /home/nate/.gnupg/trustdb.gpg: trustdb created
gpg: error reading key: No public key

 :: PGP keys need importing:
 -> EF6E286DDA85EA2A4BA7DE684E2C6E8793298290, required by: tor-browser-bin
:: Import? [Y/n] y
:: Importing keys with gpg...
gpg: keyserver receive failed: No data
 -> problem importing keys
[nate@nate-ms7d32 ~]$  gpg --auto-key-locate nodefault,wkd --locate-keys torbrowser@torproject.org
gpg: key 4E2C6E8793298290: public key "Tor Browser Developers (signing key) <torbrowser@torproject.org>" imported
gpg: Total number processed: 1
gpg:               imported: 1
pub   rsa4096 2014-12-15 [C] [expires: 2025-07-21]
      EF6E286DDA85EA2A4BA7DE684E2C6E8793298290
uid           [ unknown] Tor Browser Developers (signing key) <torbrowser@torproject.org>
sub   rsa4096 2021-09-17 [S] [expires: 2024-08-23]

can i have some help please

You could use the following package from Arch’s official repo to download and install TOR browser: https://archlinux.org/packages/extra/any/torbrowser-launcher/

4 Likes

I couldn’t get it to install either. Had to run this command for the Key error and then it installed.

gpg --auto-key-locate nodefault,wkd --locate-keys torbrowser@torproject.org
1 Like