GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
PKG_UPDATE(1) User Manuals PKG_UPDATE(1)

pkg_update - Easy handling of jailed packages builds.

pkg_update [command] ...

pkg_update is a script to handle an clean jail for package-builds.

update-ports
Start "make update" for the ports tree.
update-pkg
Force rebuild of pkg tools.
repo
Force rebuild of pkg repo.
make-packages
Builds a port and its dependencies in a clean /usr/local. You should not run this on a server with configuration. Existing packages are used. Extra files in "${PREFIX}" are detected and reported. The default list of ports is "data/make-packages.${hostname}"
clean-distfiles
Checks all distinfo files and moves the disfiles not found to "/usr/ports/distfiles/Old/".
merge-distfiles
Copy all disfiles found that do not yet exist on the master directory "/media/ports/distfiles/".
clean-packages
Find packages thar are obsolete or have changed depedencies and move them out of the way to "/usr/ports/packages/Old/".
pkg_update clean-openssl-packages
Find packages that use openssl and move them out of the way
full-update-jail
Do full update cycle:
1. "update-ports" to update the ports tree
2. "clean-distfiles" to keep only good packages
3. "clean-packages" to keep only good packages
4. remove all old error logs
5. "make-packages" to rebuild missing packages
full-update-jail retry
Skip "update-ports" and procced as above.
fetch-distfiles
Fetch distfiles for list of ports.
fetch-recursive-distfiles
Fetch distfiles for list of ports and their dependecies.
fix-moved-ports
Check installed packages for moved ports. Then register the new dir in the old installed package.
add-packages
Build a missing port and its missing dpendencies /usr/local is not deleted, on success the port is installed. Existing packages will be used.
list-installed-ports
List all installed ports.
show-version-list
List installed packages that are not in correct version.
show-packages
List build packages or report missing for each port recorded in "data/install-packages.${hostname}".
check-installed-ports
Compare the list of installed ports with the list recorded in data/install-packages.${hostname}".
show-missing-packages
Warn if no package is found for each port recorded in "data/install-packages.${hostname}"
show-missing-installed
List build packages or report missing for each port installed on this host.
check-update
1. check-installed-ports
2. show-missing-packages
3. show-missing-installed
clean
Clean all cached information.
make-version-list
Make new list of packages that are not in correct version.
make-deinstall-list
Make new list of ports that are not in correct version and create a script "deinstall.${hostname}" to deinstall all the old ports and the dependend ports in order.
check-reinstall
For each package deleted by "make-deinstall-list" warn if no new package is found.
reinstall
For each package deleted by "make-deinstall-list" try to install the new package if it exists.
install-packages
For each port recorded in "data/install-packages.${hostname}" try to to install the new package if it exists.
show-missing-reinstall
For each port recorded from "make-deinstall-list" warn if no new package is found.
clean-reinstall
For each port recorded from "make-deinstall-list", keep only the ports that have no package installed.
deinstall-packages
For each port recorded in "data/install-packages.${hostname}" try to to deinstall the installed port.

This script uses only /bin/sh and it does not need an INDEX file.

undefined.

/usr/ports/local/update/data/
Default location for configuration and varaible data.

/usr/ports/local/update/log-${hostname}
Default location for logsfiles.
/media/ports/distfiles/
Optional location lor a central hostng of distfiles.

pkg_update full-update-jail

pkg_jail(1)
The tool to create and run the jail.

http://www.dinoex.net/training/package.html
http://www.dinoex.net/training/package2.html

Dirk Meyer, dinoex@FreeBSD.org
April 2017 FreeBSD

Search for    or go to Top of page |  Section 1 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.