Unable to retrieve package information.
-
Hi,
I have installed pfsense 2.4 as i have to support a real old ip phone setup that requries vpn for its functionality and it doesnt supports above aes1 . so assuming this version of pfsnse/openvpn will do i isntalled it and all is good. however i wanted to enable snmp v3 on this pfsense but when i went to package manager to intall snmp package it gives me below error. no matter if i select "installed packages" or "available packages"
from update settings i had selected "Latest stable version 2.4.x)Unable to retrieve package information.
pkg-static info pfSense-repo
*- pfSense-repo-2.4.4_12
- Name : pfSense-repo
- Version : 2.4.4_12
- Installed on : Tue Jan 28 13:37:02 2025 PKT
- Origin : sysutils/pfSense-repo
- Architecture : FreeBSD:11:amd64
- Prefix : /usr/local
- Categories : sysutils
- Licenses : APACHE20
- Maintainer : coreteam@pfsense.org
- WWW : https://www.pfsense.org/
- Comment : Setup pfSense pkg(8) repositories
- Annotations :
- FreeBSD_version: 1102000
- repo_type : binary
- repository : pfSense
- Flat size : 11.7KiB
- Description :
- Setup pfSense pkg(8) repositories
- WWW: https://www.pfsense.org/
pkg install snmp
Shared object "libelf.so.2" not found, required by "pkg" -
Try using
pkg-static
. But in that old version you must have the update repo set to the version that is currently running.However it's unclear why you think you need that old version. The VoIP phones are connecting dircetly? OpenVPN?
-
SIP is blocked in our country for home user so to use it an IP must be whitelisted from relevant authorities.
We have few users who would be accessing the voip server from their home so all their traffic has to go via the whitelisted ip that is at central office.The phones use SHA1 which didnt worked in latest pfsense so we choose one of the older version of pfense to deploy it.
-
@Snailkhan said in Unable to retrieve package information.:
but when i went to package manager to intall ...
Don't do that !!
You've decided to stop updating .... ok, your choice.
But pfSense packages are always based upon the last pfSense version.
After all, the kernel can change. The platform shifted from "32 bits" to "64 bits" etc etc.
So, the golden rule is :always update pfSense first - if available, and then update / upgrade / install packages.It's like using Windows 95, and then installing the latest "Office "365". That won't work.
Btw : Can't be that hard to 'update' (get a new old one) that iPhone ? If it's that old, the battery is already at '1 %' so quiet useless. For a couple of $/€ (50 ?) you can get a "old phone" that is still supported.
Be ware : using old stuff has advantages, I get it. But you have to deal with a list of issues that pop up over time. Like using an OpenVPN that is completely 'not secure' anymore.
-
You can install old pkgs but, as I said, you must set the repo to running version before doing so. If you do not it will probably pull in pkgs from the wrong repo and break the install.
@Snailkhan said in Unable to retrieve package information.:
The phones use SHA1
Can you elaborate on that? I assume you mean they use a VPN of some sort?