Not all ports is available to my pkg

This is kind of a FAQ indeed, with two possible answers.
  • There are always two package repositories, latest and quarterly. FreeBSD comes pre-configured to use quarterly, which is updated once each quarter, except for security issues and other really important bugs. A package for a new port won't show up there until the next quarter. Recently, freshports shows you which packages are available in which repository, see for example databases/mongodb42. You can opt to use latest by creating a /usr/local/etc/pkg/repos/FreeBSD.conf containing
    Code:
    FreeBSD: { url: "pkg+http://pkg.FreeBSD.org/${ABI}/latest" }
    After switching, issue a pkg upgrade -f.
  • Escpecially if you're using latest, a package could miss temporarily if it failed to build on the official build servers. In that case, just wait a few days.
 
Back
Top