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

    [SOLVED] pkg upgrade - not found, required by "pkg"

    Scheduled Pinned Locked Moved General pfSense Questions
    5 Posts 4 Posters 1.3k Views 5 Watching
    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.
    • M Offline
      MoonKnight
      last edited by MoonKnight

      Why can't I use this command anoymore?

      pkg upgrade
      

      Got this error:
      7c27165a-d9a4-42d9-91f0-dddce80daa00-image.png

      Only run pkg
      28888590-83b5-4d2a-8c6f-7463a8580e8f-image.png

      I have been using this command for a long time, last time maybe 1 - 2 weeks ago when i was a newer version og HaProxy. and I also updated Tailscale to newer version for 1 week ago.
      Was using the command posted on this site: https://forum.netgate.com/post/1225210

      --- 25.07.1 ---
      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)

      S M 2 Replies Last reply Reply Quote 0
      • S Offline
        SteveITS Rebel Alliance @MoonKnight
        last edited by

        @MoonKnight Often those sorts of errors are from installing packages for later versions of pfSense but there are probably other reasons. Have you tried:

        https://docs.netgate.com/pfsense/en/latest/troubleshooting/upgrades.html#upgrade-not-offered-library-errors

        Only install packages for your version, or risk breaking it. Select your branch in System/Update/Update Settings.
        When upgrading, allow 10-15 minutes to reboot, or more depending on packages, and device or disk speed.
        Upvote ๐Ÿ‘ helpful posts!

        1 Reply Last reply Reply Quote 2
        • M Offline
          MoonKnight @MoonKnight
          last edited by MoonKnight

          You did it! Everything is all fine now after running:

          pkg-static clean -ay; pkg-static install -fy pkg pfSense-repo pfSense-upgrade
          

          Thank you very much, I was looking at that command earlier, but was afraid I might harm my installations ๐Ÿ˜‚

          --- 25.07.1 ---
          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)

          dennypageD 1 Reply Last reply Reply Quote 1
          • S SteveITS referenced this topic
          • dennypageD Offline
            dennypage @MoonKnight
            last edited by

            @MoonKnight Had you previously installed the beta of 25.07?

            1 Reply Last reply Reply Quote 0
            • dennypageD dennypage referenced this topic
            • provelsP Offline
              provels
              last edited by

              Ran into this today. I had installed HAProxy a few weeks ago thinking I might use it, also installed the latest update, decided I didn't need it and uninstalled. Now this issue. Just throwing this out there, don't know if HAProxy was the problem, but the suggested commands cleared it up.

              Peder

              MAIN - pfSense+ 25.07.1-RELEASE - Adlink MXE-5401, i7, 16 GB RAM, 64 GB SSD. 500 GB HDD for SyslogNG
              BACKUP - pfSense+ 23.01-RELEASE - Hyper-V Virtual Machine, Gen 1, 2 v-CPUs, 3 GB RAM, 8GB VHDX (Dynamic)

              1 Reply Last reply Reply Quote 0
              • First post
                Last post
              Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.