opened 09:48PM - 10 Dec 21 UTC
closed 01:10AM - 18 Apr 22 UTC
T: bug
P: critical
C: mgmt
r4.0-dom0-stable
diagnosed
pr submitted
C: updates
### Qubes OS release
Qubes R4.1
xen_version : 4.14.3
Linux 5.15.5-…1.fc32.qubes.x86_64
Installed Packages:
grub2-qubes-theme.x86_64 5.14.4-2.fc32
kernel-latest-qubes-vm.x86_64 1000:5.14.15-1.fc25.qubes
kernel-latest-qubes-vm.x86_64 1000:5.15.5-1.fc25.qubes
kernel-latest-qubes-vm.x86_64 1000:5.15.5-1.fc32.qubes
kernel-qubes-vm.x86_64 1000:5.4.151-1.fc25.qubes
kernel-qubes-vm.x86_64 1000:5.4.156-1.fc25.qubes
kernel-qubes-vm.x86_64 1000:5.10.76-1.fc32.qubes
python2-qubesadmin.noarch 4.0.32-1.fc25
python2-qubesimgconverter.x86_64 4.0.31-1.fc25
python3-qubesadmin.noarch 4.1.18-1.fc32
python3-qubesdb.x86_64 4.1.11-1.fc32
python3-qubesimgconverter.x86_64 4.1.16-1.fc32
qubes-anaconda-addon.noarch 4.1.7-1.fc32
qubes-artwork.noarch 4.1.12-1.fc32
qubes-artwork-plymouth.noarch 4.1.12-1.fc32
qubes-audio-daemon.x86_64 4.1.19-1.fc32
qubes-audio-dom0.x86_64 4.1.19-1.fc32
qubes-core-admin-addon-whonix.noarch 4.0.2-1.fc32
qubes-core-admin-client.noarch 4.1.18-1.fc32
qubes-core-dom0.noarch 4.1.23-1.fc32
qubes-core-dom0-linux.x86_64 4.1.16-1.fc32
qubes-core-dom0-linux-kernel-install.x86_64 4.1.16-1.fc32
qubes-core-qrexec.x86_64 4.1.15-1.fc32
qubes-core-qrexec-dom0.x86_64 4.1.15-1.fc32
qubes-core-qrexec-libs.x86_64 4.1.15-1.fc32
qubes-db.x86_64 4.1.11-1.fc32
qubes-db-dom0.x86_64 4.1.11-1.fc32
qubes-db-libs.x86_64 4.1.11-1.fc32
qubes-desktop-linux-common.noarch 4.1.11-1.fc32
qubes-desktop-linux-manager.noarch 4.1.11-1.fc32
qubes-dist-upgrade.noarch 4.0.3-1.fc25
qubes-gpg-split-dom0.x86_64 2.0.54-1.fc32
qubes-gui-daemon.x86_64 4.1.19-1.fc32
qubes-gui-dom0.x86_64 4.1.19-1.fc32
qubes-img-converter-dom0.x86_64 1.2.11-1.fc32
qubes-input-proxy.x86_64 1.0.25-1.fc32
qubes-input-proxy-receiver.x86_64 1.0.25-1.fc32
qubes-libvchan-xen.x86_64 4.1.7-1.fc32
qubes-manager.noarch 4.1.22-1.fc32
qubes-menus.noarch 4.1.11-1.fc32
qubes-mgmt-salt.noarch 4.1.13-1.fc32
qubes-mgmt-salt-admin-tools.noarch 4.1.13-1.fc32
qubes-mgmt-salt-base.noarch 4.1.4-1.fc32
qubes-mgmt-salt-base-config.noarch 4.1.1-1.fc32
qubes-mgmt-salt-base-overrides-libs.noarch 4.0.2-1.fc25
qubes-mgmt-salt-base-topd.noarch 4.1.3-1.fc32
qubes-mgmt-salt-config.noarch 4.1.13-1.fc32
qubes-mgmt-salt-dom0.noarch 4.1.13-1.fc32
qubes-mgmt-salt-dom0-qvm.noarch 4.1.4-1.fc32
qubes-mgmt-salt-dom0-update.noarch 4.1.8-1.fc32
qubes-mgmt-salt-dom0-virtual-machines.noarch 4.1.15-1.fc32
qubes-pdf-converter-dom0.x86_64 2.1.12-1.fc32
qubes-release.noarch 4.1-0.27
qubes-release-notes.noarch 4.1-0.27
qubes-repo-templates.noarch 4.1.2-1.fc32
qubes-rpm-oxide.x86_64 0.2.2-1.fc32
qubes-usb-proxy-dom0.noarch 1.1.1-1.fc32
qubes-utils.x86_64 4.1.16-1.fc32
qubes-utils-libs.x86_64 4.1.16-1.fc32
xfce4-settings-qubes.x86_64 4.0.5-2.fc32
### Brief summary
After upgrade from Qubes 4.0 to 4.1 an update of dom0 and templates returned the following warning and error:
[WARNING ] /usr/lib/python3.8/site-packages/salt/utils/files.py:396: RuntimeWarning:
line buffering (buffering=1) isn't supported in binary mode, the default buffer size will be used
[ERROR ] Failed to import module localemod, this is due most likely to a syntax error
### Steps to reproduce
Perform a version upgrade of Qubes from version 4.0 to 4.1 then either run Qubes Update from the menu or:
sudo qubesctl --show-output state.sls update.qubes-dom0
sudo qubesctl --show-output --skip-dom0 --targets=debian-10,whonix-gw-16,whonix-ws-16 state.sls update.qubes-vm
sudo qubesctl --show-output --skip-dom0 --targets=fedora-34,fedora-34-unt state.sls update.qubes-vm
### Expected behavior
Updates complete without error.
### Actual behavior
After upgrade from Qubes 4.0 to 4.1 an update of dom0 and templates returned the following warning and error:
[WARNING ] /usr/lib/python3.8/site-packages/salt/utils/files.py:396: RuntimeWarning: line buffering (buffering=1) isn't supported in binary mode, the default buffer size will be used
f_handle = open(*args, **kwargs) # pylint: disable=resource-leakage
[ERROR ] Failed to import module localemod, this is due most likely to a syntax error:
Traceback (most recent call last):
File “/usr/lib/python3.8/site-packages/salt/loader.py”, line 1685, in _load_module
mod = spec.loader.load_module()
File “”, line 522, in _check_name_wrapper
File “”, line 1027, in load_module
File “”, line 852, in load_module
File “”, line 265, in _load_module_shim
File “”, line 702, in _load
File “”, line 671, in _load_unlocked
File “”, line 848, in exec_module
File “”, line 219, in _call_with_frames_removed
File “/var/cache/salt/minion/extmods/modules/localemod.py”, line 222, in
@decorators.which(‘locale-gen’)
AttributeError: module ‘salt.utils.decorators’ has no attribute ‘which’