Subject: Re: pkg_chk: updating installed packages w/ FTP?
To: Hubert Feyrer <hubert@feyrer.de>
From: Steven M. Bellovin <smb@cs.columbia.edu>
List: pkgsrc-users
Date: 04/29/2006 10:51:50
On Sat, 29 Apr 2006 15:16:43 +0200 (CEST), Hubert Feyrer
<hubert@feyrer.de> wrote:

> 
> I have installed a bunch of packages using pkg_add via FTP from 
> pkgsrc-2005Q4. Now that pkgsrc-2006Q1 binary packages are out, I'd like to 
> update all my installed packages.
> 
> Is there a way to do that with pkg_chk? It seems -P can only point at 
> local packages, but I'd like to use the binary packages on ftp.NetBSD.org 

I haven't tried it, so take this with a grain of salt...

Use 'lintpkgsrc -i' to get a list of out-of-date packages, and 
'pkgdepgraph -D -A' to generate a script to do the replacements from the
binaries.

		--Steven M. Bellovin, http://www.cs.columbia.edu/~smb