On 2/8/22 09:58, badgateway wrote:
Hello list,

after upgrading from 4.0.4 to 4.1 my dom0 update seems broken:

$ sudo qubesctl update.qubes-dom0
[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 "<frozen importlib._bootstrap_external>", line 522, in _check_name_wrapper
   File "<frozen importlib._bootstrap_external>", line 1027, in load_module
   File "<frozen importlib._bootstrap_external>", line 852, in load_module
   File "<frozen importlib._bootstrap>", line 265, in _load_module_shim
   File "<frozen importlib._bootstrap>", line 702, in _load
   File "<frozen importlib._bootstrap>", line 671, in _load_unlocked
   File "<frozen importlib._bootstrap_external>", line 848, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed   File "/var/cache/salt/minion/extmods/modules/localemod.py", line 222, in <module>
     @decorators.which('locale-gen')
AttributeError: module 'salt.utils.decorators' has no attribute 'which'
'update.qubes-dom0' is not available.
DOM0 configuration failed, not continuing

I also found https://forum.qubes-os.org/t/error-failed-to-import-module-localemod/7938 which seems to be the exact same error.


On another note: I tried to install the new gentoo template by issuing `sudo qubes-dom0-update --enablerepo=qubes-templates-community qubes-template-gentoo`, which results in `qvm-template: error: template 'gentoo' not found.` Could this be related, maybe because dom0 repo cache cannot be updated because of the error mentioned above?


Kind regards


tracked here: https://github.com/QubesOS/qubes-issues/issues/7114

no solution I've seen yet. (I'm also affected)

--
Michael Carbone

Qubes OS | https://www.qubes-os.org
@QubesOS <https://www.twitter.com/QubesOS>

PGP fingerprint: D3D8 BEBF ECE8 91AC 46A7 30DE 63FC 4D26 84A7 33B4
my.pronoun.is/they

--
You received this message because you are subscribed to the Google Groups 
"qubes-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to qubes-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/48b7eb69-4701-fda0-d5b8-0a07ba7a2051%40qubes-os.org.

Attachment: OpenPGP_signature
Description: OpenPGP digital signature

Reply via email to