Eduardo Grosclaude
2009-Jun-03 11:57 UTC
[CentOS] Yum-complete-transaction wants to wipe my system out
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 -- Eduardo Grosclaude Universidad Nacional del Comahue Neuquen, Argentina
Les Mikesell
2009-Jun-03 12:29 UTC
[CentOS] Yum-complete-transaction wants to wipe my system out
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 advanceDo 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