Friday, July 01, 2005

NetBSD checking the currently installed packages

I love pkgsrc. It might sound arcane, but doing a cvs update from inside /usr/pkgsrc feels good. If one want's to check if all installed packages are up to date,
lintpkgsrc -i
does the trick. If there are newer versions of the installed packages, then
cd /usr/pkgsrc/name_of_package
and
make update
is all that is needed. The latter command rebuilds all dependencies as well, by the way.
Again, there might be a GUI allowing you to initiate the same steps, but to cite from my book again: this chain of commands can be executed via PDA or cell-phone from almost anywhere, not that I'm on a beach right now, but it could happen.
:-)