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
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
On Wed, 20 Sep 2017, Gregory P. Ennis wrote:
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.
Uninstall a specific kernel, e.g.:
yum remove kernel-3.10.0-693.2.2.el7.x86_64
Looks like 7.4 has some major problems.
I've seen no major problems so far, having updated a fair few machines.
jh
-----Original Message-----From: John Hodrien J.H.Hodrien@leeds.ac.uk Reply-to: CentOS mailing list centos@centos.org To: CentOS mailing list centos@centos.org Subject: Re: [CentOS] update to 7.4 Date: Wed, 20 Sep 2017 15:59:25 +0100 (BST)
On Wed, 20 Sep 2017, Gregory P. Ennis wrote:
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.
Uninstall a specific kernel, e.g.:
yum remove kernel-3.10.0-693.2.2.el7.x86_64
Looks like 7.4 has some major problems.
I've seen no major problems so far, having updated a fair few machines.
jh _______________________________________________
John,
The machine that had the boot problem related to 7.4 would only boot with the use of kernel-3.10.0-514.26.2.el7, when I used yum after booting to the 7.3 kernel and I tried to remove kernel-3.10.0-693.2.2.el7.x86_64 using the command that you recorded above, yum presented me with a list of all the kernels instead of the just the singular kernel-3.10.0-693.2.2.el7.x86_64; I was surprised and aborted the process.
Greg
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@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@centos.org https://lists.centos.org/mailman/listinfo/centos
On Sep 19, 2017, at 12:51 PM, Jerry Geis jerry.geis@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@negate.org
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