Ver 22.05 - Unable to check for updates, pkg info reports invalid url
-
on dashboard, I get message "Unable to check for updates"
on SystemPackage ManagerInstalled Packages, I get "There are no packages currently installed." when infact, packages are loaded and operational (i.e. pfBlockerNG)
in shell, running "pkg info" returns
pkg: invalid url: /pfSense_plus-v22_05_amd64-core pkg: Cannot parse configuration file! Any ideas what to look at/for?
-
-
Yup, going to System/Update and changing to "Experimental", waiting for spinning wheel to finish, then changing back to "Stable" fixed the issue. Strange, but it worked.
Thanks
-
Swapping the repository, from stable to dev to stable, forces the system download a new repository file. This new file will be good.
( my way of understanding things ) -
@gertjan said in Ver 22.05 - Unable to check for updates, pkg info reports invalid url:
Swapping the repository, from stable to dev to stable, forces the system download a new repository file. This new file will be good.
( my way of understanding things )That is correct ...
Netgate "Borked" a repos update (repos URL was not complete), that was active for some hours. Any "Box" pulling an update during that time , was left with an invalid repos update file.Switching to dev and back to stable, will pull the latest/"Non Borked" stable repos file.
/Bingo
-
Does this implies that, ones a bad /usr/local/etc/pkg/repos/pfSense.conf ( /usr/local/share/pfSEnse/pkg/repos/pfSense.conf) has been pulled in, update requests are impossible as long as admin doesn't correct things ?
-
@gertjan
YepSee
https://forum.netgate.com/post/1062012Bad
pfSense-core: { url: "/pfSense_plus-v22_05_amd64-core",
Updated/fixed:
pfSense-core: { url: "pkg+https://firmware.netgate.com/pkg/pfSense_plus-v22_05_amd64-core",
-
@gertjan said in Ver 22.05 - Unable to check for updates, pkg info reports invalid url:
Does this implies that, ones a bad /usr/local/etc/pkg/repos/pfSense.conf ( /usr/local/share/pfSEnse/pkg/repos/pfSense.conf) has been pulled in, update requests are impossible as long as admin doesn't correct things ?
Yes, though that file is only a sym-link to the repo files in /usr/local/share/pfSense/pkg/repos/.
Those files are provided by the repo pkg and that's what was broken for a short time.Steve