Upgrade Fail from 11.34 to 11.36 due to bind-devel unpacking

gowrann

Member
Oct 23, 2011
16
0
51
cPanel Access Level
Website Owner
Hi,

One of my servers is failing the cPanel upgrade to 11.36 - any thoughts on what to do -

Code:
[COLOR="#0000CD"][20130326.214903]   Detected version '11.34.1.12' from version file.
[20130326.214903]   Target version set to '11.36.0.18'
[20130326.214903]   Checking license
[20130326.214903]   License file check complete
[20130326.214903]   Checking that the RPM DB is OK...
[20130326.214904]   glibc-2.5-107
[20130326.214904]   glibc-2.5-107
[20130326.214904]   OK: RPM DB is responding to queries
[20130326.214904]   Testing if rpm_is_working RPM is installed
[20130326.214904]   package rpm_is_working is not installed
[20130326.214904]   Testing if it's possible to install a simple RPM
[20130326.214904]   Preparing...                ##################################################
[20130326.214904]   rpm_is_working              ##################################################
[20130326.214905]   Switching to version '11.36.0.18' of updatenow to perform sync.
[20130326.214913]   Loaded plugins: fastestmirror
[20130326.214913]   Loading mirror speeds from cached hostfile
[20130326.214914]    * base: dist1.800hosting.com
[20130326.214914]    * extras: mirror.anl.gov
[20130326.214914]    * rpmforge: mirror.teklinks.com
[20130326.214914]    * updates: centos.icyboards.com
[20130326.214917]   Excluding Packages in global exclude list
[20130326.214920]   Finished
[20130326.214920]   Setting up Install Process
[20130326.214921]   Resolving Dependencies
[20130326.214921]   --> Running transaction check
[20130326.214921]   ---> Package bind-devel.i386 30:9.3.6-20.P1.el5_8.6 set to be updated
[20130326.214921]   ---> Package bind-devel.x86_64 30:9.3.6-20.P1.el5_8.6 set to be updated
[20130326.214922]   --> Finished Dependency Resolution
[20130326.214922]   
[20130326.214922]   Dependencies Resolved
[20130326.214922]   
[20130326.214922]   ================================================================================
[20130326.214922]    Package          Arch         Version                      Repository     Size
[20130326.214922]   ================================================================================
[20130326.214922]   Installing:
[20130326.214922]    bind-devel       i386         30:9.3.6-20.P1.el5_8.6       updates       2.8 M
[20130326.214922]    bind-devel       x86_64       30:9.3.6-20.P1.el5_8.6       updates       2.8 M
[20130326.214922]   
[20130326.214922]   Transaction Summary
[20130326.214922]   ================================================================================
[20130326.214922]   Install       2 Package(s)
[20130326.214922]   Upgrade       0 Package(s)
[20130326.214922]   
[20130326.214922]   Total download size: 5.6 M
[20130326.214922]   Downloading Packages:
[20130326.214923]   --------------------------------------------------------------------------------
[20130326.214923]   Total                                           6.2 MB/s | 5.6 MB     00:00     
[20130326.214923]   Running rpm_check_debug
[20130326.214923]   Running Transaction Test
[20130326.214923]   Finished Transaction Test
[20130326.214923]   Transaction Test Succeeded
[20130326.214923]   Running Transaction
[20130326.214924]   
[20130326.214924]   Installing     : bind-devel                                               1/2Error unpacking rpm package 30:bind-devel-9.3.6-20.P1.el5_8.6.x86_64
[20130326.214924]    
[20130326.214924]   error: unpacking of archive failed on file /usr/share/man/man3/lwres.3.gz: cpio: rename
[20130326.214924]   
[20130326.214924]   Installing     : bind-devel                                               2/2Error unpacking rpm package 30:bind-devel-9.3.6-20.P1.el5_8.6.i386
[20130326.214924]    
[20130326.214924]   error: unpacking of archive failed on file /usr/share/man/man3/lwres.3.gz: cpio: rename
[20130326.214924]   
[20130326.214924]   Failed:
[20130326.214924]     bind-devel.i386 30:9.3.6-20.P1.el5_8.6                                        
[20130326.214924]     bind-devel.x86_64 30:9.3.6-20.P1.el5_8.6                                      
[20130326.214924]   
[20130326.214924]   Complete!
[20130326.214924]   Prelinking is disabled.
[20130326.214925] E Sysup: Needed system RPMs were not installed: bind-devel
[20130326.214925] ***** FATAL: Cannot proceed. Needed system RPMs were not installed.
[20130326.214925]   The Administrator will be notified to review this output when this script completes
[20130326.214925] E Detected events which require user notification during updatenow. Will send iContact the log
[/COLOR]
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,261
463
Hello :)

It appears your system is unable to update the "bind-devel" package. Try doing this manually:

Code:
# yum update bind-devel
Do you receive the same error message reported by cPanel? If so, check the status of this file. EX:

Code:
# lsattr /usr/share/man/man3/lwres.3.gz
# stat /usr/share/man/man3/lwres.3.gz
Do you notice any abnormal permission or ownership values?

Thank you.
 

gowrann

Member
Oct 23, 2011
16
0
51
cPanel Access Level
Website Owner
Hi Michael - when I do a manual yum it sees the package bind-devel as available but does not install...

Code:
[email protected] [~]# yum update bind-devel
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * base: dist1.800hosting.com
 * extras: centos.icyboards.com
 * rpmforge: mirror.us.leaseweb.net
 * updates: mirror.raystedman.net
base                                                                                                                          | 1.1 kB     00:00     
extras                                                                                                                        | 2.1 kB     00:00     
hgdedi                                                                                                                        | 1.2 kB     00:00     
rpmforge                                                                                                                      | 1.9 kB     00:00     
s3tools                                                                                                                       | 1.3 kB     00:00     
updates                                                                                                                       | 1.9 kB     00:00     
Excluding Packages in global exclude list
Finished
Setting up Update Process
Package(s) bind-devel available, but not installed.
No Packages marked for Update
And here is the output for lsattr and stat on the file 'lwres.3.gz

Code:
# lsattr /usr/share/man/man3/lwres.3.gz
[email protected] [~]# lsattr /usr/share/man/man3/lwres.3.gz
------------- /usr/share/man/man3/lwres.3.gz/content.lng
------------- /usr/share/man/man3/lwres.3.gz/info.lng
------------- /usr/share/man/man3/lwres.3.gz/site.lng

# stat /usr/share/man/man3/lwres.3.gz

[email protected] [~]# stat /usr/share/man/man3/lwres.3.gz
  File: `/usr/share/man/man3/lwres.3.gz'
  Size: 4096      	Blocks: 8          IO Block: 4096   directory
Device: 18h/24d	Inode: 107728769   Links: 2
Access: (0755/drwxr-xr-x)  Uid: (    0/    root)   Gid: (    0/    root)
Access: 2011-03-23 14:25:07.000000000 -0500
Modify: 2011-04-06 12:28:30.000000000 -0500
Change: 2011-04-06 12:28:30.000000000 -0500
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,261
463
Please open a ticket so we can take a closer look:

Submit A Ticket

You can post the ticket number here so we can track the issue.

Thank you.
 

dilitalo

Member
Jan 16, 2007
12
0
151
I have the same exact issue. How was this issue resolved in the ticket. Please post solution, it would be much appreciated.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,261
463
I have the same exact issue. How was this issue resolved in the ticket. Please post solution, it would be much appreciated.
We found that "/usr/share/man/man3/lwres.3.gz" was created as a directory. The solution was to move this directory out of the way, and run the following command:

Code:
# yum install bind-devel
Thank you.