Best way to uninstall X

Olli Hauer ohauer at
Thu Apr 7 19:19:23 UTC 2011

On 2011-04-07 20:36, Attos wrote:
> I used to have remote access through VPN-VNC using IceWM to this machine,
> but I no longer require this.
> This machine has Apache, MySQL, PostFix, Samba. And now (port-)upgrading it
> has become a PITA.
> It's currently running 7.4-REL and I'm planning to upgrade it to 8.2-REL and
> portupgrade is holding me. That's why I want to get rid of all those ports I
> no longer use.

If you plan the upgrade to 8.2 then you have to rebuild all your ports.
So why updating the ports before the update?

# create list of all packages (for reference)
pkg_info -qoa | sort > ~/packages_74

# delete all packages
pkg_delete -a

Do the system upgrade, then build or install only the ports you want on the 8.2

More information about the freebsd-ports mailing list