Remove testing/unstable packages

Hi,

due to bugs i tried packages from testing/unstable. Since they did not resolve my problems, i want to revert back. How do i do this?

Steps to reproduce:
$ sudo qubes-dom0-update --enablerepo=qubes-dom0-current-testing
reboot, bugs still exist

$ sudo qubes-dom0-update --enablerepo=qubes-dom0-unstable
reboot, bugs still exist

How to downgrade from here?
Note: i did not update any special packages, just the few i automatically got from the 2 repos mentioned above.

Thanks in advance

I’m pretty sure --enablerepo=[...] only applies for that command. Simply stop using that flag.

Unfortunately it doesn’t work.

$ sudo qubes-dom0-update
Using sys-firewall as UpdateVM to download updates for Dom0; this may take some time…
Last metadata expiration check: 0:30:21 ago on Fri Sep 4 23:55:21 2020.
Dependencies resolved.
Nothing to do.
Complete!
No packages downloaded

Reading a bit about the fedora dnf documentation i think the command i want is:

$ sudo dnf history rollback 4

Unfortunately i get
Rollback to transaction 4, from Wed Aug 26 17:20:19 2020
Undoing the following transactions: 5, 6, 7, 8, 9, 10, 11, 12, 13, 14
Erase PyQt4-4.11.4-15.fc25.x86_64 @anaconda/rawhide
Erase dbus-python-1.2.4-2.fc25.x86_64 @anaconda/rawhide
Reinstall mesa-dri-drivers-17.0.5-3.fc25.x86_64 @qubes-dom0-cached
Erase pycairo-1.10.0-5.fc25.x86_64 @anaconda/rawhide
Erase python-xpyb-1.3.1-6.fc24.x86_64 @anaconda/rawhide
Erase python2-nose-1.3.7-11.fc25.noarch @anaconda/rawhide
Erase python2-pillow-3.4.2-1.fc25.x86_64 @anaconda/rawhide
Erase python2-qubesimgconverter-4.0.30-1.fc25.x86_64 @qubes-dom0-cached
Upgraded python3-gbulb-0.6.1-1.fc25.x86_64 @anaconda/rawhide
Upgrade 0.6.1-3.fc25.x86_64 @qubes-dom0-cached
Upgraded qubes-usb-proxy-dom0-1.0.28-1.fc25.noarch @qubes-dom0-cached
Upgrade 1.0.29-1.fc25.noarch @qubes-dom0-cached
Erase sip-4.18.1-1.fc25.x86_64 @anaconda/rawhide
Erase xfce4-settings-qubes-4.0.3-1.fc25.x86_64 @anaconda/rawhide
Reinstall xorg-x11-drivers-7.7-18.fc25.x86_64 @qubes-dom0-cached
Upgrade xorg-x11-drv-ati-18.0.1-1.1.fc25.x86_64 @qubes-dom0-cached
Upgraded xorg-x11-drv-ati-18.0.1-1.fc25.x86_64 @anaconda/rawhide
Upgrade xorg-x11-drv-intel-2.99.917-32.20171025.1.fc25.x86_64 @qubes-dom0-cached
Upgraded xorg-x11-drv-intel-2.99.917-32.20171025.fc25.x86_64 @anaconda/rawhide
Erase xss-lock-0.3.0-4.20140302git.fc25.x86_64 @anaconda/rawhide
Erase python2-numpy-1:1.11.2-1.fc25.x86_64 @anaconda/rawhide
Upgraded xorg-x11-drv-nouveau-1:1.0.15-4.fc25.x86_64 @anaconda/rawhide
Upgrade 1:1.0.16-4.fc25.x86_64 @qubes-dom0-cached
Erase kernel-qubes-vm-1000:4.19.142-1.pvops.qubes.x86_64 @qubes-dom0-cached
Upgraded python3-xen-2001:4.8.5-19.fc25.x86_64 @qubes-dom0-cached
Upgrade 2001:4.8.5-22.fc25.x86_64 @qubes-dom0-cached
Upgraded xen-2001:4.8.5-19.fc25.x86_64 @qubes-dom0-cached
Upgrade 2001:4.8.5-22.fc25.x86_64 @qubes-dom0-cached
Upgraded xen-hvm-2001:4.8.5-19.fc25.x86_64 @qubes-dom0-cached
Upgrade 2001:4.8.5-22.fc25.x86_64 @qubes-dom0-cached
Upgraded xen-hypervisor-2001:4.8.5-19.fc25.x86_64 @qubes-dom0-cached
Upgrade 2001:4.8.5-22.fc25.x86_64 @qubes-dom0-cached
Upgraded xen-libs-2001:4.8.5-19.fc25.x86_64 @qubes-dom0-cached
Upgrade 2001:4.8.5-22.fc25.x86_64 @qubes-dom0-cached
Upgraded xen-licenses-2001:4.8.5-19.fc25.x86_64 @qubes-dom0-cached
Upgrade 2001:4.8.5-22.fc25.x86_64 @qubes-dom0-cached
Upgraded xen-runtime-2001:4.8.5-19.fc25.x86_64 @qubes-dom0-cached
Upgrade 2001:4.8.5-22.fc25.x86_64 @qubes-dom0-cached
No package xorg-x11-drv-nouveau-1:1.0.15-4.fc25.x86_64 available.

Next time i run the command i get:
No package python2-numpy-1:1.11.2-1.fc25.x86_64 available.

When i run the command again:
No package python2-nose-0:1.3.7-11.fc25.noarch available.

You could better try qubes-dom0-update --action=downgrade <package>

Or you can get a list of available packages using
qubes-dom0-update --action=list --showduplicates <package>
and then install a specific version:
qubes-dom0-update <package>-version

3 Likes

$ sudo qubes-dom0-update --action=downgrade <pkg1> <pkg2> <pkg3> …

That’s what did the trick.
Thank you

1 Like