5.3 Updating ports

See the chapter on updating for details on how to update your ports collection and your dfports collection.

pkg_version will compare installed packages to the existing ports on disk, and list which are out of date. To update software:

If there are other packages that depend on that package to run, pkg_delete will not allow the target package to be deleted. The deletion can be forced with pkg_delete -f.

Warning: This can lead to problems if the newer target package does not support features the older version had; other dependent software may break.

Some 3rd-party software can help deal with this; most notably sysutils/portupgrade. However, portupgrade is not aware of dfports, so it will only work for ports that have no DragonFly-specific overrides.

Contact the Documentation Team for comments, suggestions and questions about this document.