Navigation

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

    Sg-8860 won't update

    Installation and Upgrades
    2
    8
    507
    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.
    • D
      dzeanah last edited by

      Updated to 2.3.4-RELEASE-p1 this morning, and the GUI shows it can't check for updates.  Going in via SSH and choosing option 13 gives these errors, and searches here aren't pointing me anywhere:

      
       0) Logout (SSH only)                  9) pfTop
       1) Assign Interfaces                 10) Filter Logs
       2) Set interface(s) IP address       11) Restart webConfigurator
       3) Reset webConfigurator password    12) PHP shell + pfSense tools
       4) Reset to factory defaults         13) Update from console
       5) Reboot system                     14) Disable Secure Shell (sshd)
       6) Halt system                       15) Restore recent configuration
       7) Ping host                         16) Restart PHP-FPM
       8) Shell
      
      Enter an option: 13
      
      >>> Updating repositories metadata...
      Updating pfSense-core repository catalogue...
      pkg-static: Repository pfSense-core has a wrong packagesite, need to re-create database
      Fetching meta.txz: . done
      Fetching packagesite.txz: . done
      Processing entries:
      pkg-static: wrong architecture: FreeBSD:11:amd64 instead of freebsd:11:x86:64
      pkg-static: repository pfSense-core contains packages with wrong ABI: FreeBSD:11:amd64
      Processing entries... done
      Unable to update repository pfSense-core
      Updating pfSense repository catalogue...
      pkg-static: Repository pfSense has a wrong packagesite, need to re-create database
      Fetching meta.txz: . done
      Fetching packagesite.txz: .......... done
      Processing entries:
      pkg-static: wrong architecture: FreeBSD:11:amd64 instead of freebsd:11:x86:64
      pkg-static: repository pfSense contains packages with wrong ABI: FreeBSD:11:amd64
      Processing entries... done
      Unable to update repository pfSense
      Error updating repositories!
      *** Welcome to pfSense 2.3.4-RELEASE-p1 (amd64 full-install) on pfSense ***
      
      

      What's the best way to convince the installer to switch from amd64 to x86:64 (which I thought were the same thing, but apparently not)?

      1 Reply Last reply Reply Quote 0
      • Derelict
        Derelict LAYER 8 Netgate last edited by

        Try this:

        Go to System > Update, Update Settings
        Switch to Legacy/Stable 2.3.X
        Navigate back to System Update tab
        Give it a bit. You should see 2.3.5 available after a bit.
        Go to System > Update, Update Settings
        Switch to Latest Stable Version 2.4.X
        Navigate back to System Update tab and see if that helps.

        If none of that works, try hitting it with this hammer at the shell prompt: pkg-static clean -ya ; pkg-static install -yf pkg pfSense-repo pfSense-upgrade

        1 Reply Last reply Reply Quote 0
        • D
          dzeanah last edited by

          I tried changing the update settings but gave up after > 30 minutes.

          Running that command doesn't seem to do much; option 13 gives the same error messages afterward.  :(

          1 Reply Last reply Reply Quote 0
          • D
            dzeanah last edited by

            Actually I think your directions worked.  It just wasn't immediate.

            Nothing appeared to happen, so I rebooted hopefully - nothing.  Reset to the 2.3.x branch and waited 15 minutes - nothing.  Tried doing it from console option 13 again, and it downloaded new packages and upgraded to 2.3.5_1.

            So thanks.  :D

            1 Reply Last reply Reply Quote 0
            • Derelict
              Derelict LAYER 8 Netgate last edited by

              Now you should switch to latest stable and go to 2.4.3 unless you have a reason to stay ad 2.3.5. The only valid reason is you're on 32-bit hardware so that would pretty much eliminate any valid reasons for an 8860.

              1 Reply Last reply Reply Quote 0
              • D
                dzeanah last edited by

                I'm trying.  I switched the branch to current, waited, rebooted, waited, and it still thinks its up to date.

                Trying to upgrade from SSH again gives this now:

                
                Enter an option: 13
                
                >>> Updating repositories metadata...
                Updating pfSense-core repository catalogue...
                pkg-static: Repository pfSense-core load error: access repo file(/var/db/pkg/repo-pfSense-core.sqlite) failed: No such file or directory
                Fetching meta.txz: . done
                Fetching packagesite.txz: . done
                Processing entries:
                pkg-static: wrong architecture: FreeBSD:11:amd64 instead of freebsd:11:x86:64
                pkg-static: repository pfSense-core contains packages with wrong ABI: FreeBSD:11:amd64
                Processing entries... done
                Unable to update repository pfSense-core
                Updating pfSense repository catalogue...
                pkg-static: Repository pfSense load error: access repo file(/var/db/pkg/repo-pfSense.sqlite) failed: No such file or directory
                Fetching meta.txz: . done
                Fetching packagesite.txz: .......... done
                Processing entries:
                pkg-static: wrong architecture: FreeBSD:11:amd64 instead of freebsd:11:x86:64
                pkg-static: repository pfSense contains packages with wrong ABI: FreeBSD:11:amd64
                Processing entries... done
                Unable to update repository pfSense
                Error updating repositories!
                Netgate SG-8860 - Serial: 1134...
                
                
                1 Reply Last reply Reply Quote 0
                • Derelict
                  Derelict LAYER 8 Netgate last edited by

                  Seems pretty hosed up.

                  Personally I would backup the config, reinstall 2.4.3 fresh, and restore the config.

                  That really looks like something got mismatched between 32-bit and 64-bit to me, but I'm probably wrong.

                  Quickest path forward is probably a reinstall.

                  1 Reply Last reply Reply Quote 0
                  • D
                    dzeanah last edited by

                    Well, I guess that's the best way forward.

                    Thanks for the help.  :)

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

                    Products

                    • Platform Overview
                    • TNSR
                    • pfSense Plus
                    • Appliances

                    Services

                    • Training
                    • Professional Services

                    Support

                    • Subscription Plans
                    • Contact Support
                    • Product Lifecycle
                    • Documentation

                    News

                    • Media Coverage
                    • Press
                    • Events

                    Resources

                    • Blog
                    • FAQ
                    • Find a Partner
                    • Resource Library
                    • Security Information

                    Company

                    • About Us
                    • Careers
                    • Partners
                    • Contact Us
                    • Legal
                    Our Mission

                    We provide leading-edge network security at a fair price - regardless of organizational size or network sophistication. We believe that an open-source security model offers disruptive pricing along with the agility required to quickly address emerging threats.

                    Subscribe to our Newsletter

                    Product information, software announcements, and special offers. See our newsletter archive to sign up for future newsletters and to read past announcements.

                    © 2021 Rubicon Communications, LLC | Privacy Policy