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

SG-1000 BAD update 07/10/2017

Scheduled Pinned Locked Moved Official Netgate® Hardware
4 Posts 2 Posters 812 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.
  • K
    keyoke_za
    last edited by Oct 10, 2017, 7:50 AM

    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
    • J
      jimp Rebel Alliance Developer Netgate
      last edited by Oct 10, 2017, 12:34 PM

      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 Oct 10, 2017, 12:37 PM

        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
        • J
          jimp Rebel Alliance Developer Netgate
          last edited by Oct 10, 2017, 12:50 PM

          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
          4 out of 4
          • First post
            4/4
            Last post
          Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
            This community forum collects and processes your personal information.
            consent.not_received