Error unpacking rpm package 3:irqbalance-1.0.7-11.el7.x86_64

Issues related to applications and software problems
Post Reply
oxmon
Posts: 5
Joined: 2018/05/20 19:41:03

Error unpacking rpm package 3:irqbalance-1.0.7-11.el7.x86_64

Post by oxmon » 2018/05/20 20:00:13

Hello,
I'm facing a problem updating the system:

Code: Select all

[usr01@ryzen5 ~]$ cat /etc/centos-release
CentOS Linux release 7.5.1804 (Core) 

[usr01@ryzen5 ~]$ su -c 'yum update'
Password: 
Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
 * base: mirror.easyname.at
 * elrepo: ftp.nluug.nl
 * epel: mirror.nextlayer.at
 * extras: centos.mirrors.as250.net
 * updates: mirror.maeh.org
Resolving Dependencies
--> Running transaction check
---> Package irqbalance.x86_64 3:1.0.7-10.el7 will be updated
---> Package irqbalance.x86_64 3:1.0.7-11.el7 will be an update
--> Finished Dependency Resolution
...
Updating:
 irqbalance                                           x86_64                                           3:1.0.7-11.el7                                              base                                            45 k

Transaction Summary
===============================================================================================================Upgrade  1 Package

Total download size: 45 k
Is this ok [y/d/N]: y
Downloading packages:
No Presto metadata available for base
irqbalance-1.0.7-11.el7.x86_64.rpm                                                                                                                                                               |  45 kB  00:00:01     
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  Updating   : 3:irqbalance-1.0.7-11.el7.x86_64                                                                                                                                                                     1/2 
Error unpacking rpm package 3:irqbalance-1.0.7-11.el7.x86_64
error: unpacking of archive failed on file /usr/share/doc/irqbalance-1.0.7/COPYING: cpio: rename
3:irqbalance-1.0.7-10.el7.x86_64 was supposed to be removed but is not!
  Verifying  : 3:irqbalance-1.0.7-10.el7.x86_64                                                                                                                                                                     1/2 
  Verifying  : 3:irqbalance-1.0.7-11.el7.x86_64                                                                                                                                                                     2/2 

Failed:
  irqbalance.x86_64 3:1.0.7-10.el7                                                                           irqbalance.x86_64 3:1.0.7-11.el7                                                                          

Complete!
Does anyone know how to resolve it?
with regards
szb

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

Re: Error unpacking rpm package 3:irqbalance-1.0.7-11.el7.x86_64

Post by TrevorH » 2018/05/20 20:33:56

Post the output from namei -mo /usr/share/doc/irqbalance-1.0.7/COPYING
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

oxmon
Posts: 5
Joined: 2018/05/20 19:41:03

Re: Error unpacking rpm package 3:irqbalance-1.0.7-11.el7.x86_64

Post by oxmon » 2018/09/09 05:24:45

voila!
[usr01@ryzen5 ~]$ namei -mo /usr/share/doc/irqbalance-1.0.7/COPYING
f: /usr/share/doc/irqbalance-1.0.7/COPYING
dr-xr-xr-x root root /
drwxr-xr-x root root usr
drwxr-xr-x root root share
drwxr-xr-x root root doc
drwxr-xr-x root root irqbalance-1.0.7
COPYING - No such file or directory

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

Re: Error unpacking rpm package 3:irqbalance-1.0.7-11.el7.x86_64

Post by TrevorH » 2018/09/09 10:30:25

Use touch to create a dummy file there then try again.
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

oxmon
Posts: 5
Joined: 2018/05/20 19:41:03

Re: Error unpacking rpm package 3:irqbalance-1.0.7-11.el7.x86_64

Post by oxmon » 2018/09/09 12:09:18

Thank you for the suggestion. The problem lies in:
ls -l /usr/share/doc/irqbalance-1.0.7/COPYING
ls: cannot access /usr/share/doc/irqbalance-1.0.7/COPYING: Structure needs cleaning

Best regards
szb

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

Re: Error unpacking rpm package 3:irqbalance-1.0.7-11.el7.x86_64

Post by TrevorH » 2018/09/09 17:39:51

ls: cannot access /usr/share/doc/irqbalance-1.0.7/COPYING: Structure needs cleaning
Ah, your filesystem is corrupt and needs to be repaired. If it's xfs then you need to run xfs_repair, if it's ext[34] then you need to run e2fsck. In all probability since that's your root filesystem you probably need to boot from rescue media (like the install DVD in rescue mode) to do that.
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

Post Reply