Can't get Debian-11 template updated

79 views
Skip to first unread message

TheGardner

unread,
Aug 10, 2020, 12:00:21 PM8/10/20
to qubes-users
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 available
Use 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

awokd

unread,
Aug 10, 2020, 6:39:37 PM8/10/20
to qubes...@googlegroups.com
TheGardner:
> 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

Debian 11 is not supported under Qubes yet. It's usually a month or two
after it fully releases out of freeze (not scheduled to start until Jan.
2021) before it is supported. Either switch back to 10 or review the
code and package dependencies to determine how to make it compatible
with 11.

--
- don't top post
Mailing list etiquette:
- trim quoted reply to only relevant portions
- when possible, copy and paste text instead of screenshots

Peter Palensky

unread,
Apr 30, 2021, 3:59:44 AM4/30/21
to qubes-users
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?
 

TheGardner

unread,
Apr 30, 2021, 11:51:45 AM4/30/21
to qubes-users
After Debian-11 isn't supported yet under Qubes and so I didn't took a deeper look into this.
Still on Debian-10 and the Debial-11 qube was deleted right after awokd's post.

Sorry, can't help here.
Reply all
Reply to author
Forward
0 new messages