[CentOS] Yum-complete-transaction wants to wipe my system out

Les Mikesell lesmikesell at gmail.com
Wed Jun 3 12:29:53 UTC 2009


Eduardo Grosclaude wrote:
> After some enabling/disabling new repos (pgdg for PostgreSQL
> specifically) and admittedly some yum action that may have gone
> uncompleted, I am advised to run yum-complete-transaction. However,
> when I attempt to do this, yum warns that 225 packages will be erased,
> all of which I deeply care for. How can I safely back out of this
> situation?
> Thank you in advance

Do an 'rpm -q packagename' for some or all of the packages in question 
to see if you have duplicates installed (or rpm thinks you do).  I had 
this happen on one machine where yum crashed during the 5.3 upgrade and 
there really were many duplicates left in the rpm database and 
yum-complete-transaction did the right thing in removing them, even 
though it was bit scary to do remotely.

-- 
   Les Mikesell
    lesmikesell at gmail.com






More information about the CentOS mailing list