BSD Ports

ports-mgmt/pkg_replace 20260622 FreeBSD

Utility for upgrading installed packages

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
License
CC0-1.0
Categories
ports-mgmt
Package size
23.9 KiB, 70.8 KiB installed

Description

pkg_replace is used to upgrade installed packages. It is compatible with portupgrade and can be used as an alternative to portupgrade and portmaster.

Install

Binary package:

pkg install pkg_replace

From the ports tree:

cd /usr/ports/ports-mgmt/pkg_replace/ && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	pkg_replace>0:ports-mgmt/pkg_replace

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest2026062220260622202301072024081920260622
FreeBSD:14:quarterly2026062220260622n/a2024081920260622
FreeBSD:15:latest2026062220260622n/a2024081920240819
FreeBSD:15:quarterly2026062220260622n/an/an/a
FreeBSD:16:latest2026062220260622n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

The Makefile names none itself; they come from USES and USE_*.

The full lists below include those, and their dependencies in turn.

No port depends on this one.

Configuration

Options name: ports-mgmt_pkg_replace

OptionDefaultDescription
DOCSoffBuild and/or install documentation
Service scripts
none

Message after installing

pkg_replace options changed. For more information,
refer to pkg_replace(1).


You can use various features.

-IGNORE, USE_PKGS
-BEFOREBUILD, AFTERBUILD, BEFOREINSTALL, AFTERINSTALL
-User defined functions

See examples in /usr/local/etc/pkg_replace/pkg_replace.conf.sample.

If you want to use those features,
edit "/usr/local/etc/pkg_replace/pkg_replace.conf".

To clean cache files in the PKG_REPLACE_DB_DIR,
you should execute the following command.

  pkg_replace --cleandb

To really remove the pkg_replace port,
please remove the the PKG_REPLACE_DB_DIR.
Default: PKG_REPLACE_DB_DIR=/var/db/pkg_replace

Files

Manual pages 1
  • pkg_replace(1)
pkg-plist 3
  • sbin/pkg_replace
  • share/man/man1/pkg_replace.1.gz
  • @sample etc/pkg_replace/pkg_replace.conf.sample
distinfo 1
FileSizeSHA256
kdeguchi-pkg_replace-20260622_GH0.tar.gz335792d29ed7af6759ed5436876dbeca956653b3164d1a1e0f7a3583dd04bc41238f2

Commit history 0

No commits in the history this site was built from.