superfluous java ports?

Dr. Richard E. Hawkins hawk at
Thu Mar 4 15:02:24 PST 2004

On Thu, Mar 04, 2004 at 05:18:39PM -0500, Robert Huff wrote:

> 	I have the following JDKs installed:

> diablo-jdk-
> jdk-1.3.1p8_2
> jdk-nodebug-1.4.1p4
> linux-blackdown-jdk-1.3.1_2
> linux-sun-jdk-

I was wondering how many were cruft the other day, and did something

ls /var/db/pkg/*/+REQ* | sed -e "s/-.*//" -e "s/^.*\///" > tlist

to get a file of all packages upon which something else depends, and 

/var/db/pkg | grep -v -f tlist

to get a list of files upon which nothing else depends, which I then
inspected for candidates for pkg_deinstall


Richard E. Hawkins, Asst. Prof. of Economics    /"\   ASCII ribbon campaign
dochawk at  111 Hiller (814) 375-4846      \ /   against HTML mail
These opinions will not be those of              X    and postings. 
Penn State until it pays my retainer.           / \   

More information about the freebsd-ports mailing list