Unable to update yum package initscripts.x86_64 0:9.03.31-2.

General support questions
Post Reply
willemdh
Posts: 33
Joined: 2014/05/17 15:00:21
Location: Ghent
Contact:

Unable to update yum package initscripts.x86_64 0:9.03.31-2.

Post by willemdh » 2015/03/24 14:05:48

Hello,

One of my CentOS 6.6 servers is unable to update initscripts.x86_64 0:9.03.31-2.el6.centos.

What can I do to make it update?

Grtz

Willem

gerald_clark
Posts: 10642
Joined: 2005/08/05 15:19:54
Location: Northern Illinois, USA

Re: Unable to update yum package initscripts.x86_64 0:9.03.3

Post by gerald_clark » 2015/03/24 16:15:33

We can't help you without useful information.
Post the complete output of 'yum update'.

willemdh
Posts: 33
Joined: 2014/05/17 15:00:21
Location: Ghent
Contact:

Re: Unable to update yum package initscripts.x86_64 0:9.03.3

Post by willemdh » 2015/03/26 11:39:37

Gerald,

Right, sorry forgot that:

Code: Select all

yum update
Loaded plugins: fastestmirror, security
Setting up Update Process
Loading mirror speeds from cached hostfile
 * base: centos.mirror.nucleus.be
 * epel: mirror.kinamo.be
 * extras: centos.mirror.nucleus.be
 * rpmforge: mirror.ate.info
 * updates: centos.mirror.nucleus.be
Resolving Dependencies
--> Running transaction check
---> Package initscripts.x86_64 0:9.03.31-2.el6.centos will be updated
---> Package initscripts.x86_64 0:9.03.46-1.el6.centos.1 will be an update
--> Finished Dependency Resolution

Dependencies Resolved

==========================================================================================================================================================================================================================================
 Package                                                 Arch                                               Version                                                             Repository                                           Size
==========================================================================================================================================================================================================================================
Updating:
 initscripts                                             x86_64                                             9.03.46-1.el6.centos.1                                              updates                                             943 k

Transaction Summary
==========================================================================================================================================================================================================================================
Upgrade       1 Package(s)

Total download size: 943 k
Is this ok [y/N]: y
Downloading Packages:

initscripts-9.03.46-1.el6.centos.1.x86_64.rpm                                                                                                                                                                      | 943 kB     00:00     
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction

  Updating   : initscripts-9.03.46-1.el6.centos.1.x86_64 [                                                                                                                                                                          ] 1/2
  Updating   : initscripts-9.03.46-1.el6.centos.1.x86_64 [#                                                                                                                                                                         ] 1/2
  Updating   : initscripts-9.03.46-1.el6.centos.1.x86_64 [###                                                                                                                                                                       ] 1/2
  Updating   : initscripts-9.03.46-1.el6.centos.1.x86_64 [#####                                                                                                                                                                     ] 1/2
  Updating   : initscripts-9.03.46-1.el6.centos.1.x86_64                                                                                                                                                                              1/2 
Error unpacking rpm package initscripts-9.03.46-1.el6.centos.1.x86_64
error: unpacking of archive failed on file /etc/sysconfig/network-scripts/ifup-post: cpio: rename
initscripts-9.03.31-2.el6.centos.x86_64 was supposed to be removed but is not!

  Verifying  : initscripts-9.03.31-2.el6.centos.x86_64                                                                                                                                                                                1/2 

  Verifying  : initscripts-9.03.46-1.el6.centos.1.x86_64                                                                                                                                                                              2/2 

Failed:
  initscripts.x86_64 0:9.03.31-2.el6.centos                                                                          initscripts.x86_64 0:9.03.46-1.el6.centos.1                                                                         

Complete!
Grtz

Willem

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

Re: Unable to update yum package initscripts.x86_64 0:9.03.3

Post by TrevorH » 2015/03/26 13:21:23

Check that your /etc/sysconfig/network-scripts/ifup-post has not been marked immutable using lsattr/chattr.
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

willemdh
Posts: 33
Joined: 2014/05/17 15:00:21
Location: Ghent
Contact:

Re: Unable to update yum package initscripts.x86_64 0:9.03.3

Post by willemdh » 2015/03/28 14:11:17

Code: Select all

lsattr /etc/sysconfig/network-scripts/ifup-post
----i--------e- /etc/sysconfig/network-scripts/ifup-post
I guess it is. How can i 'unmark' it?

Willem

drk
Posts: 405
Joined: 2014/01/30 20:38:28

Re: Unable to update yum package initscripts.x86_64 0:9.03.3

Post by drk » 2015/03/28 20:29:26

willemdh wrote:

Code: Select all

lsattr /etc/sysconfig/network-scripts/ifup-post
----i--------e- /etc/sysconfig/network-scripts/ifup-post
I guess it is. How can i 'unmark' it?

Willem

Code: Select all

/tmp # touch test
/tmp # lsattr test
-------------e- test
/tmp # chattr +i test
/tmp # lsattr test
----i--------e- test
/tmp # chattr -i test
/tmp # lsattr test
-------------e- test

willemdh
Posts: 33
Joined: 2014/05/17 15:00:21
Location: Ghent
Contact:

Re: Unable to update yum package initscripts.x86_64 0:9.03.3

Post by willemdh » 2015/07/18 12:24:19

Code: Select all

chattr -i /etc/sysconfig/network-scripts/ifup-post
solved my problem.

Post Reply