torbrowser script bug Not working

Hello, this is my first time using whonix, i installed it on virtualbox 6.1.12 and my computer OS is windows 10.
Before launching the browser on workstation, the only thing i did was to make the suggested updates.

“… Please update Whonix-Gateway and Whonix-Workstation: (Open a terminal, Start Menu -> System -> Terminal.) sudo apt-get-update-plus dist-upgrade”

after that i tried to launch the browser from the workstation but i got the “/usr/bin/torbrowser script bug.” error

I tried to launch it through the terminal, but got the same error

"
cp: failed to access ‘/home/user/.tb/tor-browser’: Permission denied
[ERROR] [torbrowser] /usr/bin/torbrowser script bug.

No panic. Nothing is broken. Just some rare condition has been hit.
Try again later. If this is a transient issue, it can be safely ignored.

There is likely a solution for this problem.

  • Please see the Whonix News. ##
  • Whonix User Help Forum. ##
  • And Whonix Documentation. ##

It may or may not be possible to fix but further information may be required.

  • Try start from command line. ##
  • Try start from command line with debugging enabled. ##
  • If you don’t mind to repair that Tor Browser install, reinstall of Tor Browser would also likely solve this. ##

Debugging information:

BASH_COMMAND: cp --verbose --recursive --no-clobber “/var/cache/tb-binary/$tb_install_folder_dot/$tb_browser_name” “$tb_browser_folder”
exit_code: 1

tb_browser_folder: /home/user/.tb/tor-browser

tb_user_js_target_file: /home/user/.tb/tor-browser/Browser/TorBrowser/Data/Browser/profile.default/user.js

output: /usr/lib/msgcollector/msgcollector
output_opts: --icon /usr/share/icons/anon-icon-pack/tbupdate.ico --parentpid 9745 --identifier torbrowser --parenttty /dev/pts/1 --whoami user
progressbaridx:

Experts only:
bash -x torbrowser
"

launching it in debug mode i get this message

“bash: /home/user/.tb/tor-browser/Browser/start-tor-browser: Permission denied”

I checked the directory from the file manger, but the “.tb” directory on “/home/user/” is empty i don’t know if this means anything…

This is what i get from whonixcheck

