Unable to update yum package initscripts.x86_64 0:9.03.31-2.
Unable to update yum package initscripts.x86_64 0:9.03.31-2.
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
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
-
- 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
We can't help you without useful information.
Post the complete output of 'yum update'.
Post the complete output of 'yum update'.
Re: Unable to update yum package initscripts.x86_64 0:9.03.3
Gerald,
Right, sorry forgot that:
Grtz
Willem
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!
Willem
Re: Unable to update yum package initscripts.x86_64 0:9.03.3
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
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
Re: Unable to update yum package initscripts.x86_64 0:9.03.3
Code: Select all
lsattr /etc/sysconfig/network-scripts/ifup-post
----i--------e- /etc/sysconfig/network-scripts/ifup-post
Willem
Re: Unable to update yum package initscripts.x86_64 0:9.03.3
willemdh wrote:I guess it is. How can i 'unmark' it?Code: Select all
lsattr /etc/sysconfig/network-scripts/ifup-post ----i--------e- /etc/sysconfig/network-scripts/ifup-post
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
Re: Unable to update yum package initscripts.x86_64 0:9.03.3
Code: Select all
chattr -i /etc/sysconfig/network-scripts/ifup-post