Unable to update fedora-33 template

I tried to update fedora-33 template I just installed as follows:

$ sudo qubesctl --show-output --skip-dom0 --targets=fedora-33 state.sls update.qubes-vm
    fedora-33:
          ----------
          _error:
              Failed to return clean data
          retcode:
              1
          stderr:
              Traceback (most recent call last):
                File "/var/tmp/.root_dd8a91_salt/salt-call", line 27, in <module>
                  salt_call()
                File "/var/tmp/.root_dd8a91_salt/pyall/salt/scripts.py", line 445, in salt_call
                  client.run()
                File "/var/tmp/.root_dd8a91_salt/pyall/salt/cli/call.py", line 48, in run
                  caller = salt.cli.caller.Caller.factory(self.config)
                File "/var/tmp/.root_dd8a91_salt/pyall/salt/cli/caller.py", line 64, in factory
                  return ZeroMQCaller(opts, **kwargs)
                File "/var/tmp/.root_dd8a91_salt/pyall/salt/cli/caller.py", line 329, in __init__
                  super(ZeroMQCaller, self).__init__(opts)
                File "/var/tmp/.root_dd8a91_salt/pyall/salt/cli/caller.py", line 89, in __init__
                  self.minion = salt.minion.SMinion(opts)
                File "/var/tmp/.root_dd8a91_salt/pyall/salt/minion.py", line 912, in __init__
                  opts["grains"] = salt.loader.grains(opts)
                File "/var/tmp/.root_dd8a91_salt/pyall/salt/loader.py", line 825, in grains
                  ret = funcs[key]()
                File "/var/tmp/.root_dd8a91_salt/pyall/salt/grains/core.py", line 2384, in ip_fqdn
                  ret["ipv6"] = salt.utils.network.ip_addrs6(include_loopback=True)
                File "/var/tmp/.root_dd8a91_salt/pyall/salt/utils/network.py", line 1353, in ip_addrs6
                  return _ip_addrs(interface, include_loopback, interface_data, "inet6")
                File "/var/tmp/.root_dd8a91_salt/pyall/salt/utils/network.py", line 1333, in _ip_addrs
                  ret.add(addr)
                File "/usr/lib64/python3.9/ipaddress.py", line 1920, in __hash__
                  return hash((self._ip, self._scope_id))
              AttributeError: _scope_id
          stdout:

what does this mean?

Why not just run the Qubes Update application?

Have you updated the template for the mgmtVM to fedora-33?

1 Like

no, It worked after I changed it, Thanks!

it showed the same error