https://www.freebsd.org/doc/en/books/handbook/updating-upgrading-freebsdupdate.html#freebsdupdate-portsrebuild

Allan Jude allanjude at freebsd.org
Tue Oct 11 14:29:29 UTC 2016


On 2016-10-11 05:44, Paul Hargreaves wrote:
> While upgrading from 10.3 to 11.0p1
> 
> uname -a
> FreeBSD ViStAr 11.0-RELEASE-p1 FreeBSD 11.0-RELEASE-p1 #0 r306420: Thu Sep 29 01:43:23 UTC 2016     root at releng2.nyi.freebsd.org:/usr/obj/usr/src/sys/GENERIC  amd64
> root at ViStAr:~ # 
> 
> Docs say: https://www.freebsd.org/doc/en/books/handbook/updating-upgrading-freebsdupdate.html#freebsdupdate-portsrebuild <https://www.freebsd.org/doc/en/books/handbook/updating-upgrading-freebsdupdate.html#freebsdupdate-portsrebuild>
> 
> 
>> pkg-static upgrade -f
> 
> That complains with "pkg-static: Warning: Major OS version upgrade detected.  Running "pkg-static install -f pkg” recommended”  but appears to work.
> 

This is what you want to do, did it finish successfully? It would have
reinstalled all of your packages, and taken a bit of time, with a lot of
output.

> portmaster -af
> 
> Isn’t in the path.
> 

This is a utility that you would have had to install from ports. The
instructions should be more clear about that. You should use pkg, not
portmaster unless you specifically know why you would want to use
portmaster instead.

> 
> root at ViStAr:~ # portmaster -af
> portmaster: Command not found.
> root at ViStAr:~ # which portmaster
> portmaster: Command not found.
> root at ViStAr:~ # locate portmaster
> /usr/ports/ports-mgmt/portmaster
> /usr/ports/ports-mgmt/portmaster/Makefile
> /usr/ports/ports-mgmt/portmaster/distinfo
> /usr/ports/ports-mgmt/portmaster/pkg-descr
> /usr/ports/ports-mgmt/portmaster/pkg-message
> root at ViStAr:~ # /usr/ports/ports-mgmt/portmaster
> /usr/ports/ports-mgmt/portmaster: Permission denied.
> root at ViStAr:~ # 
> ars 
> _______________________________________________
> freebsd-doc at freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-doc
> To unsubscribe, send any mail to "freebsd-doc-unsubscribe at freebsd.org"
> 


-- 
Allan Jude

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 834 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/freebsd-doc/attachments/20161011/a4280baa/attachment.sig>


More information about the freebsd-doc mailing list