Multiple port versions

Robert Huff roberthuff at rcn.com
Wed Jan 3 08:13:07 PST 2007


Vizion writes:

>  What is the safest way to remove the earlier versions?

	By not doing so.
	Different ports use different versions of the same program;
this especially true with things like "automake" and "autoconf".
(In the latter two instances there's a push on to unify some or all
of these ... but that day is not today.)
	If I _had_ to do this, I would:

	run "pkgdb -F"
	for each port {
		run "pkg_info -R" on each port
		if and only if no other ports are listed under "required
			by", delete the port
		run "pkgdb -F"
	}


				Robert Huff


More information about the freebsd-questions mailing list