Correctly extract packages from transaction items: - old (pre DNF 4): iterate over item.installs() - new (DNF 4+): item.pkg The old DNF is not supported anymore, so do not care about it.
@@ -67,8 +67,7 @@ class QubesHooks(dnf.Plugin):
just_installed = self.base.transaction
# ...and filter them out of available updates
for item in just_installed:
- for pkg in item.installs():
- updates.discard(pkg)
+ updates.discard(item.pkg)
subprocess.call([
'/usr/lib/qubes/qrexec-client-vm',
'dom0',