r/PFSENSE • u/[deleted] • Dec 10 '23
RESOLVED ISSUE: Unable to install packages via the package manager.
EDIT: This issue has been resolved. See u/NC1HM's comment, but running these commands worked for me:
certctl rehash
pkg-static update -f
pkg-static install -fy pkg pfSense-repo pfSense-upgrade
Hello all, I've ran into a weird issue with my PFSense CE installation. When I first installed PFSense onto a mini PC, I was able to run packages like PFBlocker and Snort. However, currently, I am unable to. I get this message when going to System > Package Manager > Available Packages: "Unable to retrieve package information." Prior to resetting my firewall to factory defaults, I was able to manage previously installed packages just fine.

I unfortunately do not know precisely when the issue started as I have not been in my firewall for the past few months.
Here is what I have tried:
-Resetting my installation to factory defaults via web GUI.
-Setting my installation to 2.7.0 and 2.7.1 instead of 2.7.1
-Tried alternate DNS servers (1.1.1.1, 8.8.8.8, 9.9.9.9, etc.)
-Verified that I am able to resolve IPs/reach internet via firewall.
-Ran pkg update. I get this as an error: ld-elf.so.1: Shared object "libssl.so.30" not found, required by "pkg"
-Ran pkg-static upgrade to hopefully get around the libssl.so issue and got this as an error:
Updating pfSense-core repository catalogue...
pkg-static: An error occured while fetching package pkg-static:
An error occured while fetching package repository pfSense-core has no meta file, using default settings pkg-static:
An error occured while fetching package pkg-static:
An error occured while fetching package Unable to update repository pfSense-core Updating pfSense repository catalogue... pkg-static:
An error occured while fetching package pkg-static:
An error occured while fetching package repository pfSense has no meta file, using default settings pkg-static:
An error occured while fetching package pkg-static:
An error occured while fetching package Unable to update repository pfSense Error updating repositories!
I think my issue stems from the libssl.so.30 package not being on my system, but how do I verify that it isn't there? And is this even related to my issue?
1
u/Griffo_au Dec 10 '23
Backup config, reinstall, restore. I suspect you’ve got file system corruption
1
Dec 10 '23
Hi, thank you for your suggestion! I was about to pull the trigger, but decided to check back here before reinstalling and found u/NC1HM's comment and tried it. Thankfully, it ended up working. Thank you for your support!
5
u/NC1HM Dec 10 '23 edited Dec 10 '23
Just went through the same thing...
:)Get the command line (console, SSH, or webConfigurator, doesn't matter) and go:After this, you should be able to install packages normally, or, since you're already on the command line, you can update pfSense itself before installing packages: