From owner-freebsd-questions@FreeBSD.ORG Tue May 30 21:33:48 2006 Return-Path: X-Original-To: questions@FreeBSD.org Delivered-To: freebsd-questions@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AB07516AB92 for ; Tue, 30 May 2006 21:33:48 +0000 (UTC) (envelope-from kris@obsecurity.org) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6C94843D7C for ; Tue, 30 May 2006 21:33:45 +0000 (GMT) (envelope-from kris@obsecurity.org) Received: from obsecurity.dyndns.org (elvis.mu.org [192.203.228.196]) by elvis.mu.org (Postfix) with ESMTP id 571E41A4DB3; Tue, 30 May 2006 14:33:45 -0700 (PDT) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id CD5E751559; Tue, 30 May 2006 17:33:44 -0400 (EDT) Date: Tue, 30 May 2006 17:33:44 -0400 From: Kris Kennaway To: Joe Message-ID: <20060530213344.GA34025@xor.obsecurity.org> References: <447B86F3.6070500@freedomcircle.net> <20060530002535.GA94917@xor.obsecurity.org> <447CB067.1080309@freedomcircle.net> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="M9NhX3UHpAaciwkO" Content-Disposition: inline In-Reply-To: <447CB067.1080309@freedomcircle.net> User-Agent: Mutt/1.4.2.1i Cc: questions@FreeBSD.org, Kris Kennaway Subject: Re: pkg_upgrade? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 May 2006 21:33:56 -0000 --M9NhX3UHpAaciwkO Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, May 30, 2006 at 04:51:51PM -0400, Joe wrote: > Kris Kennaway wrote: > >On Mon, May 29, 2006 at 07:42:43PM -0400, Joe wrote: > >>Hi, > >> > >>I've read the documentation and it seems there's no pkg_upgrade or=20 > >>pkg_update, or a way to install an updated/upgraded package. I'd like= =20 > >>to determine if that is indeed the case. > > > >portupgrade -P or -PP >=20 > OK, since I had upgraded to 6.1-RELEASE, I used portsnap to get the=20 > ports, then I used pkg_add -r to get portupgrade and then, as a test ran >=20 > portupgrade -PP expat >=20 > It failed to update expat however, because it kept looking in the=20 > 6.0-RELEASE paths. I presume this is because even though the binary=20 > upgrade of the base to 6.1 went well, uname, etc., think I still have a= =20 > 6.0 machine. So where is the *real* version id stored and how can it be= =20 > (should it be?) safely modified? It's reported by the kernel, so if it's still saying 6.0-RELEASE then that's what you're still running. Kris --M9NhX3UHpAaciwkO Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (FreeBSD) iD8DBQFEfLo4Wry0BWjoQKURAld+AJ9aGtvZO3SkVb7PvEaaCI4Z6WJTtACghFvv tMUJFyfshsjVSclHHrVVpuM= =uRt6 -----END PGP SIGNATURE----- --M9NhX3UHpAaciwkO--