[RESOLVED] 2.2.6 to 2.3 beta upgrade full install package issues
-
try this:
pkg install -f pfSense-kernel-pfSense
-
after that even option 13 gives
Enter an option: 13 >>> Updating repositories metadata... Updating pfSense-core repository catalogue... pfSense-core repository is up-to-date. Updating pfSense repository catalogue... pfSense repository is up-to-date. All repositories are up-to-date. return: Illegal number: -1 Your packages are up to date
-
You would be up-to-date until a new snap comes out โ the pkg install commands would have pulled the latest from the repo. Give it a bit until a new update comes out and then see what happens.
-
Tried this locally, breaking the pkg db intentionally, and this got things going again:
/bin/mkdir -p /var/db/pkg/ /root/var/db/pkg/ /usr/sbin/pkg update -f /usr/sbin/pkg install -yf pkg pfSense pfSense-kernel-pfSense sort -u /usr/local/etc/php/extensions.ini > /tmp/extensions.ini mv /tmp/extensions.ini /usr/local/etc/php/extensions.ini
-
i tried today option 13 and it did update the system so seems fine now but saving in squid causes the page to timeout. i tried clearing squid cache, reinstalling but its same still, what could be wrong, no errors come up in log even
-
even after updating to latest snap the dashboard says this
2.3-BETA (i386) built on Tue Mar 01 05:40:01 CST 2016 FreeBSD 10.3-BETA3
also when i try to install pfsense-kernel-pfsense pkg i keep getting this, the first time it installed but now it says the below
Updating pfSense-core repository catalogue... pfSense-core repository is up-to-date. Updating pfSense repository catalogue... pfSense repository is up-to-date. All repositories are up-to-date. pkg: No packages available to install matching 'pfSense-kernel-pfSense' have been found in the repositories
-
any snap update still doesnt increment the build on date so no idea if its even updating, but in summary i think upgrades from 2.2.6 to 2.3 with packages installed would be deadly, other than packages the system updates just fine.
-
just an addition to this, the dashboard wasnt showing proper build dates and some of the GUI components were not updating, i even did a gitsync, the thing that resolved all that was by using the below modified commands given by jimp, use this if u messed up the pkg db or deleted the db during upgrade from 2.2.6 to 2.3 on a full install, hope it helps others
/bin/mkdir -p /var/db/pkg/ /root/var/db/pkg/ /usr/sbin/pkg update -f /usr/sbin/pkg install -yf pkg pfSense pfSense-kernel-pfSense pfSense-base pfSense-default-config sort -u /usr/local/etc/php/extensions.ini > /tmp/extensions.ini mv /tmp/extensions.ini /usr/local/etc/php/extensions.ini
this even gets rid of the below message during option 13 from console
return: Illegal number: -1
it even fixes GUI update saying cant retrieve system version
-
For me, the above fixes the ability to update through option 13.
The webgui still says that it is not able to check for updates and the build information shows "built on Tue Mar 01 23:43:51 CST 2016" allthough it did update.
The problems for me started when I enabled the ramdrives, so no update from an older version. -
there is a redmine related to ramdisk so no idea if the above would solve that, installing the pfsense-base package solved the GUI not showing updates for me.
u can run the above commands again and see if it solves for u, it wont harm the system but if something is broken it might fix it