Re: [CentOS] yum update interruption recovery

2013-12-05 Thread Louis Lagendijk
On Wed, 2013-12-04 at 20:32 -0800, Hugh E Cruickshank wrote:
 From: Hugh E Cruickshank Sent: December 4, 2013 15:09
  From: Frank Cox Sent: December 4, 2013 15:04
   On Wed, 4 Dec 2013 14:55:03 -0800 Hugh E Cruickshank wrote:
Tried that but it failed. 
   
   Describe failed.
  
  That happened yesterday and I can not recall specifically what it
  said. I am currently in the process of backing up the hard drive
  before proceeding any further. I will see if I can get the error a
  little later today.
 
 Well I am unable to locate the error message as it does not appear to
 be logged. In the interim I have done a lot more research and I now
 suspect that I have two separate problems:
 
 1. Since the yum update did not complete then it never had a chance
to update the rpm database,
 
 2. We probably have one or more packages that have been install but
the predecessor has not be removed.
 
 I have done the following:
 
 a. Rebuilt the rpm database:
 
 rm -f /var/lib/rpm/__db*
 rpm --rebuilddb
 
 b. I then retried the yum update this aborted report conflicts in
systemtap packages.
 
 c. I listed the installed systemtap packages:
 
rpm -qa | grep systemtap | sort
 
This revealed that there were two systemtap-devel packages
installed and I removed the newer one.
 
 d. I then retried yum update and this appeared to work fine until it
got to:
 
Cleanup  : 1:xorg-x11-drv-nouveau-1.0.1-3.el6.x86_64  286/513
 
 At this point the system appears to be hung. I can not proceed any
 further this evening as I am working on this from home and I do not
 have physical access to the server to reboot it. In the morning I
 will reboot the server and try again but this time I am going to do
 a yum clean all to the rpm database rebuild.
 
 Any thoughts or comments would be appreciated.
 
Try package-cleanup --problems and see what it returns
package-cleanup --cleandupes  may helps with removal of duplicates

Louis

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] yum update interruption recovery

2013-12-05 Thread Les Mikesell
On Wed, Dec 4, 2013 at 5:08 PM, Hugh E Cruickshank h...@forsoft.com wrote:

 That happened yesterday and I can not recall specifically what it said.
 I am currently in the process of backing up the hard drive before
 proceeding any further. I will see if I can get the error a little
 later today.


Sometimes 'yum-complete-transaction' will fix things - but yum will
normally tell you if it needs that. You can 'yum install yum-utils' if
you don't already have it.

-- 
  Les Mikesell
 lesmikes...@gmail.com
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] yum update interruption recovery

2013-12-05 Thread Hugh E Cruickshank
From: Louis Lagendijk Sent: December 5, 2013 13:37
 
 Try package-cleanup --problems and see what it returns
 package-cleanup --cleandupes  may helps with removal of duplicates

I jut finished cleaning it all up. It took a while and I ended up with
having to manually identify and delete a bout 40 duplicate packages
(your suggestions would probably have helped with that). It was also
necessary to reinstall the kernel packages but everything seems to be
humming along fine now (and up to date as well).

Thanks to all who provides feedback and suggestions.

Regards, Hugh

-- 
Hugh E Cruickshank, Forward Software, www.forward-software.com

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] yum update interruption recovery

2013-12-04 Thread Hugh E Cruickshank
Hi All:

I am having problems with a CentOS 6.4 box that I was in the process
of doing a yum update to 6.5. Unfortunately the system hung during
the update and I was forced to reboot it and it is now a bit of a mess.
Can someone point me in the direction of any documentation that would
assist in the recovering from this.

TIA

Regards, Hugh

-- 
Hugh E Cruickshank, Forward Software, www.forward-software.com

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] yum update interruption recovery

