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

"No such file or directory" when trying to update pkg-static

Scheduled Pinned Locked Moved pfSense Packages
englishportuguesepackage managerrepository2.4.4p1
6 Posts 3 Posters 1.5k 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.
  • A
    araujovitorpaulo
    last edited by Mar 25, 2020, 3:11 PM

    Hello, everyone.

    Today, when I was trying to create a VPN connection on my pfSense (2.4.4 p1), I went to the Package Manager on webGUI to try and install OpenVPN-Client-Export but nothing was showing in there.

    4405272d-bc58-4f64-a114-8a25196eac4c-image.png OBS: my system is in portuguese

    I've been searching how to solve it and after doing a command (pkg-static update -f) I realised that my server can't access the repository and also can't ping/tracert/access via browser the package.pfsense.org site.

    0a4bfd7a-8a11-419c-a302-fcd5994aec85-image.png

    I followed this doc too [https://docs.netgate.com/pfsense/en/latest/packages/fixing-a-broken-pkg-database.html] and also had no success (it shows that the command pkg-static wasn't found).

    40669e88-315c-4e22-b78d-27fffc5cf94f-image.png

    Anyone know how to solve this ****?

    Thank you.

    1 Reply Last reply Reply Quote 0
    • K
      kiokoman LAYER 8
      last edited by Mar 25, 2020, 5:17 PM

      yup, you can't ping/tracert/access via browser pkg.pfsense.org

      https://docs.netgate.com/pfsense/en/latest/install/upgrade-troubleshooting.html#pkg-pfsense-org-has-no-a-aaaa-record

      try to follow this steps:
      https://docs.netgate.com/pfsense/en/latest/install/upgrade-troubleshooting.html

      ̿' ̿'\̵͇̿̿\з=(◕_◕)=ε/̵͇̿̿/'̿'̿ ̿
      Please do not use chat/PM to ask for help
      we must focus on silencing this @guest character. we must make up lies and alter the copyrights !
      Don't forget to Upvote with the 👍 button for any post you find to be helpful.

      A 1 Reply Last reply Mar 26, 2020, 3:20 PM Reply Quote 1
      • G
        Gertjan
        last edited by Mar 26, 2020, 7:33 AM

        80dafe48-eeba-4572-bd3b-f1789bab07c4-image.png

        Known, but not the official package source.

        No "help me" PM's please. Use the forum, the community will thank you.
        Edit : and where are the logs ??

        A 1 Reply Last reply Mar 26, 2020, 3:25 PM Reply Quote 0
        • A
          araujovitorpaulo @kiokoman
          last edited by Mar 26, 2020, 3:20 PM

          @kiokoman After trying all these steps, I still cant communicate with anything that upgrades my repo.
          Yesterday, I created a VM with the same version of pfSense and realised something... that version without any configuration has all the pkg repo and mine, for some reason, doesnt have it.
          It was working perfectly 2 days ago and I didnt do nothing.
          Any idea?

          1 Reply Last reply Reply Quote 0
          • A
            araujovitorpaulo @Gertjan
            last edited by Mar 26, 2020, 3:25 PM

            @Gertjan It seems like my pfSense is searching this repo as the primary one, makes sense?
            How do I change it?

            1 Reply Last reply Reply Quote 0
            • K
              kiokoman LAYER 8
              last edited by kiokoman Mar 26, 2020, 6:22 PM Mar 26, 2020, 6:20 PM

              it's the unofficial repos for e2guardian
              you need to uninstall e2guardian
              you need to restore /etc/inc/pkg-utils.orig or revert the 244_unofficial_packages_list.patch from System_Patches
              and delete
              /usr/local/etc/pkg/repos/Unofficial.conf
              to remove that

              ̿' ̿'\̵͇̿̿\з=(◕_◕)=ε/̵͇̿̿/'̿'̿ ̿
              Please do not use chat/PM to ask for help
              we must focus on silencing this @guest character. we must make up lies and alter the copyrights !
              Don't forget to Upvote with the 👍 button for any post you find to be helpful.

              1 Reply Last reply Reply Quote 0
              2 out of 6
              • First post
                2/6
                Last post
              Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
                This community forum collects and processes your personal information.
                consent.not_received