On Monday, August 10, 2020 at 6:00:21 PM UTC+2 TheGardner wrote:
> I recently got some templates (bullseye, kali and Debian-11) installed on > my system, but I can't get them updated. So speaking first about Denian-11, > I always get the following message, when I try to update the qube via > "Update Qube" function: > > > > *Failed to apply DSA-4371 fix: dpkg-query: package 'libapt-pkg5.0' is not > installed and no information is availableUse dpkg --info (= dpkg-deb > --info) to examine archive files.* > *Error: Failed to get apt version.* > > Anyone, who could point me to the next steps to get this working? dpkg > --info and/or dpkg-deb --info didn't help to find out, whats wrong here. > > btw. a 'sudo qubes-dom0-update qubes-template-debian-11' always brings up > a 'No match for argument qubes-template-debian-11' altough my Debian11 > template is called Debian-11 > > Thanks & Cheers > Steffen > Did you fix it? I can update my Debian-11 template by clicking on the update arrow in qubes manager, but not via the tray icon. It executes: [user@dom0 ~]$ sudo qubesctl --skip-dom0 --targets=debian-11 --show-output state.sls update.qubes-vm debian-11: ---------- _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/lib/python3.9/ipaddress.py", line 1920, in __hash__ return hash((self._ip, self._scope_id)) AttributeError: _scope_id stdout: [user@dom0 ~]$ and fails... Any idea? -- 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/20169336-da1a-42cb-bab5-ec9370416cc9n%40googlegroups.com.