From owner-freebsd-questions@FreeBSD.ORG Mon May 29 23:51:47 2006 Return-Path: X-Original-To: freebsd-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 B154F16A474 for ; Mon, 29 May 2006 23:51:47 +0000 (UTC) (envelope-from benlutz@datacomm.ch) Received: from maxlor.mine.nu (c-213-160-32-54.customer.ggaweb.ch [213.160.32.54]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2AFF143D53 for ; Mon, 29 May 2006 23:51:46 +0000 (GMT) (envelope-from benlutz@datacomm.ch) Received: from localhost (unknown [127.0.0.1]) by maxlor.mine.nu (Postfix) with ESMTP id B946E2E07E; Tue, 30 May 2006 01:51:45 +0200 (CEST) X-Virus-Scanned: amavisd-new at atlantis.intranet Received: from maxlor.mine.nu ([127.0.0.1]) by localhost (atlantis.intranet [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 30XER2kUhNGW; Tue, 30 May 2006 01:51:45 +0200 (CEST) Received: from mini.intranet (mini.intranet [10.0.0.17]) by maxlor.mine.nu (Postfix) with ESMTP id 83AAC2E07D; Tue, 30 May 2006 01:51:45 +0200 (CEST) From: Benjamin Lutz To: freebsd-questions@freebsd.org Date: Tue, 30 May 2006 01:51:38 +0200 User-Agent: KMail/1.8.3 References: <447B86F3.6070500@freedomcircle.net> In-Reply-To: <447B86F3.6070500@freedomcircle.net> X-Face: $Ov27?7*N,h60fIEfNJdb!m,@#4T/d; 1hw|W0zvsHM(a$Yn6BYQ0^SEEXvi8>D`|V*F"=?iso-8859-1?q?=5F+R=0A?= 2@Aq>+mNb4`,'[[%z9v0Fa~]AD1}xQO3|>b.z&}l#R-_(P`?@Mz"kS; XC>Eti,i3>%@g?4f,=?iso-8859-1?q?=5Cc7=7CGh=0A?= =?iso-8859-1?q?_wb=26ky=24b2PJ=5E=5C0b83NkLsFKv=7CsmL/cI4UD=25Tu8alAD?= MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart9916830.crpbD5AmJP"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200605300151.42563.benlutz@datacomm.ch> Cc: Joe 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: Mon, 29 May 2006 23:51:57 -0000 --nextPart9916830.crpbD5AmJP Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Tuesday 30 May 2006 01:42, Joe wrote: > Hi, > > I've read the documentation and it seems there's no pkg_upgrade or > pkg_update, or a way to install an updated/upgraded package. I'd like > to determine if that is indeed the case. > > [...] > > The documentation mentions portupgrade and portmanager as mechanisms to > upgrade ports, but if I'm not mistaken these invoke source updates, not > a binary upgrade as was done for the OS. It appears that the only way > to upgrade in binary form is to use pkg_delete -f to remove each > package, e.g., expat 1.98, and then pkg_add to get the newer (2.0) > version. And then you have to be extra careful with dependencies > between packages. > > [...] portupgrade actually does support packages as well. Use the --use-packages= =20 switch. It will look for local packages, remote packages, and if both fail,= =20 fall back to compiling the ports. Cheers Benjamin --nextPart9916830.crpbD5AmJP Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2.2 (GNU/Linux) iD8DBQBEe4kOgShs4qbRdeQRApXVAJ4ognvfnbDeCwc+zNz2ikK/cT+5/gCff3+E ZnObumnnFBpfc9iYWLgH+YA= =/qrm -----END PGP SIGNATURE----- --nextPart9916830.crpbD5AmJP--