Discussion:
Finding unused packages
(too old to reply)
John Andersen
2011-01-05 22:15:54 UTC
Permalink
I've noticed some libraries and stuff laying around in my machine (opensuse 11.3) that
are apparently not used by anything (selecting them for removal shows no dependency alerts).
Some of these are old packages, as this machine was upgraded from 10.something.)


Is there any tool to find this stuff?
--
_____________________________________
---This space for rent---
--
To unsubscribe, e-mail: opensuse+***@opensuse.org
For additional commands, e-mail: opensuse+***@opensuse.org
Lars Müller
2011-01-05 23:09:23 UTC
Permalink
Post by John Andersen
I've noticed some libraries and stuff laying around in my machine (opensuse 11.3) that
are apparently not used by anything (selecting them for removal shows no dependency alerts).
Some of these are old packages, as this machine was upgraded from 10.something.)
Is there any tool to find this stuff?
rpm -qa --queryformat "%{NAME}\t%{DISTRIBUTION}\n" | sort

or

rpm -qa --last --queryformat "%{NAME}\t%{DISTRIBUTION}\n"

"rpm --querytags" shows the available tags.

Lars
--
Lars MÃŒller [ˈlaː(r)z ˈmʏlɐ]
Samba Team
SUSE Linux, Maxfeldstraße 5, 90409 NÃŒrnberg, Germany
David Haller
2011-01-06 06:02:24 UTC
Permalink
Hello,
Post by John Andersen
Is there any tool to find this stuff?
From Packman[1]:

zypper in rpmorphan
man rpmorphan

HTH,
-dnh

[1] Add the "packman" repo (see http://packman.links2linux.de/MIRRORS.html
for a list of mirrors) if you haven't already. Note, that the
skynet.be and the unixheads.com mirrors still listed are somewhat
dysfunctional and/or dead (-slow). If in doubt, use one of the
german mirrors.
--
"Irrigation of the land with sewater desalinated by fusion power is ancient.
It's called 'rain'." -- Michael McClary, in alt.fusion
--
To unsubscribe, e-mail: opensuse+***@opensuse.org
For additional commands, e-mail: opensuse+***@opensuse.org
Loading...