updating ports
Stuart Henderson
stu at spacehopper.org
Wed Jul 22 00:57:31 CEST 2009
On 2009-07-21, Siju George <sgeorge.ml at gmail.com> wrote:
> Hi,
>
> For updating ports to stable I guess
>
> #cd /usr/ports
> #make update
>
> is the way to go right?
>
> I guess it will only update installed packages and not install new packages?
This will attempt to build *everything* (some things may fail because
they can't be built with an old version installed, though this is less
likely to happen with -stable) and then attempt to update them.
This is almost certainly /not/ what you want.
/usr/ports/infrastructure/build/out-of-date can produce a list of
installed packages that need an update, in a format you can write to
a file and feed to "make SUBDIRLIST=<file> ..."
More information about the Openbsd-newbies
mailing list