/usr/local/sbin/pfSense-upgrade deletions
-
Same issue I'm seeing.
trying to go from 2.4.5.r.20200226.1800 to 2.4.5.r.20200228.1800/bin/sh: cannot open /usr/local/sbin/pfSense-upgrade: No such file or directory
Any idea how to get fix?
-
Looks like it's known about - https://redmine.pfsense.org/issues/10303
-
Thanks for pointing me there. The suggested workaround steps worked for me.
pkg update && pkg upgrade -y
-
Confirm seems to have completed a valid update cycle this time.
I didn't test the webconfig.went from 2.4.4p3 to 0229.1500 successfully with the pkg update && pkg upgrade -y and a manual reboot.
-
@skogs Solved my issue Thank you
-
Also seeing this in current 2.4.5 and 2.5 snapshots. I was also able to recover by running
pkg upgrade
manually.We are looking into this.
Steve
-
Hit this as well. Recourse was to manually install again and recover from xml backup. (Did that before seeing this)
-
See https://redmine.pfsense.org/issues/10303
The better fix, for those who hit it already, is to run
pkg install pfSense-upgrade
It's been addressed in the repo, so if you didn't hit it yet, you shouldn't hit it now when upgrading.
-
@skogs said in /usr/local/sbin/pfSense-upgrade deletions:
pkg update && pkg upgrade -y
pkg install pfSense-upgrade
Updating pfSense-core repository catalogue...
Fetching meta.txz: 100% 944 B 0.9kB/s 00:01
Fetching packagesite.txz: 100% 2 KiB 1.8kB/s 00:01
Processing entries: 100%
pfSense-core repository update completed. 7 packages processed.
Updating pfSense repository catalogue...
Fetching meta.txz: 100% 940 B 0.9kB/s 00:01
Fetching packagesite.txz: 100% 141 KiB 10.3kB/s 00:14
Processing entries: 100%
pfSense repository update completed. 522 packages processed.
All repositories are up to date.
Updating database digests format: 100%
The following 1 package(s) will be affected (of 0 checked):New packages to be INSTALLED:
pfSense-upgrade: 0.79 [pfSense]Number of packages to be installed: 1
13 KiB to be downloaded.
Proceed with this action? [y/N]: y
[1/1] Fetching pfSense-upgrade-0.79.txz: 100% 13 KiB 13.7kB/s 00:01
Checking integrity... done (0 conflicting)
[1/1] Installing pfSense-upgrade-0.79...
[1/1] Extracting pfSense-upgrade-0.79: 100%
[2.4.5-RC][admin@face]/root: pfSense-upgrade -6
pfSense-upgrade: Command not found. -
When you install a new program like that, you have to type
rehash
or exit and re-enter the shell. -
pfSense-upgrade -6
Updating repositories metadata...
Updating pfSense-core repository catalogue...
pfSense-core repository is up to date.
Updating pfSense repository catalogue...
Fetching meta.txz: . done
Fetching packagesite.txz: .... done
pkg-static: https://pkg.pfsense.org/pfSense_v2_4_5_amd64-pfSense_v2_4_5/packagesite.txz: Operation timed out
Unable to update repository pfSense
Error updating repositories! -
This thread is not for problems like that. It's for the specific issue of
pfSense-upgrade
getting removed.Start a new thread.
-
use this command is good for upgarde.
pkg update && pkg upgrade -y -
See above, that is not the recommended procedure.
Locking this, it's been solved already.