"
[INFO] [whonixcheck] Connected to Tor.
[INFO] [whonixcheck] Whonix is produced independently of, with no guarantee from, The Tor Project. Whonix is a research project. ##
[INFO] [whonixcheck] Whonix APT Repository: Enabled.
When the Whonix team releases BUSTER updates,
they will be AUTOMATICALLY installed (when you run apt-get dist-upgrade)
along with updated packages from the Debian team. Please
read ## to understand the risk.
If you want to change this, use:
sudo whonix_repository
[INFO] [whonixcheck] Debian Package Update Check: Checking for software updates via apt-get… ( Documentation: ## )
[INFO] [whonixcheck] Debian Package Update Check Result: No updates found via apt-get.
[INFO] [whonixcheck] Please donate!
See: ##
"

Hope you can help me. Thank you

I have now trid to update it and to 9.5.3 but can’t do it

"
INFO: Auto detecting ARCH…
INFO: ARCH x86_64 detected.
INFO: Auto detecting ARCH_DOWNLOAD…
INFO: ARCH_DOWNLOAD linux64 detected.
[INFO] [torbrowser-downloader] INFO: CURL_PROXY: --proxy socks5h://tb-updater_80e10e07-1a44-41e9-9056-c09570c0c61d:password@10.152.152.10:9115
[INFO] [torbrowser-downloader] INFO: tbb_version_previous_downloaded_version: 9.0.9
[INFO] [torbrowser-downloader] INFO: stdin connected to terminal, setting TB_INPUT to stdin, will use terminal for input, ok.
[INFO] [torbrowser-downloader] INFO: Alternatively, if want to run from command line, but still use the graphical user interface for input, you could add to command line: --input gui
INFO: not running inside Qubes DVM Template, ok.
INFO: tbb_download_alpha_version: false
INFO: Running Tor enabled check… Done.
INFO: Running Tor bootstrap check… Done.
INFO: Running connectivity check…
INFO: CURL_OUT_FILE: /home/user/.cache/tb/temp/tbb_remote_folder
INFO: Connectivity check succeeded.
INFO: Find out latest version… Downloading: ##…
INFO: CURL_OUT_FILE: /home/user/.cache/tb/RecommendedTBBVersions
INFO: Done, downloaded ##.
INFO: tbb_download_alpha_version: false
INFO: Lowest online version might be: 9.5
INFO: Currently installed version: None installed. (Folder /home/user/.tb/tor-browser does not exist.)
Only versions still considered secure should be listed here. Higher version numbers does not necessarily mean more secure here. Could be alpha or beta versions. In most cases you are best off choosing the lowest version number among them.
Learn more about this Download Confirmation Screen.

QUESTION: Download now?
n/9.5/9.5.1/9.5.3/10.0a1/10.0a2/10.0a4/10.0a5?
9.5.3
INFO: Version 9.5.3 chosen.
INFO: Tor Browser language variable TB_LANG was not yet set. Therefore defaulting TB_LANG to ‘en-US’, ok.
INFO: Because you are not using --nokilltb, now killing eventually still running instances of Tor Browser…
firefox: no process found
INFO: Downloading GPG signature… Will take a moment…
INFO: Downloading:
## … Will take a moment…
INFO: CURL_OUT_FILE: /home/user/.cache/tb/files/sha256sums-unsigned-build.txt.asc
INFO: Done, downloaded ##.
INFO: Downloading sha256sums file… Will take a moment…
INFO: Downloading:
## … Will take a moment…
INFO: CURL_OUT_FILE: /home/user/.cache/tb/files/sha256sums-unsigned-build.txt
INFO: Done, downloaded ##.
INFO: Downloading Tor Browser Bundle: 9.5.3
INFO: Downloading:
## … Will take a while…
INFO: CURL_OUT_FILE: /home/user/.cache/tb/files/tor-browser-linux64-9.5.3_en-US.tar.xz
INFO: Done, downloaded ##.
INFO: GPG signature verification… This will take a moment…
gpg: WARNING: no command supplied. Trying to guess what you mean …
GPG download signature could NOT be verified.
Tor Browser update failed! Try again later.

gpg_bash_lib_output_alright_status: false
gpg_bash_lib_output_failure:

gpg_bash_lib_output_diagnostic_message:

gpg_bash_lib_internal_gpg_verify_status_fd_file: /home/user/.cache/tb/gpgtmpdir/gpg_bash_lib_internal_gpg_verify_status_fd_file
gpg_bash_lib_internal_gpg_verify_output_file: /home/user/.cache/tb/gpgtmpdir/gpg_bash_lib_internal_gpg_verify_output_file
gpg_bash_lib_output_gpg_import_output:
gpg: keybox ‘/home/user/.cache/tb/gpgtmpdir/pubring.kbx’ created
gpg: key 4E2C6E8793298290: 1 duplicate signature removed
gpg: key 4E2C6E8793298290: 236 signatures not checked due to missing keys
gpg: key 4E2C6E8793298290: 1 signature reordered
gpg: /home/user/.cache/tb/gpgtmpdir/trustdb.gpg: trustdb created
gpg: key 4E2C6E8793298290: public key "Tor Browser Developers (signing key) " imported
gpg: Total number processed: 1
gpg: imported: 1
gpg: no ultimately trusted keys found
gpg_bash_lib_output_gpg_verify_output:
gpg: Signature made Fri 24 Jul 2020 04:16:54 PM UTC
gpg: using RSA key EB774491D9FF06E2
gpg: Good signature from "Tor Browser Developers (signing key) " [expired]
gpg: Note: This key has expired!
Primary key fingerprint: EF6E 286D DA85 EA2A 4BA7 DE68 4E2C 6E87 9329 8290
Subkey fingerprint: 1107 75B5 D101 FB36 BC6C 911B EB77 4491 D9FF 06E2
gpg_bash_lib_output_gpg_verify_status_fd_output:
[GNUPG:] NEWSIG
[GNUPG:] KEYEXPIRED 1598268349
[GNUPG:] KEYEXPIRED 1503660203
[GNUPG:] KEYEXPIRED 1598268349
[GNUPG:] KEYEXPIRED 1503660390
[GNUPG:] KEYEXPIRED 1598268349
[GNUPG:] KEYEXPIRED 1598268349
[GNUPG:] KEYEXPIRED 1598268349
[GNUPG:] KEYEXPIRED 1535109984
[GNUPG:] KEYEXPIRED 1598268349
[GNUPG:] KEY_CONSIDERED EF6E286DDA85EA2A4BA7DE684E2C6E8793298290 0
[GNUPG:] KEYEXPIRED 1599945844
[GNUPG:] SIG_ID Tmkg474j7SZzfKGjdcJp7+u1gzQ 2020-07-24 1595607414
[GNUPG:] KEYEXPIRED 1598268349
[GNUPG:] KEYEXPIRED 1503660203
[GNUPG:] KEYEXPIRED 1598268349
[GNUPG:] KEYEXPIRED 1503660390
[GNUPG:] KEYEXPIRED 1598268349
[GNUPG:] KEYEXPIRED 1598268349
[GNUPG:] KEYEXPIRED 1598268349
[GNUPG:] KEYEXPIRED 1535109984
[GNUPG:] KEYEXPIRED 1598268349
[GNUPG:] KEY_CONSIDERED EF6E286DDA85EA2A4BA7DE684E2C6E8793298290 0
[GNUPG:] EXPKEYSIG EB774491D9FF06E2 Tor Browser Developers (signing key)
[GNUPG:] VALIDSIG 110775B5D101FB36BC6C911BEB774491D9FF06E2 2020-07-24 1595607414 0 4 0 1 10 00 EF6E286DDA85EA2A4BA7DE684E2C6E8793298290
[GNUPG:] KEYEXPIRED 1598268349
[GNUPG:] KEYEXPIRED 1503660203
[GNUPG:] KEYEXPIRED 1598268349
[GNUPG:] KEYEXPIRED 1503660390
[GNUPG:] KEYEXPIRED 1598268349
[GNUPG:] KEYEXPIRED 1598268349
[GNUPG:] KEYEXPIRED 1598268349
[GNUPG:] KEYEXPIRED 1535109984
[GNUPG:] KEYEXPIRED 1598268349
[GNUPG:] KEY_CONSIDERED EF6E286DDA85EA2A4BA7DE684E2C6E8793298290 0
[GNUPG:] VERIFICATION_COMPLIANCE_MODE 23
"

If there is no user data in Tor Browser that matters… Delete the folder and fix access rights.

sudo rm -r /home/user/.tb
sudo chown --recursive user:user /home/user

Don’t run GUI applications as root as per
Safely Use Root Commands

And “doesn’t work → try sudo” → don’t do that. sudo / root is only to be used if that is the sensible thing to do. Otherwise home folder permissions might get broken.

the rm command was successful, but the chmod gives me an error

chmod: invalid mode: ‘user:user’
Try ‘chmod --help’ for more information.

Above command fixed.

A post was split to a new topic: tb-updater - GPG download signature could NOT be verified. - This key expired.