Those differences can be in version number, dependency graph, compile-time options, etc.The proper way to prevent and maintaining your own package repository. But I like to told that I have until now the same problem.I had asking the Free BSD Forum "Using packages and ports at the same time?The SQLite database allow fast queries and ACID transactions.It also allows finding the reverse dependencies reliably without a needing the REQUIRED_BY hack.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.
The package metadata downloaded from the repositories is then examined for each of the packages in the work list, and any missing dependencies are added to the work list as install jobs.pkg package format is a tar archive which can be raw, or use the following compression: gz, bzip2 and xz, defaulting in xz format.The tar itself is composed in two types of elements: This is a subset of the information included in the main MANIFEST, omitting the lists of files, checksums, directories and scripts.PKG-UPGRADE(8) Free BSD System Manager's Manual PKG-UPGRADE(8) NAME pkg upgrade -- perform upgrades of package software distributions SYNOPSIS pkg upgrade [-f In Fq Uy] [-r reponame] [-Cgix] [_pkg-origin|pkg-name|pkg-name-version_ ...] pkg upgrade [--] [--] [--repository reponame] [--] [_pkg-origin|pkg-name|pkg-name-version_ ...] DESCRIPTION pkg upgrade is used for upgrading packaged software distributions.pkg upgrade compares the versions of all or specific packages installed on the system to what is available in the configured package reposito- ries.Linux/OSX: Free BSD: pkg is built on top of libpkg, a new library to interface with package registration backends.It abstracts package management details such as registration, remote repositories, package creation, updating, etc.If it is already fully updated, then search for the specified package.Updating repository catalogue Repository catalogue is up-to-date, no need to fetch fresh copy The following packages will be installed: Installing ca_root_nss: 3.13.5 Installing curl: 7.24.0 The installation will require 4 MB more space 1 MB to be downloaded Proceed with installing packages [y/N]: ca_root_nss-3.13.5100% 255KB 255.1KB/s 255.1KB/s curl-7.24.0100% 1108KB 1.1MB/s 1.1MB/s Checking integrity... Such implicitly added pack- ages are flagged as candidates for autoremoval. Autoremoval flags are sticky, and will persist over reinstallation or upgrade of the packages concerned, even if subsequently the packages are named explicitly on a command line.See pkg-query(8) for finding the autoremoval status of a package, and pkg-set(8) for modifying it.It takes a bit of setting up, and works best if your build host has a ZFS storage pool, although it will work if you don't have ZFS; it is a very flexible and convenient way to manage custom software builds.Free BSD's binary package manager, pkg, can be used to easily manage the installation of pre-compiled applications, the Free BSD equivalent Debian and RPM packages." And one member give me the advice to use a script for installation updates, like he has done. Neither system records any additional information that a particular piece of software was installed as a pre-compiled package, or as a port.