monday 17 feb 2003, 16:30, John Pettigrew wrote:
In a previous message, Fabian Dost wrote:
do you mean that, after using a different tool to uninstall software, you're left with "orphan" programs that you want to remove?
That's what I mean. Going through the listing takes you like forever. So I'm looking for an easy way.
Ah. Of course, the easy answer is "use YaST to uninstall", then you wouldn't have the problem :-)
Now that you *do* have the problem, I don't think there's any easy way other than manually going through the list.
John
We could/should ask for SuSE to apply something similar to this for YaST: rpm -qa | while read pkg do rpm -ql $pkg | perl -ne 'chomp; next unless -f $_; $e=1; if (-A _ < 6*30) { $e=0; last } END {exit (!$e)}' && echo $pkg done Keep in mind that I didn't write this, and one should probably see over the lists output. It is though a good exercise to try and understand this. -- Leif Mathis Gaup