purging duplicate rpm versions

seth vidal skvidal at fedoraproject.org
Thu Jun 17 16:43:32 UTC 2010


On Thu, 2010-06-17 at 12:31 -0400, oscaruser at programmer.net wrote:
> Folks,
> 
> An installed rpm is being listed multiple (three) times, with different 
> version numbers. How can I remove the older versions, but keep the 
> latest intact? I have tried to rebuild the rpm database, and various 
> erase/force commands, but no good.
> 

In this case the postun script is failing which is causing it to not be
cleaned out of the rpmdb.

rpm -e --noscripts pkgname-ver-rel.arch 


will fix it.


-sv




More information about the Rpm-list mailing list