root rpm package list?

JD jd1008 at gmail.com
Thu Nov 4 22:04:06 UTC 2010


On 11/04/2010 06:44 AM, Tom Horsley wrote:
> On Thu, 04 Nov 2010 14:51:59 +0200
> Markku Kolkka wrote:
>
>> Use "package-cleanup --leaves --all" to show the full list, not just
>> libraries.
> I tried it, and it is definitely faster than my find-roots script,
> but it shows 623 packages, some of which are obviously providing
> dependencies for other things. My script comes up with 244 packages.
>
> I have no clue what is actually being listed by --leaves --all :-).
Well, you will have to write another script to go through
each installed rpm (except those listed as leaves), and
for each rpm invoke
rpm -qR rpmName | egrep -i 'leaf1|leaf2....'
If you see any of the leaves in the output, then
package-cleanup --leaves --all  lied :) :)



More information about the users mailing list