With the current rolling kali, qubes-qube-manager can’t update with error:
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
The issue is, python on the fully updated kali-rolling stdout appends the following to the output of the dsa-4371 script:
┏━(Message from Kali developers)
┃ We have kept /usr/bin/python pointing to Python 2 for backwards
┃ compatibility. Learn how to change this and avoid this message:
┃ ⇒ https://www.kali.org/docs/general-use/python3-transition/
┗━(Run “touch ~/.hushlogin” to hide this message)
So, to fix, on the kali template:
sudo touch ~root/.hushlogin
Then qubes-qube-manager should be able to update the template normally.
Also, after extending the root partition using kde’s partition manager, the install of the kali template still failed because the root-pool ran out of space and killed all vm’s (no vm could boot).
I think the fix was:
sudo lvextend -L 100GB qubes_dom0/root-pool
100GB is quite large, so adjust that to suite your needs.