Unable to downgrade from 7.2 to 7.1
Hi
I'm running into trouble with an application after upgrading to 7.2
Now i would like to downgrade this server, but can't ...
All dependencies are OK, but the command "yum history undo xx" stops with :
Error: Trying to remove "systemd", which is protected
Has anyone a tip / hint / workaround to proceed with the undo ?
Kind regards,
Norbert
Responses
Hi Norbert,
If (and only if) "yum history undo ..." isn't actually going to uninstall systemd completely but it's really only downgrading it, like here:
---> Package systemd.x86_64 0:208-20.el7 will be a downgrade
---> Package systemd.x86_64 0:219-19.el7 will be erased
---> Package systemd-libs.x86_64 0:208-20.el7 will be a downgrade
---> Package systemd-libs.x86_64 0:219-19.el7 will be erased
---> Package systemd-sysv.x86_64 0:208-20.el7 will be a downgrade
---> Package systemd-sysv.x86_64 0:219-19.el7 will be erased
Then it should be safe to delete /etc/yum/protected.d/systemd.conf (or rename it to e.g. .bak) and try again. Be sure to review the transaction carefully before you confirm it!
Note: such downgrades aren't officially supported. Instead, broken systems should be recovered from backups.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
