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

"Unable to check for updates" in GUI, update in CLI working fine

Scheduled Pinned Locked Moved Problems Installing or Upgrading pfSense Software
26 Posts 7 Posters 4.3k 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
    stephenw10 Netgate Administrator
    last edited by Sep 17, 2022, 3:12 PM

    Running pkg-static -d update will not break anything. The system runs that every time you connect to the dashboard. It will show you any errors that may be preventing it update.

    1 Reply Last reply Reply Quote 0
    • B
      bingo600 @Diver 0
      last edited by Sep 17, 2022, 3:12 PM

      @diver-0

      Seems like you have been hit by the "Bad repos update"

      See here:

      https://forum.netgate.com/topic/174768/unable-to-check-for-updates/12

      This is Netgates Official fix (guide)
      https://forum.netgate.com/post/1062052

      Or this one, if a CLI doesn't scare you
      https://forum.netgate.com/post/1062026

      /Bingo

      If you find my answer useful - Please give the post a 👍 - "thumbs up"

      pfSense+ 23.05.1 (ZFS)

      QOTOM-Q355G4 Quad Lan.
      CPU  : Core i5 5250U, Ram : 8GB Kingston DDR3LV 1600
      LAN  : 4 x Intel 211, Disk  : 240G SAMSUNG MZ7L3240HCHQ SSD

      1 Reply Last reply Reply Quote 0
      • S
        stephenw10 Netgate Administrator
        last edited by Sep 17, 2022, 3:19 PM

        The pkg is fixed now so there's no need to manually enter anything.

        If you're still seeing it, because the firewall pulled in the bad pkg, then switching the update branch to development and then back to latest stable will pull in the fixed pkg.

        Doing that you will see logged:

        Sep 17 15:36:45 	pkg-static 	13430 	pfSense-repo upgraded: 22.05_5 -> 22.09.a.20220802.0600
        Sep 17 15:37:19 	pkg-static 	22387 	pfSense-repo downgraded: 22.09.a.20220802.0600 -> 22.05_9 
        

        Steve

        M 1 Reply Last reply Sep 17, 2022, 4:26 PM Reply Quote 2
        • D
          Diver 0
          last edited by Sep 17, 2022, 4:07 PM

          Thank you, Bingo600,
          The diagnostics --> Edit File with new URL line worked.
          Looks to me like the old URL,
          "/pfSense_plus-v22_05_amd64-core"
          got replaced.

          Perhaps I should be ready to change that edit again in the future.

          After all was done, Update returned a Status up to date, and 22.05 is still current. The square orange lamp is no longer flashing.

          Dumb question: What does the acronym "repos" mean?

          Thanks again,
          Jack

          B 1 Reply Last reply Sep 17, 2022, 4:49 PM Reply Quote 0
          • M
            MoonKnight @stephenw10
            last edited by Sep 17, 2022, 4:26 PM

            @stephenw10 said in "Unable to check for updates" in GUI, update in CLI working fine:

            The pkg is fixed now so there's no need to manually enter anything.

            If you're still seeing it, because the firewall pulled in the bad pkg, then switching the update branch to development and then back to latest stable will pull in the fixed pkg.

            Doing that you will see logged:

            Sep 17 15:36:45 	pkg-static 	13430 	pfSense-repo upgraded: 22.05_5 -> 22.09.a.20220802.0600
            Sep 17 15:37:19 	pkg-static 	22387 	pfSense-repo downgraded: 22.09.a.20220802.0600 -> 22.05_9 
            

            Steve

            That did the trick :)

            Sep 17 18:24:15	pkg-static	29389	pfSense-repo downgraded: 22.09.a.20220802.0600 -> 22.05_9
            Sep 17 18:24:05	check_reload_status	448	Syncing firewall
            Sep 17 18:24:05	php-fpm	22895	/pkg_mgr_install.php: Configuration Change: XXXX@XXXXXXXXX (Local Database): Saved firmware branch setting.
            Sep 17 18:24:01	pkg-static	71353	pfSense-repo upgraded: 22.05_5 -> 22.09.a.20220802.0600
            Sep 17 18:23:45	pkg-static	19568	pkg upgraded: 1.17.5_2 -> 1.18.3
            

            --- 24.11 ---
            Intel(R) Xeon(R) CPU D-1518 @ 2.20GHz
            Kingston DDR4 2666MHz 16GB ECC
            2 x HyperX Fury SSD 120GB (ZFS-mirror)
            2 x Intel i210 (ports)
            4 x Intel i350 (ports)

            1 Reply Last reply Reply Quote 1
            • B
              bingo600 @Diver 0
              last edited by Sep 17, 2022, 4:49 PM

              @diver-0 said in "Unable to check for updates" in GUI, update in CLI working fine:

              Thank you, Bingo600,
              The diagnostics --> Edit File with new URL line worked.

              Dumb question: What does the acronym "repos" mean?

              Thanks again,
              Jack

              Repos ... Shorthand for Repository , as in pfSense package repository

              /Bingo

              If you find my answer useful - Please give the post a 👍 - "thumbs up"

              pfSense+ 23.05.1 (ZFS)

              QOTOM-Q355G4 Quad Lan.
              CPU  : Core i5 5250U, Ram : 8GB Kingston DDR3LV 1600
              LAN  : 4 x Intel 211, Disk  : 240G SAMSUNG MZ7L3240HCHQ SSD

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