Updating FreeBSD 6.2

Ah good old FreeBSD sometimes you forget that you actually have to patch it. While I am fairly good about keeping my release current, this is one of the few times that I have had to update because of an exploit that concerned me enough that I patched because of it. FreeBSD-SA-07:09.random.asc

Seeing this I also noticed my documentation on updating was out of date, especially in light of a few FreeBSD ports that now make it easier. This is the quick and dirty way of updating a 6.2 FreeBSD System

Dependencies: portmanager, portsnap, pkg_version

Applying Binary Security Patches

  1. Grab the latest binary updates

    # freebsd-update fetch

  2. Install the updates

    # freebsd-update install

  3. Check OS Level

    # uname -a

  4. Reboot the System

    # shutdown -r now

  5. Confirm Update

    # uname -a

Updating Software & Applications

  1. Update your ports tree

    # portsnap fetch

    If you are running Portsnap for the first time, extract the snapshot into /usr/ports:

    # portsnap extract

    If you already have a populated /usr/ports and you are just updating, run the following command instead:

    # portsnap update

  2. Display ports that need updating

    # pkg_version -vIL=

  3. upgrade installed ports:

    # portmanager -u

This entry was posted in FreeBSD -- General and tagged , , . Bookmark the permalink.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.