Navigation

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

    SG-1000 BAD update 07/10/2017

    Official Netgate® Hardware
    2
    4
    509
    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.
    • K
      keyoke_za last edited by

      Hi All,
      Over the weekend I install latest 2.4.0RC update which put my device in unhappy state, in the end I discovered that the pkg folder on server had been renamed .BAD.

      _Repository pfSense-core missing. 'pkg update' required
      Updating pfSense-core repository catalogue…
      pkg: Repository pfSense-core load error: access repo file(/var/db/pkg/repo-pfSense-core.sqlite) failed: No such file or directory
      pkg: Repository pfSense-core missing. 'pkg update' required

      Updating repositories metadata...
      Updating pfSense-core repository catalogue...
      pkg: Repository pfSense-core load error: access repo file(/var/db/pkg/repo-pfSense-core.sqlite) failed: No such file or directory
      pkg: https://firmware.netgate.com/pkg/pfSense_factory-v2_4_0_armv6-core/meta.txz: Not Found
      repository pfSense-core has no meta file, using default settings
      pkg: https://firmware.netgate.com/pkg/pfSense_factory-v2_4_0_armv6-core/packagesite.txz: Not Found
      Unable to update repository pfSense-core
      Updating pfSense repository catalogue...
      pkg: Repository pfSense load error: access repo file(/var/db/pkg/repo-pfSense.sqlite) failed: No such file or directory
      pkg: https://firmware.netgate.com/pkg/pfSense_factory-v2_4_0_armv6-pfSense_factory-v2_4_0/meta.txz: Not Found
      repository pfSense has no meta file, using default settings
      pkg: https://firmware.netgate.com/pkg/pfSense_factory-v2_4_0_armv6-pfSense_factory-v2_4_0/packagesite.txz: Not Found
      Unable to update repository pfSense
      Error updating repositories!
      Netgate SG-1000 - Serial: XX_

      I can now only connect via Serial connection. I waited until last night when the packages were available again, now the error above no longer appears although
      I have a different one seen below.

      pkg: Unable to determine ABI
      pkg: Cannot parse configuration file!
      pkg: Unable to determine ABI
      pkg: Cannot parse configuration file!
      ERROR: It was not possible to identify which pfSense kernel is installed
      Netgate SG-1000 - Serial: XX

      If I open shell and run pkg update manually I get

      [2.4.0-RC][root@drawbridge.acomalocal]/root: pkg update -f
      Child process pid=32940 terminated abnormally: Segmentation fault

      also tried restoring previous configs

      I don't know what to do to fix this, can anybody provide some guidance?
      Regards
      Gareth

      1 Reply Last reply Reply Quote 0
      • jimp
        jimp Rebel Alliance Developer Netgate last edited by

        The best course of action would be to reinstall.

        You could try something like this first:

        pkg-static update -f; pkg-static upgrade -f
        

        But reinstalling from a current recovery image and then updating again would be faster.

        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!

        1 Reply Last reply Reply Quote 0
        • K
          keyoke_za last edited by

          Ok thanks I will try this. Is it easy to copy over my old config? I don't want to have to re-configure everything from scratch.
          Many Thanks
          Gareth

          1 Reply Last reply Reply Quote 0
          • jimp
            jimp Rebel Alliance Developer Netgate last edited by

            If you have a local backup, yes. If you do not have a local backup, try to get connected to the GUI to use Diagnostics > Backup/Restore, or even scp/ssh on the current system and see if you can download /conf/config.xml from the box

            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!

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