I understood Free NAS packages are managed by pkgng, which works almost the same than pkg_add/pkg_info/pkg_delete etc... I've tried a lot of repo, I always have the same issue.
Then I launched the following command (don't mind the package version) from that jail shell: it's 9.2 version, but there is no plugin folder for that version.
Checking for upgrades (46 candidates): 100% Processing candidates (46 candidates): 100% The following 22 package(s) will be affected (of 0 checked): New packages to be INSTALLED: libdvdcss: 1.3.99 [poudriere] Installed packages to be UPGRADED: png: 1.6.20 - 3.5.8,1 [poudriere] Installed packages to be REINSTALLED: xvid-1.3.4,1 [poudriere] (options changed) x265-1.8 [poudriere] nettle-3.2 [poudriere] mpv-0.15.0,1 [poudriere] (needed shared library changed) libx264-0.144.2533_1 [poudriere] (options changed) libdvdread-5.0.3 [poudriere] (options changed) libdrm-2.4.65_1,1 [poudriere] (options changed) libass-0.13.1 [poudriere] libarchive-3.1.2_6,1 [poudriere] lame-3.99.5_3 [poudriere] jsoncpp-0.6.0.r2_2 [poudriere] harfbuzz-1.1.3 [poudriere] gnutls-184.108.40.206_2 [poudriere] ffmpeg-2.8.6,1 [poudriere] (options changed) enca-1.18 [poudriere] curl-7.47.0 [poudriere] (options changed) cmake-3.4.2 [poudriere] (needed shared library changed) The process will require 286 Ki B more space.
(upstream portmaster maintainer here) Sounds like a portmaster bug there.
So I tooked it out from and it gone ahead to another error: # pkg update Updating repository catalogue 100% 1091KB 545.4KB/s 300.9KB/s pkg: Error loading revoked certificates pkg: Unable to find catalogs So, I did this: # cd /usr/src/share/keys && make && make install; And this: # mkdir -p /usr/share/keys/pkg/trusted /usr/share/keys/pkg/revoked; And this: # rm /usr/share/keys/pkg/trusted/pkg.2013102301 And this: # svn export https://svn0.us-west.
Free BSD.org/base/head/share/keys/pkg/trusted/pkg.2013102301 /usr/share/keys/pkg/trusted/ And it finally worked!
# ls /usr/local/etc/pkg/repos/ These will basically say "this repository contains no packages." As they are pointless there, just remove those two files. #pkg upgrade Updating repository catalogue No valid repository found. You are missing the file -- you can have as many of these as you like, and they can be called pretty much anything so long as the filename ends in and the file is placed in /usr/local/etc/pkg/repos/.
On peut utiliser le flag -P pour utiliser les packages binaires, quoique ceci n'est pas toujours recommandé car plusieurs packages ont des configurations spéciales dans Ceci est un résumé du manuel.done (0 conflicting) Your packages are up to date ... And I must admit that I am a real noob in BSD-things.pkg: fstat() failed for(/usr/local/include/X11/Xalloca.h): No such file or directory pkg: fstat() failed for(/usr/local/include/X11/Xarch.h): No such file or directory pkg: fstat() failed for(/usr/local/include/X11/Xatom.h): No such file or directory pkg: fstat() failed for(/usr/local/include/X11/Xdefs.h): No such file or directory ... I come from the Linux-World, but can't be called a pro there. is the next generation replacement for the traditional Free BSD package management tools, offering many features that make dealing with binary packages faster and easier.For sites wishing to only use prebuilt binary packages from the Free BSD mirrors, managing packages with The package database conversion may emit errors as the contents are converted to the new version. Yet, when I run a pkg install of a package with dependencies, it will get the requested package from our local repo, but the dependencies from the Free BSD repo. Problem can only be alleviated by using "pkg install -r Local .....". I have "Local" repository with priority 10, which contains net-mgmt/zabbix22-proxy with same version as "Free BSD" repository, but with different build options.