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,
I'm unable to update yum package initscripts.x86_64 0:9.03.31-2 on my Nagios XI production server, which is on a the Nagios 'default' XI 64bit image. Put this same question on CentOS support forum, but I was wondering if this was a known issue?
https://www.centos.org/forums/viewtopic ... 13&t=51736
Grtz
Willem
I'm unable to update yum package initscripts.x86_64 0:9.03.31-2 on my Nagios XI production server, which is on a the Nagios 'default' XI 64bit image. Put this same question on CentOS support forum, but I was wondering if this was a known issue?
https://www.centos.org/forums/viewtopic ... 13&t=51736
Grtz
Willem
Nagios XI 5.8.1
https://outsideit.net
https://outsideit.net
Re: Unable to update yum package initscripts.x86_64 0:9.03.3
Is there an available "updated" package? What is the output of the following command?
Can you show us the errors that you got while trying to update the package?
Code: Select all
yum check-update | grep initscriptsBe sure to check out our Knowledgebase for helpful articles and solutions!
Re: Unable to update yum package initscripts.x86_64 0:9.03.3
yes there is:
Code: Select all
yum check-update | grep initscripts
initscripts.x86_64 9.03.46-1.el6.centos.1 updates
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!Nagios XI 5.8.1
https://outsideit.net
https://outsideit.net
Re: Unable to update yum package initscripts.x86_64 0:9.03.3
Is the ifup-post's immutable bit set? Can you show us the output of the following command?
Code: Select all
lsattr /etc/sysconfig/network-scripts/ifup-postBe sure to check out our Knowledgebase for helpful articles and solutions!
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
Nagios XI 5.8.1
https://outsideit.net
https://outsideit.net
Re: Unable to update yum package initscripts.x86_64 0:9.03.3
Remove the immutable bit from that file and try to update again. Run this to clear the bit.
Code: Select all
chattr -i /etc/sysconfig/network-scripts/ifup-postBe sure to check out our Knowledgebase for helpful articles and solutions!
Re: Unable to update yum package initscripts.x86_64 0:9.03.3
Hey Tom,
I'll do this beginning next week. Just noticed there is a yum update of postgresql. Is it safe to update on XI?
Grtz
Willem
I'll do this beginning next week. Just noticed there is a yum update of postgresql. Is it safe to update on XI?
Code: Select all
postgresql.x86_64 8.4.20-2.el6_6 updates
postgresql-devel.x86_64 8.4.20-2.el6_6 updates
postgresql-libs.x86_64 8.4.20-2.el6_6 updates
postgresql-server.x86_64 8.4.20-2.el6_6 Willem
Nagios XI 5.8.1
https://outsideit.net
https://outsideit.net
Re: Unable to update yum package initscripts.x86_64 0:9.03.3
I updated postgres on one of my test boxes and I haven't seen any issues so far. Having said that, I cannot guarantee that you wouldn't have any issues in your environment. I would recommend trying the update on your test server. There is a reason why with each XI license we offer three installations - one primary monitoring/production, one backup/failover, and one test environment.Just noticed there is a yum update of postgresql. Is it safe to update on XI?
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: Unable to update yum package initscripts.x86_64 0:9.03.3
Ok, thanks Ludmill. I will update Postgresql on my qa server next week. It would be nice though if we could get a 'go' from Nagios support for certain updates like postgresql / mysql /gearman.
Nagios XI 5.8.1
https://outsideit.net
https://outsideit.net
Re: Unable to update yum package initscripts.x86_64 0:9.03.3
Willem, let us know when you have a chance next week to test your postgres upgrade. I will keep this thread open. Keep us updated.