Navigation

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

    Unable to update repository pfsense

    Installation and Upgrades
    2
    3
    130
    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
      mixleplix last edited by

      Hello,

      Since updating to the 23.01 release, when I attempt to update the package repository via SSH, I receive the series of messages below:

      Updating pfSense-core repository catalogue...
      pkg: https://pfsense-plus-pkg01.atx.netgate.com/pfSense_plus-v23_01_amd64-core/meta.txz: Bad Request
      repository pfSense-core has no meta file, using default settings
      pkg: https://pfsense-plus-pkg01.atx.netgate.com/pfSense_plus-v23_01_amd64-core/packagesite.pkg: Bad Request
      pkg: https://pfsense-plus-pkg01.atx.netgate.com/pfSense_plus-v23_01_amd64-core/packagesite.txz: Bad Request
      Unable to update repository pfSense-core
      Updating pfSense repository catalogue...
      pkg: https://pfsense-plus-pkg01.atx.netgate.com/pfSense_plus-v23_01_amd64-pfSense_plus_v23_01/meta.txz: Bad Request
      repository pfSense has no meta file, using default settings
      pkg: https://pfsense-plus-pkg01.atx.netgate.com/pfSense_plus-v23_01_amd64-pfSense_plus_v23_01/packagesite.pkg: Bad Request
      pkg: https://pfsense-plus-pkg01.atx.netgate.com/pfSense_plus-v23_01_amd64-pfSense_plus_v23_01/packagesite.txz: Bad Request
      Unable to update repository pfSense
      Error updating repositories!
      

      This is not an issue I have had with any earlier releases of pfSense (e.g., 22.05) with the same config, and all other functions from the router and the network behind it work as expected. One additional behavior that may mean something is that if, after receiving the error above, I login to the web UI where the dashboard does an update check, suddenly doing a pkg update via SSH then completes normally. Issuing the command continues working normally after logging out of the web UI, at least until some undetermined event or time passes until it begins producing an error again.

      Not a massive obstacle, but an annoying one. Any help is appreciated. Thanks!

      S 1 Reply Last reply Reply Quote 0
      • S
        SteveITS @mixleplix last edited by

        @mixleplix Take a look at https://forum.netgate.com/topic/177882/package-list-empty

        Steve

        Only install packages for your version, or risk breaking it. If yours is older, select it in System/Update/Update Settings.
        When upgrading, let it finish; do not reboot early. Allow 10-15 minutes, or more depending on packages and device speed.

        M 1 Reply Last reply Reply Quote 0
        • M
          mixleplix @SteveITS last edited by

          @steveits Thanks for the pointer. I just now tried the command, pfSense-upgrade -c. Since then, the error I was getting has not returned. Of course, the error would temporarily go away previously, but hopefully this will solve it permanently. Fingers crossed.

          1 Reply Last reply Reply Quote 0
          • First post
            Last post