31
17.1 Legacy Series / Re: pkg broke during 17.1 upgrade
« on: February 02, 2017, 05:22:23 pm »
Thank you for the quick reply!
Indeed I did that first on the initial error and many times since. It, unfortunately gives the same error (see below).
pkg bootstrap doesn't want to work either.
root@ppt-fw:~ # pkg bootstrap
The package management tool is not yet installed on your system.
Do you want to fetch and install it now? [y/N]: y
Bootstrapping pkg from pkg+http://pkg.opnsense.org/FreeBSD:11:amd64/17.1/latest, please wait...
pkg: Error fetching http://pkg.opnsense.org/FreeBSD:11:amd64/17.1/latest/Latest/pkg.txz: No address record
A pre-built version of pkg could not be found for your system.
Consider changing PACKAGESITE or installing it from ports: 'ports-mgmt/pkg'.
This has been the same error I've been getting when I tried pkg-static upgrade and pkg-static install -f pkg
I have changed mirrors so that is not the issue.
Geez, pkg can be stubborn. Maybe better follow its suggestion.
# pkg-static install -f pkg
Indeed I did that first on the initial error and many times since. It, unfortunately gives the same error (see below).
If that for some reason doesn't work, it can also be re-bootstrapped, I think it goes like this:
# pkg-static remove pkg
# pkg bootstrap
pkg bootstrap doesn't want to work either.
root@ppt-fw:~ # pkg bootstrap
The package management tool is not yet installed on your system.
Do you want to fetch and install it now? [y/N]: y
Bootstrapping pkg from pkg+http://pkg.opnsense.org/FreeBSD:11:amd64/17.1/latest, please wait...
pkg: Error fetching http://pkg.opnsense.org/FreeBSD:11:amd64/17.1/latest/Latest/pkg.txz: No address record
A pre-built version of pkg could not be found for your system.
Consider changing PACKAGESITE or installing it from ports: 'ports-mgmt/pkg'.
This has been the same error I've been getting when I tried pkg-static upgrade and pkg-static install -f pkg
I have changed mirrors so that is not the issue.