On Sun, May 06, 2007 at 10:16:11AM -0400, Clint M. Sand 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? 
> 
Try pkg_add -iu -F update -F updatedepends instead.  You will have
better results.

-- 
James Turner
http://calminferno.net

Reply via email to