[CentOS] Yum broken after x86_64 upgrade

Mon Aug 16 00:46:04 UTC 2010
Robert Heller <heller at deepsoft.com>

At Sun, 15 Aug 2010 17:30:31 -0700 CentOS mailing list <centos at centos.org> wrote:

> 
> On Sun, 15 Aug 2010 17:20:41 -0700, Mark wrote
> > >
> > It might help if you gave us some real information, like what 
> > hardware you're running, which actual version of CentOS and the 
> > kernel you are
> > (and were) running, etc.  Otherwise we're stabbing for a needle in a 
> > haystack.
> > 
> > I don't ever remember running a 'yum update' when I was using the
> > 32-bit version and having it update me to a 64-bit kernel.  I had to
> > make that choice on my own first.
> 
> Hardware: Supermicro with Intel 64-bit CPU
> 
> The OS was CentOS 5.3 32-bit. I upgraded with the CentOS 5.5 x86_64 DVD, as
> stated earlier. I did not do the upgrade using yum, the upgrade broke yum.

You should not have done this.  I guessing that the CentOS 5.5
installer is not bulleted proofed for this case (eg it assumed that you
know what you were doing).  In any case, this is not a supported way to
go (documented or not).  The 'updater' on the CentOS 5.5 x86_64 DVD is
meant to go from CentOS < 5.5 x86_64 to CentOS 5.5 x86_64, NOT CentOS <
5.5 32-bit to CentOS 5.5 x86_64.

You should have made a backup and then did a fresh install.

The only good way to properly fix things is to backup your stuff (eg
/home/ and stuff like /var/www/ (if you are running a web server)). 
Maybe backup selected files under /etc/ (eg passwd, shadow, group, etc.)
and then do a fresh install (*reformat* /, /boot, /usr, etc.).

> 
> Cheers,
> --Bill
> _______________________________________________
> CentOS mailing list
> CentOS at centos.org
> http://lists.centos.org/mailman/listinfo/centos
> 
>                                                                    

-- 
Robert Heller             -- 978-544-6933
Deepwoods Software        -- Download the Model Railroad System
http://www.deepsoft.com/  -- Binaries for Linux and MS-Windows
heller at deepsoft.com       -- http://www.deepsoft.com/ModelRailroadSystem/