portupgrade -> portmaster after freebsd-update

Axel S list at glemsk.net
Sat Mar 3 13:44:19 UTC 2012


I understand that using portmaster is preferable over portupgrade.

What is the proper portmaster commands in relation to freebsd-update?

Quote http://www.freebsd.org/doc/handbook/updating-freebsdupdate.html :

    Most users will want to run a test build using the following command:
    # portupgrade -af

    # freebsd-update -r 6.3-RELEASE upgrade
    # freebsd-update install
    # shutdown -r now
    # freebsd-update install

    All third party software will now need to be rebuilt and
    re-installed. This is required as installed software may depend on
    libraries which have been removed during the upgrade process. The
    ports-mgmt/portupgrade command may be used to automate this process.
    The following commands may be used to begin this process:

    # portupgrade -f ruby
    # rm /var/db/pkg/pkgdb.db
    # portupgrade -f ruby18-bdb
    # rm /var/db/pkg/pkgdb.db /usr/ports/INDEX-*.db
    # portupgrade -af

    # freebsd-update install

Thanks,

Axel


More information about the freebsd-ports mailing list