purging duplicate rpm versions

oscaruser at programmer.net oscaruser at programmer.net
Thu Jun 17 16:47:35 UTC 2010


sv,

  This really did solve the question. Thank you so much for your help 
and superb understanding !

-OSC


-----Original Message-----
From: seth vidal <skvidal at fedoraproject.org>
To: General discussion about the RPM package manager 
<rpm-list at lists.rpm.org>
Sent: Thu, Jun 17, 2010 9:43 am
Subject: Re: purging duplicate rpm versions


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


_______________________________________________
Rpm-list mailing list
Rpm-list at lists.rpm.org
http://lists.rpm.org/mailman/listinfo/rpm-list

  


More information about the Rpm-list mailing list