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

    Cannot use PKGs from FreeBSD...

    Scheduled Pinned Locked Moved General pfSense Questions
    5 Posts 3 Posters 633 Views 3 Watching
    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.
    • G Offline
      Garrett 0
      last edited by

      According to this doc: https://docs.netgate.com/pfsense/en/latest/recipes/freebsd-pkg-repo.html

      I should be able to load other FreeBSD pkgs, but it does not work after editing “/usr/local/etc/pkg/repos/pfSense.conf”

      Any ideas?

      System: Dell 9020m, 8GB RAM, 1TB SSD.

      Thanks!

      GertjanG 1 Reply Last reply Reply Quote 0
      • GertjanG Offline
        Gertjan @Garrett 0
        last edited by

        @garrett-0 said in Cannot use PKGs from FreeBSD...:

        Any ideas?

        Any messages ? Errors ?
        What package ?

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

        G 1 Reply Last reply Reply Quote 0
        • G Offline
          Garrett 0 @Gertjan
          last edited by

          @gertjan

          According to the Netgate online doc listed above, to access the full set of FreeBSD packages you can edit "/usr/local/etc/pkg/repos/pfSense.conf" and changing the first line to: "FreeBSD: { enabled: yes }"

          What I did:

          1. Login to web interface and enabled SSH.
          2. SSH to box, then chose the "Shell" option (number "8", I think) via my Linux terminal.
          3. At the root prompt, "pkg install nano" (which worked).
          4. Then, I "nano /usr/local/etc/pkg/repos/pfSense.conf" and changed the first line to: "FreeBSD: { enabled: yes }" and saved changes.
          5. Attempted to install a known package ("plexmediaserver") from ports, but it would say no such package exists.
          6. Rebooted computer.
          7. Attempted "pkg search plexmediaserver" and "plex*" and still got nothing.
          8. Found that a direct, forced install works ("pkg add https://pkg.freebsd.org/FreeBSD:12:amd64/quarterly/All/plexmediaserver-1.21.1.3830.txz

          So, this install is more of an experiment to learn how to configure a wireless router/NAS/Plex (like this: https://www.netgear.com/home/wifi/routers/plex/). I understand that this is not recommended and I am not using this as my regular router (I use a pcengines APU2 that works perfectly).

          Thank you.

          G 1 Reply Last reply Reply Quote 0
          • G Offline
            Garrett 0 @Garrett 0
            last edited by

            This reddit link below is my same issue:
            https://www.reddit.com/r/PFSENSE/comments/ilajsd/freebsd_package_repository_issue/

            Anyone know of a fix other than manually downloading?

            1 Reply Last reply Reply Quote 0
            • stephenw10S Offline
              stephenw10 Netgate Administrator
              last edited by

              Indeed, you should not do that! 😉

              Mostly because enabling the complete FreeBSD pkg repo that can very easily pull in packages that break functionality by replacing the customised versions we have in pfSense.

              Installing individual pkgs directly using the full path like that can work as long as the dependencies list is met. If it needs a huge list of other things there's every chance it will break something. Small basic utilities. Plex is not that!

              Steve

              1 Reply Last reply Reply Quote 1
              • First post
                Last post
              Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.