Linux - EnterpriseThis forum is for all items relating to using Linux in the Enterprise.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Running RHEL5u5 and recently ran 'yum update' to update 'latest' and 'patch' however I need to rollback. I have the rollback settings correct but I get an error when trying to rollback.
On Fedora, the rpm command doesn't have a --rollback option.
But yum has a rollback command. But it doesn't take a date argument.
But if the rpm command is correct, are you sure it didn't complete? It gave a warning, not an error.
But if it didn't complete, you could try rpm's --nosignature switch to tell it to not verify the package signature. (But naturally, that's not advisable.)
rpm Rollback is not supported in 6 but it is in 5.
I updated 'latest' and 'addons' & 'patches' when I just wanted to update 'patches'. The only thing imagemagick* is killing is my ability to rollback all the packages I mistakenly updated. Normally when I do a rollback of updated packages it skips through each one and restores them, it takes quite a while (25mins) and in the end I reboot and they previous kernel is the only one there. Now when I do the 'rpm -Uhv --rollback' in runs for 20seconds and all I see is the above error.
I tried with the --nosignature option and all it does is return after 20 seconds with no output, like it did nothing.
it looks like my only way out of this is to 'yum erase <package>' and this removes any pre-requisites etc. In my case I will be removing kernel patches that relate to RHEL5u8, even though i'm running RHEL5u5. Then I amend my yum config just to look at 'patches' and this now finds only patches related to RHEL5u5 and I am still then using '2.6.18-194.32.1.0.1.el5xen' as opposed to where I was when I previously updated and was seeing '2.6.18-308.13.1.0.1.el5'
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.