pkg_upgrade seems to try server that isn't right

Conrad J. Sabatier conrads at cox.net
Mon Oct 10 18:14:08 UTC 2011


On Sun, 9 Oct 2011 09:33:41 +0100
Mike Clarke <jmc-freebsd2 at milibyte.co.uk> wrote:

> On Sunday 09 October 2011, Conrad J. Sabatier wrote:
> 
> > I assume you mean "pkg_upgrade" (not "upgrade_pkg")?
> >
> > See the "ENVIRONMENT" section of the man page.  All of the pkg_*
> > tools are consistent in how they reference these variables.
> 
> There isn't a pkg_upgrade in the base system and I'm not aware of one
> in ports either but I'm open to correction. There is a python script, 
> pkgupgrade, developed by Michel Talon which might meet the OP's needs 
> <http://www.lpthe.jussieu.fr/~talon/>. Alternatively the OP could use 
> either portmaster or portupgrade from ports, both of these can be 
> forced to use packages instead of building from source by using the
> -P or -PP options.
> 

Whoops.  My mistake:

$ pkg_which `which pkg_upgrade`
bsdadminscripts-6.1.1_1

Forgot that was from ports, not base.

-- 
Conrad J. Sabatier
conrads at cox.net


More information about the freebsd-questions mailing list