Error updating whonix-ws-16

I just installed the Whonix 16 templates and I’m trying to update whonix-ws-16 (templateVM) using the Qubes update tool. I’m getting the following error:

EDIT: I’ve managed to update the template with ‘sudo apt upgrade’ but I’m still getting the error when trying to update using the qubes update utility.

Error on updating whonix-ws-16: Command ‘[‘sudo’, ‘qubesctl’, ‘–skip-dom0’, ‘–targets=whonix-ws-16’, ‘–show-output’, ‘state.sls’, ‘update.qubes-vm’]’ returned non-zero exit status 20
Failed to return clean data
Traceback (most recent call last):
File “/var/tmp/.root_dd8a91_salt/salt-call”, line 27, in
File “/var/tmp/.root_dd8a91_salt/pyall/salt/”, line 445, in salt_call
File “/var/tmp/.root_dd8a91_salt/pyall/salt/cli/”, line 48, in run
caller = salt.cli.caller.Caller.factory(self.config)
File “/var/tmp/.root_dd8a91_salt/pyall/salt/cli/”, line 64, in factory
return ZeroMQCaller(opts, **kwargs)
File “/var/tmp/.root_dd8a91_salt/pyall/salt/cli/”, line 329, in init
super(ZeroMQCaller, self).init(opts)
File “/var/tmp/.root_dd8a91_salt/pyall/salt/cli/”, line 89, in init
self.minion = salt.minion.SMinion(opts)
File “/var/tmp/.root_dd8a91_salt/pyall/salt/”, line 912, in init
opts[“grains”] = salt.loader.grains(opts)
File “/var/tmp/.root_dd8a91_salt/pyall/salt/”, line 825, in grains
ret = funcskey
File “/var/tmp/.root_dd8a91_salt/pyall/salt/grains/”, line 2384, in ip_fqdn
ret[“ipv6”] =
File “/var/tmp/.root_dd8a91_salt/pyall/salt/utils/”, line 1353, in ip_addrs6
return _ip_addrs(interface, include_loopback, interface_data, “inet6”)
File “/var/tmp/.root_dd8a91_salt/pyall/salt/utils/”, line 1333, in _ip_addrs
File “/usr/lib/python3.9/”, line 1920, in hash
return hash((self._ip, self._scope_id))
AttributeError: _scope_id

Does anybody now what’s happening?