[Bug 222880] freebsd-update should explain how to update ports after updating to a new release

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Mon Oct 9 15:03:09 UTC 2017


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=222880

            Bug ID: 222880
           Summary: freebsd-update should explain how to update ports
                    after updating to a new release
           Product: Base System
           Version: CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: bin
          Assignee: freebsd-bugs at FreeBSD.org
          Reporter: allcoms at gmail.com

I have just finished upgrading my FreeBSD 11.0 to 11.1. This was the first time
I've ever upgraded from one FreeBSD release to another and thankfully it went
without any real problems apart from the fact that I had to search for
documentation on how to update all of my installed ports because freebsd-update
didn't tell me what I needed to do and neither did the official 11.1 upgrade
instructions here:

https://www.freebsd.org/releases/11.1R/installation.html#upgrade-binary

Ideally, the user wouldn't need to search the web nor read any man pages (which
ones?) in order to fully update their system. After the second run of
freebsd-update install it tells you to update third party software and remove
old libraries but without giving the user any hints beyond that.

I could be more lucky than some in that I don't need any custom build options
for any of the ports I use in FreeBSD so in my case it seems all I needed to do
to fully update my system was to run:


# pkg-static install -f pkg
# pkg upgrade -f

After the second run of `freebsd-update install`. In my case I didn't need to
run the first command as pkg was already up-to-date, but maybe this command
should be recommended/run just in case?

I think the updating of ports after upgrading to a new release should also be
covered in the Handbook for the sake of completeness:

https://www.freebsd.org/doc/handbook/updating-upgrading-freebsdupdate.html

Maybe the process is a little more involved if users have customised port build
options?

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list