Yum failing on yum update

General support questions
Posts: 2
Joined: 2018/02/15 19:10:07

Yum failing on yum update

Postby b0508 » 2018/02/15 19:14:26

Need some help resolving my yum issue

[root@mail ~]# rpm -q --qf '%{name} %{version} %{release} %{arch}\n' centos-release
centos-release 7 4.1708.el7.centos x86_64
[root@mail ~]# yum update yum
Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
* base: centos.mirror.constant.com
* extras: mirror.teklinks.com
* updates: mirror.atlantic.net
Resolving Dependencies
--> Running transaction check
---> Package yum.noarch 0:3.4.3-154.el7.centos will be updated
---> Package yum.noarch 0:3.4.3-154.el7.centos.1 will be an update
--> Finished Dependency Resolution

Dependencies Resolved

Package Arch Version Repository Size
yum noarch 3.4.3-154.el7.centos.1 updates 1.2 M

Transaction Summary
Upgrade 1 Package

Total download size: 1.2 M
Is this ok [y/d/N]: y
Downloading packages:
Delta RPMs disabled because /usr/bin/applydeltarpm not installed.
yum-3.4.3-154.el7.centos.1.noarch.rpm | 1.2 MB 00:00
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
Updating : yum-3.4.3-154.el7.centos.1.noarch 1/2
Error unpacking rpm package yum-3.4.3-154.el7.centos.1.noarch
error: unpacking of archive failed: cpio: lstat
yum-3.4.3-154.el7.centos.noarch was supposed to be removed but is not!
Verifying : yum-3.4.3-154.el7.centos.noarch 1/2
Verifying : yum-3.4.3-154.el7.centos.1.noarch 2/2

yum.noarch 0:3.4.3-154.el7.centos yum.noarch 0:3.4.3-154.el7.centos.1

[root@mail ~]#

Posts: 2
Joined: 2018/02/15 19:10:07

Re: Yum failing on yum update

Postby b0508 » 2018/02/16 00:54:28

LVM needed xfs_repair .. Booted in to media and ran the repair all is good now.