Yum update causes system to log out during update and results in duplicates

General support questions
Post Reply
swinster
Posts: 4
Joined: 2019/10/20 16:34:05

Yum update causes system to log out during update and results in duplicates

Post by swinster » 2019/10/20 16:57:12

Hi,

I have a CentOS 7 system that has been a little neglected, so I thought it was time to update the OS packages. Running

Code: Select all

yum update
resulted in something like 600 packages requiring installation and/or upgrade. However, part way through the installation of the updates, I get logged out of the terminal and of course yum then fails and I end up with a bunch of errors (275 duplicate packages).

Luckily this is a VM which was snapshotted prior to update so I reverted to the pre update state.

I tried to watch for the package that when updated caused the issue, but the information written to the screen was too quick. I couldn't see anything obvious in

Code: Select all

yum history
or in the

Code: Select all

yum.log
file, but I guess I'm looking in the wrong place.
  • Has anyone got an idea which package might be causing this issue?
    What is the best step forward? Is to to upgrade then attempt to fix the issue (which sounds like a pain) or attempt to figure out what package is causing the problem?
Cheers

User avatar
TrevorH
Site Admin
Posts: 33219
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: Yum update causes system to log out during update and results in duplicates

Post by TrevorH » 2019/10/20 19:30:55

You need to restore from your backups and then yum update systemd\* first. You may need to --enablerepo= the Fasttrack repo to get the correct fixed version as I'm not 100% sure that the fix has been released for RHEL yet.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

swinster
Posts: 4
Joined: 2019/10/20 16:34:05

Re: Yum update causes system to log out during update and results in duplicates

Post by swinster » 2019/10/21 20:48:47

Unfortunately this hasn't worked. I still end up with the same issue.

FWIW, I recorded a quick screen grab.

https://www.loom.com/share/43aab825453b ... d04fa91dbf

Post Reply