Hi,
I don’t manage to upgrade my Kali template.
This is what I did and what I get…
Kali Template Installation & Update/upgrade
dom0
In dom0:
sudo qubes-dom0-update --enablerepo=qubes-templates-community-testing qubes-template-kali
NB: Everything went fine.
Kali
Then, in the newly installed Kali template, according to https://forum.qubes-os.org/t/kali-template-for-4-0-updated/3782/5:
sudo apt-mark hold qubes-*
sudo apt update && sudo apt upgrade
sudo apt-mark unhold qubes-*
sudo apt update && sudo apt upgrade
sudo apt-mark hold qubes-*
Problem: Kali throw an error when upgrading
“Automatic” Qubes Updater
I get an error and if I click to expand the details:
Updating kali
Error on updating kali: Command '['sudo', 'qubesctl', '--skip-dom0', '--targets=kali', '--show-output', 'state.sls', 'update.qubes-vm']' returned non-zero exit status 20.
kali:
----------
ID: update
Function: pkg.uptodate
Result: False
Comment: Failed to get upgrades: Running scope as unit: run-rdcf8blahblahblah71b7.scope
E: Unable to correct problems, you have held broken packages.
Started: 18:45:35.122903
Duration: 4474.557 ms
Changes:
----------
ID: notify-updates
Function: cmd.run
Name: /usr/lib/qubes/upgrades-status-notify
Result: True
Comment: Command "/usr/lib/qubes/upgrades-status-notify" run
Started: 18:45:39.599465
Duration: 4274.483 ms
Changes:
----------
pid:
1485
retcode:
0
stderr:
stdout:
Summary for kali
------------
Succeeded: 1 (changed=1)
Failed: 1
------------
Total states run: 2
Total run time: 8.749 s
When trying to upgrade, on the Kali Template
The following packages have been kept back:
default-mysql-server exfat-fuse kali-linux-headless libinput-bin libinput10 libpulse0 libpulsedsp libsemanage-common libwacom-bin libwacom-common mariadb-client-10.5 mariadb-client-core-10.5
mariadb-server-10.5 mariadb-server-core-10.5 passwd php-common pulseaudio pulseaudio-qubes pulseaudio-utils qubes-gui-agent udisks2 xserver-xorg-core xserver-xorg-input-libinput xserver-xorg-input-qubes
xserver-xorg-qubes-common xserver-xorg-video-amdgpu xserver-xorg-video-ati xserver-xorg-video-dummyqbs xserver-xorg-video-fbdev xserver-xorg-video-intel xserver-xorg-video-nouveau xserver-xorg-video-radeon
xserver-xorg-video-vesa xserver-xorg-video-vmware
Question
What should I do to have my Kali template update seamlessly, either with Qubes’ built in Updater or manually in the template?
Thank you for your help! Much appreciated!!