[SOLVED] update problem from 6.3 to 6.4

General support questions
Post Reply
ahmad_zuhd
Posts: 10
Joined: 2010/08/29 21:19:18

[SOLVED] update problem from 6.3 to 6.4

Post by ahmad_zuhd » 2013/04/07 13:54:02

i successfully made an updade from 6.3 to 6.4 however i still have two problems in two packages as follows.. Please advice.

[quote]
yum update
Loaded plugins: fastestmirror, security
Loading mirror speeds from cached hostfile
* base: centos.fastbull.org
* epel: ftp.cuhk.edu.hk
* extras: centos.fastbull.org
* rpmforge: apt.sw.be
* updates: centos.fastbull.org
Setting up Update Process
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.38-1.el6.centos.1 will be an update
---> Package udev.x86_64 0:147-2.42.el6 will be updated
---> Package udev.x86_64 0:147-2.46.el6 will be an update
--> Finished Dependency Resolution

Dependencies Resolved

==============================================================================================================================================
Package Arch Version Repository Size
==============================================================================================================================================
Updating:
initscripts x86_64 9.03.38-1.el6.centos.1 updates 937 k
udev x86_64 147-2.46.el6 base 347 k

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

Total download size: 1.3 M
Is this ok [y/N]: y
Downloading Packages:
(1/2): initscripts-9.03.38-1.el6.centos.1.x86_64.rpm | 937 kB 00:00
(2/2): udev-147-2.46.el6.x86_64.rpm | 347 kB 00:00
----------------------------------------------------------------------------------------------------------------------------------------------
Total 2.1 MB/s | 1.3 MB 00:00
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Updating : initscripts-9.03.38-1.el6.centos.1.x86_64 1/4
Error unpacking rpm package initscripts-9.03.38-1.el6.centos.1.x86_64
error: unpacking of archive failed on file /etc/sysconfig/network-scripts/ifup-post: cpio: rename
Updating : udev-147-2.46.el6.x86_64 2/4
Error unpacking rpm package udev-147-2.46.el6.x86_64
error sending message: Connection refused
error: unpacking of archive failed on file /lib/udev/rules.d/75-persistent-net-generator.rules: cpio: rename
Verifying : initscripts-9.03.38-1.el6.centos.1.x86_64 1/4
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 2/4
udev-147-2.42.el6.x86_64 was supposed to be removed but is not!
Verifying : udev-147-2.42.el6.x86_64 3/4
Verifying : udev-147-2.46.el6.x86_64 4/4

Failed:
initscripts.x86_64 0:9.03.31-2.el6.centos initscripts.x86_64 0:9.03.38-1.el6.centos.1 udev.x86_64 0:147-2.42.el6 udev.x86_64 0:147-2.46.el6

Complete!
[/quote]

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

[SOLVED] update problem from 6.3 to 6.4

Post by TrevorH » 2013/04/07 16:54:29

Has someone made those two files immutable? Run lsattr on /etc/sysconfig/network-scripts/ifup-post and /lib/udev/rules.d/75-persistent-net-generator.rules?

ahmad_zuhd
Posts: 10
Joined: 2010/08/29 21:19:18

Re: update problem from 6.3 to 6.4

Post by ahmad_zuhd » 2013/04/08 08:56:48

SOLVED

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

Re: [SOLVED] update problem from 6.3 to 6.4

Post by TrevorH » 2013/04/08 09:00:00

Marked as such in the title but it would be nice to know how in case anyone else finds the same problem.

D8TA
Posts: 33
Joined: 2010/01/27 20:45:39

Re: [SOLVED] update problem from 6.3 to 6.4

Post by D8TA » 2014/04/14 14:59:41

I would really like to know how you fixed this. I am getting this error and can't figure out how to update udev.

Code: Select all

yum update
Loaded plugins: fastestmirror, rhnplugin
This system is receiving updates from RHN Classic or RHN Satellite.
Loading mirror speeds from cached hostfile
 * rpmforge: apt.sw.be
Setting up Update Process
Resolving Dependencies
--> Running transaction check
---> Package udev.x86_64 0:147-2.46.el6 will be updated
---> Package udev.x86_64 0:147-2.51.el6 will be an update
--> Finished Dependency Resolution

Dependencies Resolved

===========================================================================================================
 Package            Arch                 Version                     Repository                       Size
===========================================================================================================
Updating:
 udev               x86_64               147-2.51.el6                centos-6.5-x86_64               348 k

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

Total download size: 348 k
Is this ok [y/N]: y
Downloading Packages:
udev-147-2.51.el6.x86_64.rpm                                                        | 348 kB     00:00     
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
  Updating   : udev-147-2.51.el6.x86_64                                                                1/2 
Error unpacking rpm package udev-147-2.51.el6.x86_64
error sending message: Connection refused
error: unpacking of archive failed on file /lib/udev/rules.d/75-persistent-net-generator.rules: cpio: rename
udev-147-2.46.el6.x86_64 was supposed to be removed but is not!
  Verifying  : udev-147-2.46.el6.x86_64                                                                1/2 
  Verifying  : udev-147-2.51.el6.x86_64                                                                2/2 

Failed:
  udev.x86_64 0:147-2.46.el6                           udev.x86_64 0:147-2.51.el6                          

Complete!

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

Re: [SOLVED] update problem from 6.3 to 6.4

Post by TrevorH » 2014/04/14 17:25:15

Do an lsattr on file /lib/udev/rules.d/75-persistent-net-generator.rules and see if the immutable bit is set.
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

D8TA
Posts: 33
Joined: 2010/01/27 20:45:39

Re: [SOLVED] update problem from 6.3 to 6.4

Post by D8TA » 2014/04/15 18:26:20

lsattr /lib/udev/rules.d/75-persistent-net-generator.rules
----i--------e- /lib/udev/rules.d/75-persistent-net-generator.rules

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

Re: [SOLVED] update problem from 6.3 to 6.4

Post by TrevorH » 2014/04/16 02:23:08

Someone has made that file immutable. Find out who and why. Sounds like they devised a wrong solution for some problem they had.
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

D8TA
Posts: 33
Joined: 2010/01/27 20:45:39

Re: [SOLVED] update problem from 6.3 to 6.4

Post by D8TA » 2014/04/16 14:22:19

Thanks.

Running chattr -i /lib/udev/rules.d/75-persistent-net-generator.rules allowed me to update the system.

Appreciate the assistance.

Post Reply