Netgate SG-1000 microFirewall

Author Topic: Unable to retrieve package information, option 13 doesn't work either...  (Read 251 times)

0 Members and 1 Guest are viewing this topic.

Offline imrazor

  • Newbie
  • *
  • Posts: 14
  • Karma: +0/-0
    • View Profile
On version 2.3.2-RELEASE-p1 in a VMWare ESXi virtual machine. Per the sticky thread, tried Option 13 from console, and it detected some out of date packages and said 129MB would be downloaded. Then I got:
Code: [Select]
**** WARNING ****
Reboot will be required!!
Proceed with upgrade? (y/N) Y
Aborting...
>>> Unlocking pkg... done.

Then it returned to the usual console menu. Not sure which logs to check or where to look for them. It's otherwise functioning fine - passes traffic, VPN clients can connect. But I can neither add new packages nor upgrade....

Offline jimp

  • Administrator
  • Hero Member
  • *****
  • Posts: 21571
  • Karma: +1471/-26
    • View Profile
Re: Unable to retrieve package information, option 13 doesn't work either...
« Reply #1 on: January 09, 2018, 03:14:13 pm »
If you run "pkg update -f" what output do you see?

If you go in the GUI to System > Update, Update Settings tab, try switching to a different branch, such as a development snapshots branch, save, then switch back to the setting you had to start with and save again. Does it work after that?
Need help fast? Commercial Support!

Co-Author of pfSense: The Definitive Guide. - Check the Doc Wiki for FAQs.

Do not PM for help!

Offline imrazor

  • Newbie
  • *
  • Posts: 14
  • Karma: +0/-0
    • View Profile
Re: Unable to retrieve package information, option 13 doesn't work either...
« Reply #2 on: January 09, 2018, 05:40:19 pm »
Code: [Select]
# pkg update -f
Shared object "libssl.so.8" not found, required by "pkg"

So I'm missing the SSL library? That's .... weird. Any way I can restore it?

Switching to a different branch, saving, then switching back to the stable branch made no difference.

EDIT: Here's another interesting tidbit.

Code: [Select]
# find / -xdev -iname "libssl.so.*"
/usr/lib/libssl.so.7

So it appears I have libssl, just the wrong version. In the wake of Meltdown, I tried to update a few days ago and thought it succeeded, but it must have gone awry. Any idea how to get the proper version on my VM?
« Last Edit: January 09, 2018, 05:47:32 pm by imrazor »

Offline jimp

  • Administrator
  • Hero Member
  • *****
  • Posts: 21571
  • Karma: +1471/-26
    • View Profile
Re: Unable to retrieve package information, option 13 doesn't work either...
« Reply #3 on: January 10, 2018, 09:19:15 am »
Your system has picked up the pkg binary from 2.4 as part of the upgrade. It should work OK with pfSense-upgrade, but you might need to do this first:

Code: [Select]
pkg-static update -f
pkg-static upgrade -fy pkg pfSense-repo pfSense-upgrade

And then run

Code: [Select]
pfSense-upgrade -d
Need help fast? Commercial Support!

Co-Author of pfSense: The Definitive Guide. - Check the Doc Wiki for FAQs.

Do not PM for help!

Offline imrazor

  • Newbie
  • *
  • Posts: 14
  • Karma: +0/-0
    • View Profile
Re: Unable to retrieve package information, option 13 doesn't work either...
« Reply #4 on: January 11, 2018, 07:03:24 pm »
After following your steps, "pfSense-upgrade -d" results in the package manager finding 129MB to download, then this:

Code: [Select]
**** WARNING ****
Reboot will be required!!
Proceed with upgrade? (y/N) Y
Aborting...
>>> Unlocking pkg... done.
Unlocking pkg-1.10.1_1

EDIT: libssl.so.8 is still not present...

Offline imrazor

  • Newbie
  • *
  • Posts: 14
  • Karma: +0/-0
    • View Profile
Re: Unable to retrieve package information, option 13 doesn't work either...
« Reply #5 on: January 18, 2018, 12:56:53 pm »
So I waited for a while and tried updating manually again. This time it seemed to work. Packages downloaded and installed and the system rebooted. However, when it came back up the console screen was filled with "PHP Startup: Unable to load dynamic library". Most of these were referencing libcrypto.so.8 and libssl.so.7. I managed to fix those with some judicious  symlinks. However, two errors are still preventing PHP from starting up:

Code: [Select]
Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/20131226/readline.so' - Shared object "libreadline.so.8" not found, required by "readline.so" in Unknown on line 0
Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/20131226/zmq.so' - /usr/local/lib/libsodium.so.18: Undefined symbol "explicit_bzero" in Unknown on line 0

I have no idea what to try next. I tried the manual update process you outlined above, but it still leaves me in this state. Any suggestions?

Offline imrazor

  • Newbie
  • *
  • Posts: 14
  • Karma: +0/-0
    • View Profile
Re: Unable to retrieve package information, option 13 doesn't work either...
« Reply #6 on: January 19, 2018, 04:43:50 am »
Never mind, it was easier to just do a fresh install of 2.4.2 than trying to recover from this mess. I will now have to reinstall OpenVPN on a few laptops, and hope that I configured the VPN properly.

If only...need to remember to do a snapshot next time I contemplate an upgrade. But they usually go so smoothly there hasn't been a need.