Re: RPM database question

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



David Boles said:
> Ralf Corsepius wrote:
>> On Wed, 2006-01-18 at 23:53 -0800, David Boles wrote:
>>> Sorry if this posts twice. It did not appear to post.
>>> 
>>> I seem to recall that there was a long CLI command that would list
>>> the 'duplicate installs' in the RPM database. These caused false
>>> dependency problems because RPM thought the 'old' version was still
>>> installed.
>>> 
>>> Example:
>>> 
>>> foopackage-1.2.3-1.i386.rpm    and foopackage-1.2.3-2.i386.rpm
>>> 
>>> And there was a way to repair this.
>> rpm -e --allmatches foopackage
>> 
>> Ralf
>> 
>> 
> Thank you Ralf. That is very helpful.
> 
> But what I was thinking of was more like this. If I remember correctly it
>  listed all 'duplicate' entries.
> 
> rpm -qa | sort | uniq -c | grep -v???   and that is all that I can
> remember

try rpm -qa | sort | uniq -c  
or 
rpm -qa | sort | uniq -D
or
rpm -qa | sort | uniq -d


> 
> --
> 
> 
> David
> 
> -- fedora-list mailing list fedora-list@xxxxxxxxxx To unsubscribe:
> https://www.redhat.com/mailman/listinfo/fedora-list
> 


------------------------------------------------
David Maina.
Systems/Network Administrator.
PdE-Kenya.
P. O. Box 1239 - 20100.
Nakuru, Kenya.
Telephone:+254-51-850298/850333.
Cell:+254-721-950073.
Registered Linux User #407239.
----------------------------------------------------------------------
"By golly, I'm beginning to think Linux really *is* the best thing since sliced bread."


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux