Broken packages no updates available 22.05-RELEASE
-
Hello,
I have upgraded SG-1100 to the latest 22.05-RELEASE. After upgrade first it didn't want to reboot by itself after half and hour so I need to hard reset it. When I finally got into the admin menu, I saw no packages installed. Please see attachment below. https://forum.netgate.com/unread
When I go to System -> packages I don't see packages, and also I'm not able to see any packages, nor available packages list is available. Kind of stuck.
Any help appreciate it,p.s. I tried to import latest backup file and it says something like couldn't find proper repository to match" or something like that.
Thanks
-
J jimp moved this topic from Problems Installing or Upgrading pfSense Software on
-
At the command line run:
pkg-static -d update
What error(s) does it report?
Steve
-
@stephenw10 said in Broken packages no updates available 22.05-RELEASE:
At the command line run:
pkg-static -d update
What error(s) does it report?
Steve
Just a device ID nothing else. I tried to restore backup that didn't work. I ended up resetting it to the factory settings, and the problem is still there. It can't check the updates of the device, nor packages are available. When I reset I got at the end an error saying something like " it wasn't possible to identify whick pfsense kernel is installed"
What else can I do?
Thanks
-
@mike_broxt I'd strongly consider reinstalling and restoring your backup file.
https://docs.netgate.com/pfsense/en/latest/solutions/sg-1100/reinstall-pfsense.htmlUpdates on slower storage can easily take 10-15 minutes but 30 seems long. Did you uninstall packages before the update? If not it still might not have been finished...
-
When you run that command you should see quite a lot of output, even when it succeeds:
[22.05-RELEASE][admin@fw1.stevew.lan]/root: pkg-static -d update DBG(1)[52987]> pkg initialized Updating pfSense-core repository catalogue... DBG(1)[52987]> PkgRepo: verifying update for pfSense-core DBG(1)[52987]> Pkgrepo, begin update of '/var/db/pkg/repo-pfSense-core.sqlite' DBG(1)[52987]> Request to fetch pkg+https://firmware.netgate.com/pkg/pfSense_plus-v22_05_armv7-core/meta.conf DBG(1)[52987]> opening libfetch fetcher DBG(1)[52987]> Fetch > libfetch: connecting DBG(1)[52987]> Fetch: fetching from: https://pkg00-atx.netgate.com/pkg/pfSense_plus-v22_05_armv7-core/meta.conf with opts "i" DBG(1)[52987]> Fetch: fetcher chosen: https DBG(1)[52987]> Request to fetch pkg+https://firmware.netgate.com/pkg/pfSense_plus-v22_05_armv7-core/packagesite.pkg DBG(1)[52987]> opening libfetch fetcher DBG(1)[52987]> Fetch > libfetch: connecting DBG(1)[52987]> Fetch: fetching from: https://pkg00-atx.netgate.com/pkg/pfSense_plus-v22_05_armv7-core/packagesite.pkg with opts "i" DBG(1)[52987]> Fetch: fetcher chosen: https DBG(1)[52987]> Request to fetch pkg+https://firmware.netgate.com/pkg/pfSense_plus-v22_05_armv7-core/packagesite.txz DBG(1)[52987]> opening libfetch fetcher DBG(1)[52987]> Fetch > libfetch: connecting DBG(1)[52987]> Fetch: fetching from: https://pkg00-atx.netgate.com/pkg/pfSense_plus-v22_05_armv7-core/packagesite.txz with opts "i" DBG(1)[52987]> Fetch: fetcher chosen: https pfSense-core repository is up to date. Updating pfSense repository catalogue... DBG(1)[52987]> PkgRepo: verifying update for pfSense DBG(1)[52987]> Pkgrepo, begin update of '/var/db/pkg/repo-pfSense.sqlite' DBG(1)[52987]> Request to fetch pkg+https://firmware.netgate.com/pkg/pfSense_plus-v22_05_armv7-pfSense_plus_v22_05/meta.conf DBG(1)[52987]> opening libfetch fetcher DBG(1)[52987]> Fetch > libfetch: connecting DBG(1)[52987]> Fetch: fetching from: https://pkg00-atx.netgate.com/pkg/pfSense_plus-v22_05_armv7-pfSense_plus_v22_05/meta.conf with opts "i" DBG(1)[52987]> Fetch: fetcher chosen: https DBG(1)[52987]> Request to fetch pkg+https://firmware.netgate.com/pkg/pfSense_plus-v22_05_armv7-pfSense_plus_v22_05/packagesite.pkg DBG(1)[52987]> opening libfetch fetcher DBG(1)[52987]> Fetch > libfetch: connecting DBG(1)[52987]> Fetch: fetching from: https://pkg00-atx.netgate.com/pkg/pfSense_plus-v22_05_armv7-pfSense_plus_v22_05/packagesite.pkg with opts "i" DBG(1)[52987]> Fetch: fetcher chosen: https DBG(1)[52987]> Request to fetch pkg+https://firmware.netgate.com/pkg/pfSense_plus-v22_05_armv7-pfSense_plus_v22_05/packagesite.txz DBG(1)[52987]> opening libfetch fetcher DBG(1)[52987]> Fetch > libfetch: connecting DBG(1)[52987]> Fetch: fetching from: https://pkg00-atx.netgate.com/pkg/pfSense_plus-v22_05_armv7-pfSense_plus_v22_05/packagesite.txz with opts "i" DBG(1)[52987]> Fetch: fetcher chosen: https pfSense repository is up to date. All repositories are up to date.
Yours will probably have a bunch of errors in there.
Re-installing clean is probably going to be fastest though, I agree.
Steve
-
@mike_broxt said in Broken packages no updates available 22.05-RELEASE:
@stephenw10 said in Broken packages no updates available 22.05-RELEASE:
At the command line run:
pkg-static -d update
What error(s) does it report?
Steve
Just a device ID nothing else. I tried to restore backup that didn't work. I ended up resetting it to the factory settings, and the problem is still there. It can't check the updates of the device, nor packages are available. When I reset I got at the end an error saying something like " it wasn't possible to identify whick pfsense kernel is installed"
What else can I do?
Thanks
I think that's the only option left I tried everything. Thanks for the tip for setting off packages before upgrade. Thanks
-
@stephenw10 said in Broken packages no updates available 22.05-RELEASE:
When you run that command you should see quite a lot of output, even when it succeeds:
[22.05-RELEASE][admin@fw1.stevew.lan]/root: pkg-static -d update DBG(1)[52987]> pkg initialized Updating pfSense-core repository catalogue... DBG(1)[52987]> PkgRepo: verifying update for pfSense-core DBG(1)[52987]> Pkgrepo, begin update of '/var/db/pkg/repo-pfSense-core.sqlite' DBG(1)[52987]> Request to fetch pkg+https://firmware.netgate.com/pkg/pfSense_plus-v22_05_armv7-core/meta.conf DBG(1)[52987]> opening libfetch fetcher DBG(1)[52987]> Fetch > libfetch: connecting DBG(1)[52987]> Fetch: fetching from: https://pkg00-atx.netgate.com/pkg/pfSense_plus-v22_05_armv7-core/meta.conf with opts "i" DBG(1)[52987]> Fetch: fetcher chosen: https DBG(1)[52987]> Request to fetch pkg+https://firmware.netgate.com/pkg/pfSense_plus-v22_05_armv7-core/packagesite.pkg DBG(1)[52987]> opening libfetch fetcher DBG(1)[52987]> Fetch > libfetch: connecting DBG(1)[52987]> Fetch: fetching from: https://pkg00-atx.netgate.com/pkg/pfSense_plus-v22_05_armv7-core/packagesite.pkg with opts "i" DBG(1)[52987]> Fetch: fetcher chosen: https DBG(1)[52987]> Request to fetch pkg+https://firmware.netgate.com/pkg/pfSense_plus-v22_05_armv7-core/packagesite.txz DBG(1)[52987]> opening libfetch fetcher DBG(1)[52987]> Fetch > libfetch: connecting DBG(1)[52987]> Fetch: fetching from: https://pkg00-atx.netgate.com/pkg/pfSense_plus-v22_05_armv7-core/packagesite.txz with opts "i" DBG(1)[52987]> Fetch: fetcher chosen: https pfSense-core repository is up to date. Updating pfSense repository catalogue... DBG(1)[52987]> PkgRepo: verifying update for pfSense DBG(1)[52987]> Pkgrepo, begin update of '/var/db/pkg/repo-pfSense.sqlite' DBG(1)[52987]> Request to fetch pkg+https://firmware.netgate.com/pkg/pfSense_plus-v22_05_armv7-pfSense_plus_v22_05/meta.conf DBG(1)[52987]> opening libfetch fetcher DBG(1)[52987]> Fetch > libfetch: connecting DBG(1)[52987]> Fetch: fetching from: https://pkg00-atx.netgate.com/pkg/pfSense_plus-v22_05_armv7-pfSense_plus_v22_05/meta.conf with opts "i" DBG(1)[52987]> Fetch: fetcher chosen: https DBG(1)[52987]> Request to fetch pkg+https://firmware.netgate.com/pkg/pfSense_plus-v22_05_armv7-pfSense_plus_v22_05/packagesite.pkg DBG(1)[52987]> opening libfetch fetcher DBG(1)[52987]> Fetch > libfetch: connecting DBG(1)[52987]> Fetch: fetching from: https://pkg00-atx.netgate.com/pkg/pfSense_plus-v22_05_armv7-pfSense_plus_v22_05/packagesite.pkg with opts "i" DBG(1)[52987]> Fetch: fetcher chosen: https DBG(1)[52987]> Request to fetch pkg+https://firmware.netgate.com/pkg/pfSense_plus-v22_05_armv7-pfSense_plus_v22_05/packagesite.txz DBG(1)[52987]> opening libfetch fetcher DBG(1)[52987]> Fetch > libfetch: connecting DBG(1)[52987]> Fetch: fetching from: https://pkg00-atx.netgate.com/pkg/pfSense_plus-v22_05_armv7-pfSense_plus_v22_05/packagesite.txz with opts "i" DBG(1)[52987]> Fetch: fetcher chosen: https pfSense repository is up to date. All repositories are up to date.
Yours will probably have a bunch of errors in there.
Re-installing clean is probably going to be fastest though, I agree.
Steve
Nope. I'm not getting anything. null. No tails, no errors, nothing.
-
Like it tries to run and has no output? Or it just finishes with no output?
Both would be very odd.... -
@stephenw10 said in Broken packages no updates available 22.05-RELEASE:
Like it tries to run and has no output? Or it just finishes with no output?
Both would be very odd....No output at all. When I press enter it goes to the the next line waiting for the command. Like nothing was entered previously. Like I typed CTRL + C. :)
I've submitted a ticket for the stable image. Thanks
-
Hmm, yeah, that's not something I've seen before then. Clean reinstall would be best.
Steve
-
@stephenw10 Thanks Steve! Everything is ok now. I've built a new image and restored my backup. Yeah you were right guys, it took at least 40 min to reinstall and update packages in the background. I wish I can monitor all background processes, to be able to understand what is happening behind the scene.