Another slightly different 'unable to update' problem
-
I've been at this for a while and I can't get it fixed.
I've searched the forums and Google for tips but I simply can't get it to work.
The issue is I upgraded to 2.5.2 a while back just fine and at one point I remember I upgraded some packages too, so at that point, it all worked fine.
I can't upgrade to the latest version though. I don't know when it went wrong, or why but currently I get receive the message
Unable to check for updates
in the GUI.From the CLI, when I run
pkg update
it tells me the following:Updating mced repository catalogue... pkg: https://packages.mced.tech/packages/freebsd_12-2_amd64-ng_ports_251/meta.txz: Connection refused repository mced has no meta file, using default settings pkg: https://packages.mced.tech/packages/freebsd_12-2_amd64-ng_ports_251/packagesite.txz: Connection refused Unable to update repository mced Updating pfSense-core repository catalogue... pfSense-core repository is up to date. Updating pfSense repository catalogue... pfSense repository is up to date. Error updating repositories!
I found different threads about unable to update or upgrade, and they seem to have different causes, I tried some of the suggestions though hoping they might help me as well. I also followed the steps in the pinned topic on top of the board, switched the versions, wait a bit, try again, etc.
When I try the option near the end,
pkg-static clean -ay; pkg-static install -fy pkg pfSense-repo pfSense-upgrade
:pkg-static: Repository mced missing. 'pkg update' required pkg-static: No package database installed. Nothing to do! Updating mced repository catalogue... pkg-static: https://packages.mced.tech/packages/freebsd_12-2_amd64-ng_ports_251/meta.txz: Connection refused repository mced has no meta file, using default settings pkg-static: https://packages.mced.tech/packages/freebsd_12-2_amd64-ng_ports_251/packagesite.txz: Connection refused Unable to update repository mced Updating pfSense-core repository catalogue... pfSense-core repository is up to date. Updating pfSense repository catalogue... pfSense repository is up to date. Error updating repositories! pkg-static: Repository mced cannot be opened. 'pkg update' required Checking integrity... done (0 conflicting) The following 3 package(s) will be affected (of 0 checked): Installed packages to be REINSTALLED: pfSense-repo-2.5.2_1 [pfSense] pfSense-upgrade-0.98 [pfSense] pkg-1.16.3 [pfSense] Number of packages to be reinstalled: 3 [1/3] Reinstalling pkg-1.16.3... [1/3] Extracting pkg-1.16.3: 100% [2/3] Reinstalling pfSense-repo-2.5.2_1... [2/3] Extracting pfSense-repo-2.5.2_1: 100% [3/3] Reinstalling pfSense-upgrade-0.98... [3/3] Extracting pfSense-upgrade-0.98: 100% You may need to manually remove /usr/local/etc/pkg.conf if it is no longer needed.
Could it be that the mced.tech is actively blocking my connection for some reason?
I found this thread, its not quite the same but maybe it has a lead?
https://forum.netgate.com/topic/164423/unable-to-check-for-updates/5Any help would be appreciated!
Thanks in advance.
-
mced.tech
is not a package server which is a part of pfSense by default, you must have added it manually. Perhaps from a WireGuard development code test before it was released.You need to find what you changed to add that and remove it.
-
@jimp Thank you, you're correct that wireguard was the issue here.
I removed the repo file from
/usr/local/etc/pkg/repos
and removed the packages from the system withpkg remove wireguard-packagename
.pkg update ran, the update from the GUI works again as well.
Thanks for the assistance!
-
@securvark I had the same issue. This worked for me as well. Thanks for posting.