Just FYI, tb-updater is broken again and cannot find the signature(s) for ver.13 of the Tor browser. So we’re stuck to upgrading (or not…) the Tor Browser every time a new disposable (Whonix-based) is launched.
You can edit the /usr/bin/update-torbrowser in whonix-ws template and remove the if where you find this line: ## TODO: After Tor Browser 13.0 was released as stable, the "else" part is probably no longer required.
Here is a diff for example: [workstation user ~]% diff update-torbrowser-original update-torbrowser-fixed
688,699c688,693
< ## TODO: After Tor Browser 13.0 was released as stable, the "else" part is probably no longer required.
< if [ "$tbb_download_alpha_version" = "true" ]; then
< if [ "$ARCH" = "x86_64" ]; then
< [ -n "$ARCH_DOWNLOAD" ] || ARCH_DOWNLOAD="linux-x86_64"
< elif [ "$ARCH" = "i686" ]; then
< [ -n "$ARCH_DOWNLOAD" ] || ARCH_DOWNLOAD="linux-i686"
< elif [ "$ARCH" = "arm64" ]; then
< [ -n "$ARCH_DOWNLOAD" ] || ARCH_DOWNLOAD="linux-arm64"
< else
< [ -n "$ARCH_DOWNLOAD" ] || ARCH_DOWNLOAD="linux-$ARCH"
< echo "WARNING: Guessing. Setting ARCH_DOWNLOAD to '$ARCH_DOWNLOAD'. If functional, this is probably OK."
< fi
---
> if [ "$ARCH" = "x86_64" ]; then
> [ -n "$ARCH_DOWNLOAD" ] || ARCH_DOWNLOAD="linux-x86_64"
> elif [ "$ARCH" = "i686" ]; then
> [ -n "$ARCH_DOWNLOAD" ] || ARCH_DOWNLOAD="linux-i686"
> elif [ "$ARCH" = "arm64" ]; then
> [ -n "$ARCH_DOWNLOAD" ] || ARCH_DOWNLOAD="linux-arm64"
701,710c695,696
< if [ "$ARCH" = "x86_64" ]; then
< [ -n "$ARCH_DOWNLOAD" ] || ARCH_DOWNLOAD="linux64"
< elif [ "$ARCH" = "i686" ]; then
< [ -n "$ARCH_DOWNLOAD" ] || ARCH_DOWNLOAD="linux32"
< elif [ "$ARCH" = "arm64" ]; then
< [ -n "$ARCH_DOWNLOAD" ] || ARCH_DOWNLOAD="linux-arm64"
< else
< [ -n "$ARCH_DOWNLOAD" ] || ARCH_DOWNLOAD="$ARCH"
< echo "WARNING: Guessing. Setting ARCH_DOWNLOAD to '$ARCH_DOWNLOAD'. If functional, this is probably OK."
< fi
---
> [ -n "$ARCH_DOWNLOAD" ] || ARCH_DOWNLOAD="linux-$ARCH"
> echo "WARNING: Guessing. Setting ARCH_DOWNLOAD to '$ARCH_DOWNLOAD'. If functional, this is probably OK."
1379,1386c1365,1366
< ## TODO: After Tor Browser 13.0 was released as stable, the "else" part is probably no longer required.
< if [ "$tbb_download_alpha_version" = "true" ]; then
< [ -n "$TBB_SIG_FILENAME" ] || TBB_SIG_FILENAME="tor-browser-${ARCH_DOWNLOAD}-${tbb_version}.tar.xz.asc"
< [ -n "$TBB_PACKAGE_FILENAME" ] || TBB_PACKAGE_FILENAME="tor-browser-${ARCH_DOWNLOAD}-${tbb_version}.tar.xz"
< else
< [ -n "$TBB_SIG_FILENAME" ] || TBB_SIG_FILENAME="tor-browser-${ARCH_DOWNLOAD}-${tbb_version}_ALL.tar.xz.asc"
< [ -n "$TBB_PACKAGE_FILENAME" ] || TBB_PACKAGE_FILENAME="tor-browser-${ARCH_DOWNLOAD}-${tbb_version}_ALL.tar.xz"
< fi
---
> [ -n "$TBB_SIG_FILENAME" ] || TBB_SIG_FILENAME="tor-browser-${ARCH_DOWNLOAD}-${tbb_version}.tar.xz.asc"
> [ -n "$TBB_PACKAGE_FILENAME" ] || TBB_PACKAGE_FILENAME="tor-browser-${ARCH_DOWNLOAD}-${tbb_version}.tar.xz"
Looking at your diff, seems like there is a simpler way: you can just edit /usr/bin/update-torbrowser and add the correct ARCH_DOWNLOAD=“xxxx” to the top of the script, for less editing
For example, ARCH_DOWNLOAD="linux-x86_64" for most Qubes users.
Edit: oops, you need to hard-code TBB_SIG_FILENAME and TBB_PACKAGE_FILENAME too… so maybe same amount of typing…