Contents
How do I stop a process in yum?
You can unlock yum by following two simple steps, 1) Run ps aux | grep yum to see which process is locking yum. 2) kill to kill the process. Again run ps aux | grep yum to see if the process is killed or not.
How do I rollback apt-get update?
Use the search bar to find the package you want to downgrade. Once you’ve found what you’re looking for, click on the package to select it. From the menu bar, click Package -> Force Version and select the previous version of the package from the drop down menu. Click the “Apply” button to apply the downgrade.
How do you solve another app is currently holding the yum lock waiting for it to exit?
Another app is currently holding the yum lock; waiting for it to exit… Please hit ctrl-c; that’s the key combination to kill any currently running process in a bash shell or terminal.
How to use YUM to roll back some package updates?
In general, use the yum history option is intended for small update rollbacks. Please read the following guides for additional information: How to use yum history to roll back an update in Red Hat Enterprise Linux 6, 7?
Can You rollback SELinux to older version of Yum?
Now here comes the bad news, we do have some risks involved with yum history rollback and history related arguments. Rollback of selinux, selinux-policy-*, kernel, glibc (dependencies of glibc such as gcc) packages to older version is not supported.
Do you need to backup before using Yum history?
Doing full system backup prior to any update is always recommended, and yum history is NOT meant to replace systems backups. If you wish to perform software upgrades then you should opt for LVM snapshot based solution as a reliable alternative for restore instead of yum rollback.
Can a Yum history downgrade an X rpm?
Yes this is a valid question. For example while updating X rpm the yum will install certain rpms as part of dependencies but while downgrading this X rpm, it will fail to remove those additionally installed dependent packages. With yum history you can leave this handling to yum to make sure it will revert all the transactions.