Missing package repository after failed upgrade to 23.01. Please help
-
Hi,
I upgraded my 2100 to 23.01 and hit a now confirmed bug unfortunately. I reverted to 22.05 and thought I was back where I started. But... In this process things got messed up. I have no available packages in gui so went into ssh and did a
pkg-static info pfSense-repo
. This however told mepkg-static: Warning: Major OS version upgrade detected. Running "pkg bootstrap -f" recommended
So I did...pkg bootstrap -f The package management tool is not yet installed on your system. Do you want to fetch and install it now? [y/N]: y Bootstrapping pkg from pkg+https://repo.netgate.com/pkg/pfSense_plus-v23_01_aarch64-pfSense_plus_v23_01, please wait... Could not load client key /etc/thoth/key.pem Could not load client key /etc/thoth/key.pem Could not load client key /etc/thoth/key.pem Could not load client key /etc/thoth/key.pem Could not load client key /etc/thoth/key.pem Could not load client key /etc/thoth/key.pem pkg: Error fetching https://repo.netgate.com/pkg/pfSense_plus-v23_01_aarch64-pfSense_plus_v23_01/Latest/pkg.txz: Authentication error A pre-built version of pkg could not be found for your system. Consider changing PACKAGESITE or installing it from ports: 'ports-mgmt/pkg'.
I don't know what to do next. I am on 22.05 without packages, need sudo to fix the bug (remove a bit of config-leftover) and then upgrade to 23.01. Please help me get at least sudo installed (I suppose the rest will be made available during the upgrade?)
Thanks
-
@furom https://docs.netgate.com/pfsense/en/latest/solutions/netgate-2100/reinstall-pfsense.html
I did a BareMetal install it worked better than the in-place upgrade. That is what I recommend. If you have a saved configuration, it is smooth !!!!
-
@furom short term, they’ve halted the 1100/2100 updates to 23.01.
Does your update branch setting show it’s on 22.05 or 23.01? Try changing your update branch to Previous (22.05) , wait a minute, and back to Current.
To install packages and not bork pfSense the branch needs to be the same as your pfSense version.
https://docs.netgate.com/pfsense/en/latest/troubleshooting/upgrades.html#upgrade-not-offered-library-errors
-
@jonathanlee said in Missing package repository after failed upgrade to 23.01. Please help:
@furom https://docs.netgate.com/pfsense/en/latest/solutions/netgate-2100/reinstall-pfsense.html
I did a BareMetal install it worked better than the in-place upgrade. That is what I recommend. If you have a saved configuration, it is smooth !!!!
Thanks, I did that too but a left-over switch config mess things up for me. I suppose I should remove that before trying again, but really don't know. Yeah, I have the config I need so should perhaps give it a go again... Now a little afraid the issue I have is present on 23.01 as well (I never checked the packages before reverting)
-
@steveits said in Missing package repository after failed upgrade to 23.01. Please help:
@furom short term, they’ve halted the 1100/2100 updates to 23.01.
Does your update branch setting show it’s on 22.05 or 23.01? Try changing your update branch to Previous (22.05) , wait a minute, and back to Current.
To install packages and not bork pfSense the branch needs to be the same as your pfSense version.
https://docs.netgate.com/pfsense/en/latest/troubleshooting/upgrades.html#upgrade-not-offered-library-errors
Nice one! I just assumed it was set to whatever version I was running, but you nailed it. It happily says 23.01 despite running 22.05. Will change and retry... :)
Edit: Changed to Previous 22.05 and viola! I once again have packages available. Installing sudo now. Hopeful for a flash later if this works out. Thanks guys! :)
-
@furom unfortunately it does not stop you from installing later version packages which is a problem if it tries to update, say, PHP.
-
@steveits said in Missing package repository after failed upgrade to 23.01. Please help:
@furom short term, they’ve halted the 1100/2100 updates to 23.01.
Ah, didn't know that. I seem to be in a somewhat limbo anyways so I can just as well give it a go again. It could get worse, but believe it will work out.. (knock-on-wood)
-
@furom I had issues with the watchdog restarting squid durring the package reinstall in the past. so now I always disable it save the configuration and download that one. Last night I had to disable my 12am timer where the internet goes down rules also so I could complete the bare metal install because I started it around 11:45. For me the fresh install solved all my issues so far.
-
@jonathanlee said in Missing package repository after failed upgrade to 23.01. Please help:
For me the fresh install solved all my issues so far.
I'm happy to hear that. I am still in the midst of things, but one of these days I'll get it. :)