Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 10 Oct 2011 13:13:51 -0500
From:      "Conrad J. Sabatier" <conrads@cox.net>
To:        freebsd-questions@freebsd.org
Subject:   Re: pkg_upgrade seems to try server that isn't right
Message-ID:  <20111010131351.4b452741@cox.net>
In-Reply-To: <201110090933.41543.jmc-freebsd2@milibyte.co.uk>
References:  <4E900B3F.9010400@comcast.net> <20111008191614.27d9e7b0@cox.net> <201110090933.41543.jmc-freebsd2@milibyte.co.uk>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, 9 Oct 2011 09:33:41 +0100
Mike Clarke <jmc-freebsd2@milibyte.co.uk> wrote:

> On Sunday 09 October 2011, Conrad J. Sabatier wrote:
>=20
> > I assume you mean "pkg_upgrade" (not "upgrade_pkg")?
> >
> > See the "ENVIRONMENT" section of the man page. =C2=A0All of the pkg_*
> > tools are consistent in how they reference these variables.
>=20
> 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,=20
> pkgupgrade, developed by Michel Talon which might meet the OP's needs=20
> <http://www.lpthe.jussieu.fr/~talon/>. Alternatively the OP could use=20
> either portmaster or portupgrade from ports, both of these can be=20
> forced to use packages instead of building from source by using the
> -P or -PP options.
>=20

Whoops.  My mistake:

$ pkg_which `which pkg_upgrade`
bsdadminscripts-6.1.1_1

Forgot that was from ports, not base.

--=20
Conrad J. Sabatier
conrads@cox.net



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20111010131351.4b452741>