Error when upgrading to version 2.7
-
I tried to update PfSense from version 2.6 to version 2.7 but I couldn't. I tried 3 possible ways: Through the Web interface, through option 13 in the console and through the "pfSense-upgrade" command directly in the shell. According to the last test I got the output below:
I saw some forum posts, but I didn't find a solution.
-
-
That looks like it has pulled in some newer pkgs. Try running:
pkg-static info -x pfsense
andpkg-static info pkg
-
@stephenw10 said in Error when upgrading to version 2.7:
That looks like it has pulled in some newer pkgs. Try running:
pkg-static info -x pfsense
andpkg-static info pkg
Command output:
pkg-static info -x pfsense
Command output:
pkg-static info pkg
-
Mmm, OK. Try:
pkg-static -d update
-
@stephenw10 said in Error when upgrading to version 2.7:
Mmm, OK. Try:
pkg-static -d update
Command output:
pkg-static -d update
Should I run the
pfSense-upgrade
command now? -
Yes try:
pfSense-upgrade -d
-
@stephenw10 said in Error when upgrading to version 2.7:
Yes try:
pfSense-upgrade -d
When executing the above command the problem returned:
-
Ok try:
ls /var/cache/pkg/pkg*
If it shows you have a cached version of pkg-1.17.5_4.pkg then try:
pkg-static install -Uf /var/cache/pkg/pkg-1.17.5_4.pkg
Then try upgrading again.
-
The versions shown are as follows:
Should I use some of these versions, instead of the
pkg-1.17.5_4.pkg
version? -
Yes try:
pkg-static install -Uf /var/cache/pkg/pkg-1.17.5_3.pkg
-
Package update screens:
Should I really remove the "pkg.conf" file before running the
pfSense-upgrade -d
command? -
Nope just try upgrading from there.
Though it's interesting that now it was able to see the updated 1.19.1_2 version of package anyway. It will probably just upgrade to that again first, which is correct.
-
I tried updating using version "pkg-1.17.5_3.pkg" but it didn't work:
Later I checked the downloaded packages, installed the 1.19.1_2 package and tried to update, but it didn't work either:
-
Hmm.
pkg -d update
still succeeds?And
pfSense-repoc
fails? -
Still using version 1.19.1_2 of the package I have the following outputs:
I will restore the PfSense snapshot. It is a VM. Can we do another test?
Even changing to the snapshot does not update to version 2.7. However, we can start a new attempt without any previous tests.
-
Ah sorry try:
pkg-static -d update
andpfSense-repoc-static
-
I reinstalled the
pkg- 1.19.1_2.pkg
package.I executed the following commands, but one of them failed.
-
Hmm, I assume pfSense-upgrade still fails the same way?
At this point I think I would just reinstall 2.7 clean to be sure.
-
@stephenw10 said in Error when upgrading to version 2.7:
NETGATE
ADMINISTRATOR
8 minutes agoHmm, I assume pfSense-upgrade still fails the same way?
At this point I think I would just reinstall 2.7 clean to be sure.
Is it possible to backup all of pfSense (firewall rules, OpenVPN settings, etc?) and then restore to a clean install of pfSense 2.7?
-
Yes, just download the config from Diag > Backup/Restore then restore it into 2.7.