Update problems
-
Trying to update snapshots on my 2.7 test box..
Doing pkg-static upgrade -f
I get -
pkg-static: repository pfSense contains packages for wrong OS version: FreeBSD:14:amd64
Processing entries: 100%
Unable to update repository pfSense
Error updating repositories!Ive done every command on- https://docs.netgate.com/pfsense/en/latest/troubleshooting/upgrades.html
any ideas.. I am also trying to reload the box but my XTM5 does not like the later usb images..
-
Got this to work finally after a few hours of fiddling..
Brought up the GUI.. System/Update/System Update
Chose "Latest Stable Version (2.6.0)"
Went to command window..... Option 13
Went back to GUI
Chose Devel version
Update then finally showed up.
-
@chpalmer Should have posted in the development section...wow, I am surprised it jump to FreeBSD 14, but that's great news indicating 2.7 will release with FreeBSD 13. Jimp had said in the development section that update had been halted because they were working on something that could cause updates to become unstable...glad you found the leak.
-
Nah.. no leak.. Snapshots have started building again. I figured this was a universal install issue not really related to the Deval but maybe Im wrong..
All my production boxes are showing the new snapshots when I set them to look for Dev versions. (They are all on 2.6 of course.) My 2.7 test box was the only one giving me issues.
-
If you were on a FreeBSD 12 based 2.7 snapshot it's better to reinstall. There's no easy way to move to the 14 based snaps from there. It's a chicken/egg situation. It is possible though, the steps required are in the blog post:
https://www.netgate.com/blog/ce-snapshots-on-php-8.1-and-freebsd-mainUsers upgrading from older 2.7.0 snapshots
First, try the procedure above, but select the stable branch first to try obtaining the fix. If that works, then use that method.If that fails, try the following procedure:
Navigate to System > Update
Allow the update check to complete, even if it results in an error
Open an SSH connection to the firewall and start a shell (Option 8)
Force an update of pkg metadata:
pkg-static -o ABI=FreeBSD:14:amd64 -o IGNORE_OSVERSION=yes update
Update pkg:
pkg-static -o ABI=FreeBSD:14:amd64 -o IGNORE_OSVERSION=yes upgrade -fy pkg
Upgrade pfSense-upgrade:
pkg-static -o ABI=FreeBSD:14:amd64 -o IGNORE_OSVERSION=yes upgrade -fy pfSense-upgrade
Check for updates in debug mode:
pfSense-upgrade -dc
Run the upgrade in debug mode:
pfSense-upgrade -dy
Steve
-
@stephenw10 Thanks!
I totally missed that blog post somehow..
That box seemed happy when I had it powered up earlier now that it got its updates..
I need a good reason to keep it powered I suppose to be a real test box. ;)
-
Looks as if I need to reinstall then as mine still not updating.
-
@nollipfsense said in Update problems:
Looks as if I need to reinstall then as mine still not updating.
Did you try what worked for me a few hours ago I posted above?
-
@chpalmer No, since I had thought that what I needed to do; so made back then reinstall and now Suricata won't reinstall...PHP issue that I just brought to Bill's attention. However, I did get the FreeBSD 14 issue on the new installation.
-
@chpalmer Thank you, that helped for me :-)