Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - ejprice

#31
17.1 Legacy Series / Re: pkg broke during 17.1 upgrade
February 02, 2017, 05:22:23 PM
Thank you for the quick reply!

Quote from: franco on February 02, 2017, 02:43:11 PM
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).

Quote from: franco on February 02, 2017, 02:43:11 PM
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.
#32
17.1 Legacy Series / Re: pkg broke during 17.1 upgrade
February 02, 2017, 02:26:05 PM
Thank you! Hadn't thought of that. Still a FreeBSD noob 🙄

Unfortunately, the upgrade still didn't fix the problem. Here is the output:

root@ppt-fw:~ # pkg-static upgrade
pkg-static: Warning: Major OS version upgrade detected.  Running "pkg-static install -f pkg" recommended
Updating OPNsense repository catalogue...
pkg-static: http://mirrors.nycbug.org/pub/opnsense/FreeBSD:11:amd64/17.1/latest/meta.txz: No address record
repository OPNsense has no meta file, using default settings
pkg-static: http://mirrors.nycbug.org/pub/opnsense/FreeBSD:11:amd64/17.1/latest/packagesite.txz: No address record
Unable to update repository OPNsense
All repositories are up-to-date.
pkg-static: Repository OPNsense cannot be opened. 'pkg update' required
Checking for upgrades (0 candidates): 100%
Processing candidates (0 candidates): 100%
Checking integrity... done (0 conflicting)
Your packages are up to date.
root@ppt-fw:~ # pkg
Shared object "libssl.so.7" not found, required by "pkg"

Any other thoughts? It is not a production system so I can simply backup the config and do a fresh install but that seems like cheating to me.

Thanks!
#33
Hi folks,

I've just completed an upgrade from 16.7 to 17.1 and it seems pkg is broken. Here is the output I'm getting:

Shared object "libssl.so.7" not found, required by "pkg"

So I tried to force it to reinstall with pkg-static:
pkg-static install -f pkg

pkg-static: Warning: Major OS version upgrade detected.  Running "pkg-static install -f pkg" recommended
Updating OPNsense repository catalogue...
pkg-static: http://mirrors.nycbug.org/pub/opnsense/FreeBSD:11:amd64/17.1/latest/meta.txz: No address record
repository OPNsense has no meta file, using default settings
pkg-static: http://mirrors.nycbug.org/pub/opnsense/FreeBSD:11:amd64/17.1/latest/packagesite.txz: No address record
Unable to update repository OPNsense
All repositories are up-to-date.
pkg-static: Repository OPNsense cannot be opened. 'pkg update' required

pkg-1.9.3_2 is locked and may not be modified

pkg-1.9.3_2 is locked and may not be modified

So far I've tried changing mirrors, doing an update with pkg-static but I'm still stuck. Any ideas?

Thanks in advance!