Upgrade/Install in one command?

Lowell Gilbert freebsd-questions-local at be-well.ilk.org
Wed Apr 21 18:49:18 UTC 2010


Atom Powers <atom.powers at gmail.com> writes:

> I would like to make my configuration management system update and/or
> install packages on FreeBSD. I've been avoiding that little thorn
> because I haven't had very many hosts and updates have been fairly
> rare recently; but no more. (cfengine2)
>
> Basically, I wish pkg_add would upgrade a package if it was already
> installed; of that portupgrade would install a package if it was
> missing. Neither seem to work.

The '-N' option for portupgrade doesn't do what you want?

> How do you manage packages on a large number of FreeBSD hosts?

I have a small number, but I still follow the build server approach...

-- 
Lowell Gilbert, embedded/networking software engineer, Boston area
		http://be-well.ilk.org/~lowell/


More information about the freebsd-questions mailing list