[CentOS] Updating microcode_ctl froze Centos7

Fri Jun 12 07:54:57 UTC 2020
wwp <subscript at free.fr>

Hello Robin,


On Fri, 12 Jun 2020 09:20:34 +0200 Robin Lee <robinlee at mailbox.org> wrote:

> Today when I ran yum update two packages came up microcode_ctl
> and unbound-libs. The updating process went fine until it outputted 
> 
> Running transaction
>   Updating   : 2:microcode_ctl-2.1-61.6.el7_8.x86_64
> 
> then it just froze. I could no longer ssh to the machine and the
> console was just blank. I had to shut down it hard. It came back up
> seemingly fine. But yum update doesn't work anymore. It says "Error
> importing repomd.xml from base/7/x86_64: Damaged repomd.xml file"
> I looked at the logs, but journalctl only shows the latest boot on this
> machine. 
> 
> So I guess I have three questions
> - Any idea what happened with the update process?

I got the exact same problem few updates of microcode_ctl away but the
consequences where terribly different (system broken at fs level, low
level package files zero'ed, had to reconstruct from manually downloaded
packages). How lucky your are, your yum transaction was including very
few changes otherwise it could have broken much more. Since then, I
excluded it this package from my yum updates. I reported this issue to
the list:

Date: Wed, 25 Dec 2019 12:43:11 +0100
From: wwp <subscript at free.fr>
Subject: [CentOS] CEEA-2019:4161 CentOS 7  microcode_ctl-2.1-53.7.el7_7.x86_64 update vs Dell Precision 7530


> - How can I repair repomd.xml?
> - How do I configure journalctl to store more boots?

Sorry can't help there :-(.


Regards,

-- 
wwp
https://useplaintext.email/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: OpenPGP digital signature
URL: <http://lists.centos.org/pipermail/centos/attachments/20200612/d27bb311/attachment-0005.sig>