Cannot use PKGs from FreeBSD...
-
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!
-
@garrett-0 said in Cannot use PKGs from FreeBSD...:
Any ideas?
Any messages ? Errors ?
What package ? -
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:
- Login to web interface and enabled SSH.
- SSH to box, then chose the "Shell" option (number "8", I think) via my Linux terminal.
- At the root prompt, "pkg install nano" (which worked).
- Then, I "nano /usr/local/etc/pkg/repos/pfSense.conf" and changed the first line to: "FreeBSD: { enabled: yes }" and saved changes.
- Attempted to install a known package ("plexmediaserver") from ports, but it would say no such package exists.
- Rebooted computer.
- Attempted "pkg search plexmediaserver" and "plex*" and still got nothing.
- 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.
-
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?
-
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