2013-12-04 Thread Jitse Klomp
On 12/04/2013 11:34 PM, Hugh E Cruickshank wrote:
 Hi All:

 I am having problems with a CentOS 6.4 box that I was in the process
 of doing a yum update to 6.5. Unfortunately the system hung during
 the update and I was forced to reboot it and it is now a bit of a mess.
 Can someone point me in the direction of any documentation that would
 assist in the recovering from this.

Run yum-complete-transaction.

Source: 
http://www.redhat.com/archives/rhl-devel-list/2008-September/msg00984.html

  - Jitse
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] yum update interruption recovery

2013-12-04 Thread Hugh E Cruickshank
FromJitse Klomp Sent: December 4, 2013 14:47
 On 12/04/2013 11:34 PM, Hugh E Cruickshank wrote:
 
  I am having problems with a CentOS 6.4 box that I was in the process
  of doing a yum update to 6.5. Unfortunately the system hung during
  the update and I was forced to reboot it and it is now a bit of a
  mess. Can someone point me in the direction of any documentation
  that would assist in the recovering from this.
 
 Run yum-complete-transaction.

Tried that but it failed. I am now seriously looking at manually
deleting and/or reinstalling a large number of packages but I was
hoping that there might be some recommended procedures available out
there that might be easier.

TIA

Regards, Hugh

-- 
Hugh E Cruickshank, Forward Software, www.forward-software.com

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] yum update interruption recovery

2013-12-04 Thread Frank Cox
On Wed, 4 Dec 2013 14:55:03 -0800
Hugh E Cruickshank wrote:

 Tried that but it failed. 

Describe failed.

-- 
MELVILLE THEATRE ~ Real D 3D Digital Cinema ~ www.melvilletheatre.com
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] yum update interruption recovery

2013-12-04 Thread Hugh E Cruickshank
From: Frank Cox Sent: December 4, 2013 15:04
 On Wed, 4 Dec 2013 14:55:03 -0800 Hugh E Cruickshank wrote:
  Tried that but it failed. 
 
 Describe failed.

That happened yesterday and I can not recall specifically what it said.
I am currently in the process of backing up the hard drive before 
proceeding any further. I will see if I can get the error a little
later today.

Regards, Hugh

-- 
Hugh E Cruickshank, Forward Software, www.forward-software.com

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] yum update interruption recovery

2013-12-04 Thread Hugh E Cruickshank
From: Hugh E Cruickshank Sent: December 4, 2013 15:09
 From: Frank Cox Sent: December 4, 2013 15:04
  On Wed, 4 Dec 2013 14:55:03 -0800 Hugh E Cruickshank wrote:
   Tried that but it failed. 
  
  Describe failed.
 
 That happened yesterday and I can not recall specifically what it
 said. I am currently in the process of backing up the hard drive
 before proceeding any further. I will see if I can get the error a
 little later today.

Well I am unable to locate the error message as it does not appear to
be logged. In the interim I have done a lot more research and I now
suspect that I have two separate problems:

1. Since the yum update did not complete then it never had a chance
   to update the rpm database,

2. We probably have one or more packages that have been install but
   the predecessor has not be removed.

I have done the following:

a. Rebuilt the rpm database:

rm -f /var/lib/rpm/__db*
rpm --rebuilddb

b. I then retried the yum update this aborted report conflicts in
   systemtap packages.

c. I listed the installed systemtap packages:

   rpm -qa | grep systemtap | sort

   This revealed that there were two systemtap-devel packages
   installed and I removed the newer one.

d. I then retried yum update and this appeared to work fine until it
   got to:

   Cleanup  : 1:xorg-x11-drv-nouveau-1.0.1-3.el6.x86_64  286/513

At this point the system appears to be hung. I can not proceed any
further this evening as I am working on this from home and I do not
have physical access to the server to reboot it. In the morning I
will reboot the server and try again but this time I am going to do
a yum clean all to the rpm database rebuild.

Any thoughts or comments would be appreciated.

That's al for now.

Regards, Hugh

-- 
Hugh E Cruickshank, Forward Software, www.forward-software.com

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos