On Sun, May 06, 2007 at 04:28:45PM +0200, Cabillot Julien wrote: > pkg_add -ui >
Ah. Thanks. Seems the man page should be changed to be more clear. "If no pkgname is given and -u is combined with -i, pkg_add will..." > On 5/6/07, Clint M. Sand <[EMAIL PROTECTED]> wrote: > > > > man pkg_add states: > > > > -u Update the given pkgname(s), and anything it depends upon. > > If no pkgname is given, pkg_add will update all installed packages. > > This relies on PKG_PATH to figure out the new package names. > > > > However if I run -u with no package name, it tells me a list of possible > > candidates, but doesn't actually update anything. I have to manually do > > each one. Am I doing something wrong or is this expected for some > > reason? > > > > (on i386) > > # dmesg | head -1 > > OpenBSD 4.1-stable (GENERIC) #0: Sat May 5 21:34:13 EDT 2007 > > # echo $PKG_PATH ftp://ftp.nyc.openbsd.org/pub/OpenBSD/4.1/packages/i386/ > > # pkg_add -u > > Candidates for updating autossh-1.2g -> autossh-1.3 > > Candidates for updating bzip2-1.0.3 -> bzip2-1.0.4 > > Candidates for updating cdrtools-2.01 -> cdrtools-2.01p0 > > Looking for updates: complete > > # > > > > > > Any ideas? > > > > > > > -- > Julien Cabillot