purging duplicate rpm versions
Jeff Johnson
n3npq at mac.com
Thu Jun 17 16:55:49 UTC 2010
On Jun 17, 2010, at 12:43 PM, seth vidal wrote:
> 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
>
Don't you need an epoch too?
What if there are multiple packages with identical version and release
but different epoch's?!?
73 de Jeff
More information about the Rpm-list
mailing list