I see this issue has been closed on GitHub. However, I’m running into issues with in-place upgrades of Debian 10 → 11. The templates installed from dom0 don’t seem to have problems, but upgrading existing Debian 10 templates does.
This happens on R4.0.4
Following the in-place upgrade instruction on the Qubes site for Bullseye, if I select the default (N) for Configuration file '/etc/apt/sources.list.d/qubes-r4.list'
I get issues with LOCALE
Configuration file '/etc/apt/sources.list.d/qubes-r4.list'
==> Modified (by you or by a script) since installation.
==> Package distributor has shipped an updated version.
What would you like to do about it ? Your options are:
Y or I : install the package maintainer's version
N or O : keep your currently-installed version
D : show the differences between the versions
Z : start a shell to examine the situation
The default action is to keep your current version.
*** qubes-r4.list (Y/I/N/O/D/Z) [default=N] ?
Removed /etc/systemd/system/default.target.wants/haveged.service.
Removed /etc/systemd/system/sysinit.target.wants/haveged.service.
Created symlink /etc/systemd/system/sysinit.target.wants/haveged.service → /lib/ systemd/system/haveged.service.
Leaving 'diversion of /etc/init/plymouth-shutdown.conf to /etc/init/plymouth-shu tdown.conf.qubes-disabled by qubes-core-agent'
Leaving 'diversion of /etc/init/prefdm.conf to /etc/init/prefdm.conf.qubes-disab led by qubes-core-agent'
Leaving 'diversion of /etc/init/splash-manager.conf to /etc/init/splash-manager. conf.qubes-disabled by qubes-core-agent'
Leaving 'diversion of /etc/init/start-ttys.conf to /etc/init/start-ttys.conf.qub es-disabled by qubes-core-agent'
Leaving 'diversion of /etc/init/tty.conf to /etc/init/tty.conf.qubes-disabled by qubes-core-agent'
Leaving 'diversion of /etc/init/serial.conf to /etc/init/serial.conf.qubes-orig by qubes-core-agent'
qubes-sync-time.service is a disabled or a static unit, not starting it.
qubes-update-check.service is a disabled or a static unit, not starting it.
Setting up imagemagick (8:6.9.11.60+dfsg-1.3) ...
Setting up libclutter-1.0-0:amd64 (1.26.4+dfsg-2) ...
Setting up libclutter-imcontext-0.1-0:amd64 (0.1.4-3.1) ...
Setting up libclutter-imcontext-0.1-bin (0.1.4-3.1) ...
Setting up tasksel-data (3.68) ...
Setting up tasksel (3.68) ...
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
Processing triggers for hicolor-icon-theme (0.17-2) ...
Processing triggers for libglib2.0-0:amd64 (2.58.3-2+deb10u3) ...
Processing triggers for libc-bin (2.31-13+deb11u2) ...
Setting up qubes-gui-agent (4.0.38-1+deb11u1) ...
Setting up qubes-usb-proxy (1.1.1+deb11u1) ...
Setting up qubes-core-agent-networking (4.0.63-1+deb11u1) ...
Setting up qubes-vm-dependencies (4.0.12-1+deb11u1) ...
Setting up tracker-extract (2.3.5-2.1) ...
Created symlink /etc/systemd/user/default.target.wants/tracker-extract.service → /usr/lib/systemd/user/tracker-extract.service.
Setting up tracker-miner-fs (2.3.5-2.1) ...
Created symlink /etc/systemd/user/default.target.wants/tracker-miner-fs.service → /usr/lib/systemd/user/tracker-miner-fs.service.
Processing triggers for dictionaries-common (1.28.4) ...
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
Processing triggers for ca-certificates (20210119) ...
Updating certificates in /etc/ssl/certs...
0 added, 0 removed; done.
Running hooks in /etc/ca-certificates/update.d...
done.
Processing triggers for dbus (1.12.20-2) ...
W: Operation was interrupted before it could finish
I am able to proceed successfully to sudo apt dist-upgrade
. Upon restarting the Deb 11 template I get Warning: couldn't set locale.
in the terminal before the prompt.
If I select Y or I here:
Configuration file '/etc/apt/sources.list.d/qubes-r4.list'
==> Modified (by you or by a script) since installation.
==> Package distributor has shipped an updated version.
What would you like to do about it ? Your options are:
Y or I : install the package maintainer's version
N or O : keep your currently-installed version
D : show the differences between the versions
Z : start a shell to examine the situation
The default action is to keep your current version.
*** qubes-r4.list (Y/I/N/O/D/Z) [default=N] ?
Then at sudo apt dist-upgrade
the template will crash and close. I am unable to open a terminal or do anything with the template after that. This happens with in-place upgrades of Debian 11 full and minimal templates.