Upgrade 16 to 17 failed - no meta package

Hi,
I wanted to upgrade from qubes-whonix 16 to 17 and followed the guide. but after the release-upgrade command failed, because there is no meta package detected:

user@host:~$ sudo release-upgrade
+ set -e
+ set -o pipefail
+ shopt -s nullglob
+ version=2.0
+ [[ -v source_codename ]]
+ source_codename=bullseye
+ [[ -v target_codename ]]
+ target_codename=bookworm
+ true 'INFO: (release-upgrade version: 2.0) Release upgrade from Debian bullseye to Debian bookworm in progress...'
+ trap error_handler ERR
++ id -u
+ '[' 0 '!=' 0 ']'
+ export DEBDEBUG=1
+ DEBDEBUG=1
+ true 'INFO: Checking if tor@default systemd unit is running...'
+ systemctl --no-pager status tor@default
● tor@default.service - anon-ws-disable-stacked-tor
     Loaded: loaded (/lib/systemd/system/tor@default.service; enabled-runtime; vendor preset: enabled)
    Drop-In: /usr/lib/systemd/system/tor@default.service.d
             └─30_qubes.conf, 40_qubes.conf, 50_anon_ws_disable_stacked_tor.conf, 51_anon_ws_disable_stacked_tor.conf
     Active: active (running) since Thu 2024-04-04 10:47:05 UTC; 28min ago
       Docs: https://www.whonix.org/wiki/Dev/anon-ws-disable-stacked-tor
   Main PID: 682 (tor)
      Tasks: 2 (limit: 4620)
     Memory: 260.0K
        CPU: 10ms
     CGroup: /system.slice/system-tor.slice/tor@default.service
             ├─682 /bin/bash /usr/bin/tor --defaults-torrc /usr/share/tor/tor-service-defaults-torrc -f /etc…
             └─700 sleep infinity

Apr 04 10:47:05 host systemd[1]: Started anon-ws-disable-stacked-tor.
+ test -f /etc/apt/sources.list.d/debian.list
+ test -f /etc/apt/sources.list.d/derivative.list
++ cat /etc/apt/sources.list.d/derivative.list
++ grep --invert-match '^$'
++ grep --invert-match '\#'
+ derivative_list_contents='deb [signed-by=/usr/share/keyrings/derivative.asc] tor+https://deb.kicksecure.com bullseye main contrib non-free
deb [signed-by=/usr/share/keyrings/derivative.asc] tor+https://deb.whonix.org bullseye main contrib non-free'
+ '[' 'deb [signed-by=/usr/share/keyrings/derivative.asc] tor+https://deb.kicksecure.com bullseye main contrib non-free
deb [signed-by=/usr/share/keyrings/derivative.asc] tor+https://deb.whonix.org bullseye main contrib non-free' = '' ']'
+ echo 'deb [signed-by=/usr/share/keyrings/derivative.asc] tor+https://deb.kicksecure.com bullseye main contrib non-free
deb [signed-by=/usr/share/keyrings/derivative.asc] tor+https://deb.whonix.org bullseye main contrib non-free'
+ grep --quiet kicksecure.com
+ echo 'deb [signed-by=/usr/share/keyrings/derivative.asc] tor+https://deb.kicksecure.com bullseye main contrib non-free
deb [signed-by=/usr/share/keyrings/derivative.asc] tor+https://deb.whonix.org bullseye main contrib non-free'
+ grep --quiet whonix.org
+ meta_package_detect
+ '[' '!' '' = '' ']'
+ test -e /usr/share/qubes/marker-vm
+ test -e /usr/share/whonix/marker
+ test -e /usr/share/anon-gw-base-files/gateway
+ test -e /usr/share/anon-ws-base-files/workstation
+ meta_package=qubes-whonix-workstation
+ meta_package_installed_check
+ dpkg --status qubes-whonix-workstation
+ return 1
+ meta_package=
+ '[' '' = '' ']'
+ true 'ERROR: no installed meta package detected!'
+ exit 1

After that I tried to install this package, but that also failed:

user@host:~$ sudo apt install qubes-whonix-workstation
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
E: Unable to locate package qubes-whonix-workstation

The meta package was probably removed ages ago.

The Whonix 16 repository is no longer available. Therefore no longer installable.

Whonix 16 is unsupported.

If you’re late for release upgrades, after deprecation of old version, then you’ll risk is that release upgrade will be unsupported.

While in theory it’s fixable, it could be a rabbit hole costing a lot of time. Therefore unsupported.

Instead, I recommend a Template re-installation.

1 Like