Re: [CentOS] Broken upgrade to 5.2 {solved - I hope}

2008-06-25 Thread Karanbir Singh
Tim Verhoeven wrote: The best way to remove duplicate package is using rpm itself and the --justdb switch. This will only remote entries inside the RPM database and not on the filesytem itself. If you remove the newest version of the duplicate packages you can run the yum update again and it will

Re: [CentOS] Broken upgrade to 5.2 {solved - I hope}

2008-06-25 Thread Tim Verhoeven
On Wed, Jun 25, 2008 at 2:27 PM, Ian Blackwell <[EMAIL PROTECTED]> wrote: > Thanks to all that offered advice to help solve this for me. Here's a round > up for those that may follow in similarly ill-fated foot-steps. > > 1. Don't update/upgrade remotely without using "screen". Dropping the ssh >

Re: [CentOS] Broken upgrade to 5.2 {solved - I hope}

2008-06-25 Thread Ian Blackwell
Thanks to all that offered advice to help solve this for me. Here's a round up for those that may follow in similarly ill-fated foot-steps. 1. Don't update/upgrade remotely without using "screen". Dropping the ssh session caused yum to die inelegantly, with duplicate packages in the RPM data

Re: [CentOS] Broken upgrade to 5.2

2008-06-25 Thread Karanbir Singh
Ian Blackwell wrote: cups-libs-1.2.4-11.14.el5_1.6.i386.rpm cups-libs-1.2.4-11.18.el5_2.1.i386.rpm you have a few pkgs like this where more than 1 version is installed in the rpmdb, no idea what the real state on the machine drive is. Remove the NEWER version of these packages then redo the

Re: [CentOS] Broken upgrade to 5.2

2008-06-25 Thread Ian Blackwell
Johnny Hughes wrote: Could you post the output of the command "/bin/rpm -qa --qf '%{name}-%{version}-%{release}.%{arch}.rpm\n'" ? I would add a | sort to that like this: "/bin/rpm -qa --qf '%{name}-%{version}-%{release}.%{arch}.rpm\n' | sort" [EMAIL PROTECTED] ~]# /bin/rpm -qa --qf '%{name}

Re: [CentOS] Broken upgrade to 5.2

2008-06-25 Thread Johnny Hughes
Tim Verhoeven wrote: On Wed, Jun 25, 2008 at 6:03 AM, Ian Blackwell <[EMAIL PROTECTED]> wrote: I was upgrading a CentOS 5.1 box to 5.2 remotely, and I lost my ssh connection to the server. Now when I rerun the "yum upgrade" it fails due to conflicts in the transaction check stage. Before I dig

Re: [CentOS] Broken upgrade to 5.2

2008-06-25 Thread Tim Verhoeven
On Wed, Jun 25, 2008 at 6:03 AM, Ian Blackwell <[EMAIL PROTECTED]> wrote: > > I was upgrading a CentOS 5.1 box to 5.2 remotely, and I lost my ssh > connection to the server. Now when I rerun the "yum upgrade" it fails due > to conflicts in the transaction check stage. Before I dig myself a deeper