I was doing an update to 7.4 and somewhere in middle the machine died. If I drop back to a previous kernel the machine is alive. So how do I say "forget the previous yum update" and start all over and do it again. Booting into the new kernel I get a kernel fault. So going back one level on teh boot screen solves that - I just need to start the update again. How is that? Thanks, Jerry
On 9/19/2017 9:51 AM, Jerry Geis wrote:> I was doing an update to 7.4 and somewhere in middle the machine died. > > If I drop back to a previous kernel the machine is alive. So how do I say > "forget the previous yum update" and start all over and do it again. > > Booting into the new kernel I get a kernel fault. So going back one level > on teh boot screen solves that - I just need to start the update again. How > is that?I think I'd try.... ??? yum remove kernel-(broken version) ??? yum update -- john r pierce, recycling bits in santa cruz
You'll want to look into 'yum history' with the 'info' and 'undo' subcommands. Not sure how well it works for larger updates but I've had success on broken packages. On Tue, Sep 19, 2017 at 11:51 AM, Jerry Geis <jerry.geis at gmail.com> wrote:> I was doing an update to 7.4 and somewhere in middle the machine died. > > If I drop back to a previous kernel the machine is alive. So how do I say > "forget the previous yum update" and start all over and do it again. > > Booting into the new kernel I get a kernel fault. So going back one level > on teh boot screen solves that - I just need to start the update again. How > is that? > > Thanks, > > Jerry > _______________________________________________ > CentOS mailing list > CentOS at centos.org > https://lists.centos.org/mailman/listinfo/centos >-- <https://riskanalytics.com/> *Jon Pruente*Systems Engineer Office / 913.685.6530 JPruente at RiskAnalytics.com <jpruente at riskanalytics.com> [image: RiskAnalytics] <https://riskanalytics.com/> [image: Twitter] <https://twitter.com/riskanalytics> [image: LinkedIn] <https://www.linkedin.com/company/riskanalytics-llc> [image: Facebook] <https://www.facebook.com/riskanalytics?fref=ts> CONFIDENTIAL: The information in this email (and any attachments) is confidential. If you are not the intended recipient, you must not read, use or disseminate the information. Please reply to the sender and take the steps necessary to delete the message completely from your computer system. Although this email and any attachments are believed to be free of any virus or other defect that might affect any computer system into which it is received and opened, it is the responsibility of the recipient to ensure that it is virus free and no responsibility is accepted by RiskAnalytics, LLC for any loss or damage arising in any way from its use.
On Sep 19, 2017, at 12:51 PM, Jerry Geis <jerry.geis at gmail.com> wrote:> If I drop back to a previous kernel the machine is alive. So how do I say > "forget the previous yum update" and start all over and do it again.Since you are mid-transaction, you should at least try: yum-complete-transaction This is the safest route. If that fails, you might be able to use yum history to back out the last transaction, but that probably would fail because you?d have to download and install the packages in the previous release, which might not be available anymore. You can also use: package-cleanup ?cleandupes ? to clean out any duplicate packages that might be both installed. This has happened to me more often than I?d like to admit. Usually because I didn?t start the yum update in a tmux shell and one of the updates caused the SSH connection to fail. -- Jonathan Billings <billings at negate.org>
On 9/19/2017 9:51 AM, Jerry Geis wrote:> I was doing an update to 7.4 and somewhere in middle the machine died. > > If I drop back to a previous kernel the machine is alive. So how do I say > "forget the previous yum update" and start all over and do it again. > > Booting into the new kernel I get a kernel fault. So going back one level > on teh boot screen solves that - I just need to start the update again. How > is that?I think I'd try.... yum remove kernel-(broken version) yum update ------------------------------------------------------------- This happened to me on one of the units during a 7.4 upgrade, and the only way for the system to work for me was to use the previous os. I tried to use the yum remove kernal 7.4 , but yum tried to remove all of the kernels instead of just that last one installed. I obviously aborted the command. Looks like 7.4 has some major problems. Greg
Thanks all for the thoughts. I have no issues with 7.4 - this was clearly "freek" accident while updating, either internet connection closed on me or something. I brought the unit back here, I tried a few of the suggestions - wasn't really working for me. So I just re-installed 7.4 and all was fine. Thanks again. Jerry
Thanks all for the thoughts. I have no issues with 7.4 - this was clearly "freek" accident while updating, either internet connection closed on me or something. I brought the unit back here, I tried a few of the suggestions - wasn't really working for me. So I just re-installed 7.4 and all was fine. Thanks again. Jerry ------------------------------------------------------------------- Jerry, I thought I had a freek accident too, but the very same thing happened to one of mine, actually this machine was my desktop. For now, I am booting using an older kernel, but will probably do a fresh install of 7.4 at a latter time. Greg