Bug 222880 - freebsd-update should explain how to update ports after updating to a new release
Summary: freebsd-update should explain how to update ports after updating to a new rel...
Status: New
Alias: None
Product: Base System
Classification: Unclassified
Component: bin (show other bugs)
Version: CURRENT
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-bugs mailing list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-10-09 15:03 UTC by Dan MacDonald
Modified: 2017-10-09 15:03 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dan MacDonald 2017-10-09 15:03:08 UTC
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?