Skip site navigation (1)Skip section navigation (2)

FreeBSD Man Pages

Man Page or Keyword Search:
Man Architecture
Apropos Keyword Search (all sections) Output format
home | help
PKG-UPDATE(8)		FreeBSD	System Manager's Manual		 PKG-UPDATE(8)

NAME
     pkg update	-- updates the local copies of repository catalogues from the
     configured	package	repositories

SYNOPSIS
     pkg update	[-fq]

DESCRIPTION
     pkg update	is used	for updating the local copy of a repository catalogue
     from each of the package repository databases.  Updates to	catalogues are
     normally downloaded only when the master copy on the remote package
     repository	is newer than the local	copy.

     The repository catalogues to be updated are defined in the	pkg.conf(5)
     file or by	the entries in /usr/local/etc/pkg/repos.  See pkg.conf(5) for
     details.

     It	is best	practice to ensure your	package	repository catalogues are up
     to	date before doing any package installation (via	pkg-install(8))	or
     upgrades (via pkg-upgrade(8)).  However, explicitly running pkg update is
     not normally necessary.  By default invoking either of pkg	install	or pkg
     upgrade will cause	repository catalogues to be updated automatically,
     unless disabled by	setting	REPO_AUTOUPDATE	to false in pkg.conf(5).

   Signed repositories
     If	the repository catalogue is signed and PUBKEY is defined, the signa-
     ture will be verified after download.  See	pkg.conf(5) for	more informa-
     tion.

OPTIONS
     The following options are supported by pkg	update:

     -q	 Force quiet output

     -f	 Force a full download of the repository catalogue without regard to
	 the respective	ages of	the local and remote copies of the catalogue

ENVIRONMENT
     The following environment variables affect	the execution of pkg update.
     See pkg.conf(5) for further description.

     PACKAGESITE

     PKG_DBDIR

     PUBKEY

     REPO_AUTOUPDATE

FILES
     See pkg.conf(5).

SEE ALSO
     pkg.conf(5), pkg(8), pkg-add(8), pkg-annotate(8), pkg-audit(8),
     pkg-autoremove(8),	pkg-backup(8), pkg-check(8), pkg-clean(8),
     pkg-config(8), pkg-convert(8), pkg-create(8), pkg-delete(8),
     pkg-fetch(8), pkg-info(8),	pkg-install(8),	pkg-lock(8), pkg-query(8),
     pkg-register(8), pkg-repo(8), pkg-rquery(8), pkg-search(8), pkg-set(8),
     pkg-shell(8), pkg-shlib(8), pkg-stats(8), pkg-updating(8),
     pkg-upgrade(8), pkg-version(8), pkg-which(8)

FreeBSD	9.3			August 12, 2013			   FreeBSD 9.3

NAME | SYNOPSIS | DESCRIPTION | OPTIONS | ENVIRONMENT | FILES | SEE ALSO

Want to link to this manual page? Use this URL:
<http://www.freebsd.org/cgi/man.cgi?query=pkg-update&sektion=8&manpath=FreeBSD+10.0-RELEASE>

home | help