• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login
Netgate Discussion Forum
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login

Another slightly different 'unable to update' problem

Scheduled Pinned Locked Moved WireGuard
4 Posts 3 Posters 2.7k Views
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S
    securvark
    last edited by Sep 21, 2021, 6:51 AM

    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/5

    Any help would be appreciated!

    Thanks in advance.

    1 Reply Last reply Reply Quote 0
    • J
      jimp Rebel Alliance Developer Netgate
      last edited by Sep 21, 2021, 12:25 PM

      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.

      Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

      Need help fast? Netgate Global Support!

      Do not Chat/PM for help!

      S 1 Reply Last reply Sep 22, 2021, 5:59 AM Reply Quote 1
      • S
        securvark @jimp
        last edited by Sep 22, 2021, 5:59 AM

        @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 with pkg remove wireguard-packagename.

        pkg update ran, the update from the GUI works again as well.

        Thanks for the assistance!

        J 1 Reply Last reply Nov 9, 2021, 3:17 PM Reply Quote 0
        • J
          JWise1203 @securvark
          last edited by Nov 9, 2021, 3:17 PM

          @securvark I had the same issue. This worked for me as well. Thanks for posting.

          1 Reply Last reply Reply Quote 0
          • First post
            Last post
          Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
            This community forum collects and processes your personal information.
            consent.not_received