When i run software update for Dom0 (qubes → qubes tools → qubes update) or use dom0 terminal the process occurs - i download a ton of updates (i am currently on 4.1) and then when it is time to install them (click y confirmation) and then i get
file /usr/lib.build-id/10/426e215ebe20c86b885515b0c3a93284e0a68 from install of kernel-devel-1000:5.10.96.1.fc32.qubes.x86_64 conflicts with file from package kernel-devel-1000:5.10.76-1.fc32.qubes-x86_64
^^ i get the above for about 20 other files
and then a big fat x next to dom0 indicating a failed update.
I’m not that familiar with salt, but I ran into a similar error when trying to upgrade dom0 with the qubes updater after manually installing kernel-devel. I’m still looking into the best way to fix it, but as a workaround you can manually uninstall kernel-devel from dom0, update dom0, then reinstall kernel-devel.
Removing kernel-devel also removed dkms and I had to reinstall both and rebuild the module. If this is why you installed kernel-devel you can follow these steps:
sudo qubesctl --show-output state.sls update.qubes-dom0
sudo qubes-dom0-update --clean -y
Reboot (you’ll need to resign your boot partition, choose a new default boot kernel and resign again in pureboot).
sudo qubes-dom0-update dkms kernel-devel
cd librem-ec-acpi-dkms-master
Edit dkms.conf and increment the package version to a new number like 1.1
Reboot and you’ll have to go through resigning in pureboot again.
There’s probably a better way to solve this but I need to spend more time looking into it. If you installed kernel-devel for some other reason you might need to reinstall/reconfigure whatever needed kernel-devel.
Doesn’t look like a problem with the Qubes Update tool or Salt update system itself. Rather, it looks like the problem is this set of package conflicts with kernel-devel. If you ever installed any packages in dom0, that might be why this happened. I don’t know any more than that, sorry.