Problem with packages
-
Hi guys, good afternoon.
A few days ago I realized that when I want to download a package in pfsense, none appears, but it does not show me an error either, so it is difficult for me to identify what the problem may be.
I am using pfsense 2.5.0 with transparent proxy and using squid and DNS Forwarder.
Another thing I noticed is that I did an installation from 0 of pfsense, I checked and if it showed me packages to download, but as soon as I loaded my backup copy it returned the problem, for which I deduce that the problem is something of the configuration, simply I don't know what it could be
Thanks! (I hope to give the necessary details to receive help)
-
You might have a bad package repo defined in the config if it's really old.
Go to System > Updates and make sure the branch is set to 'latest stable'. You should also see 2.5.2 available as an upgrade and you should upgrade to that.
Steve
-
What you experiences is could be considered as a feature.
Look at the release notes for pfSense 2.5.2 :
You'll find this phrase :Do not update packages before upgrading!
And update is equivalent to "install new ones".
Why ?
Because packages can pull in other (FreeBSD - pfSense modded) that are only valid for the last pfSense version.
For example, if a package needs a special PHP version, the version included with 2.5.2 but not with 2.5.0, then, after installing such a pfsense package, your 2.5.0 will be plain broken.So, when you know that a new pfSense is out, first upgrade to that newer version before you install or upgrade already present pfSense packages.
-
Yup, you should certainly upgrade before installing any packages anyway.
-
Thank you very much for the answers, I will do the update and see what turns out.
What confused me was that when I loaded my copy of pfsense, it returned the problem, but I will update it from the update option.
sorry for english, it's not my language :(
-
@carl123 said in Problem with packages:
What confused me was that when I loaded my copy of pfsense, it returned the problem
Most probably :
When you install pfSense, updates/upgrades work, as default DNS settings work.
When you import your own settings, with your config.xml, "breaks" DNS. pfSense itself can't resolve any more, and thus can't contact the Netgate update-upgrade server : the Package lists stays empty - and you're not notified any more when updates are avaible.
Solution : 'repair' your DNS.