From owner-freebsd-newbies Sun Aug 4 8:24:49 2002 Delivered-To: freebsd-newbies@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B2D4A37B400 for ; Sun, 4 Aug 2002 08:24:47 -0700 (PDT) Received: from mel-rto2.wanadoo.fr (smtp-out-2.wanadoo.fr [193.252.19.254]) by mx1.FreeBSD.org (Postfix) with ESMTP id C2F2643E42 for ; Sun, 4 Aug 2002 08:24:46 -0700 (PDT) (envelope-from ketanu@wanadoo.fr) Received: from mel-rta9.wanadoo.fr (193.252.19.69) by mel-rto2.wanadoo.fr (6.5.007) id 3D49FBEC000D9373 for newbies@freebsd.org; Sun, 4 Aug 2002 17:24:45 +0200 Received: from ketanu.dyndns.org (80.14.10.196) by mel-rta9.wanadoo.fr (6.5.007) id 3D49FFB7000D2F3B for newbies@freebsd.org; Sun, 4 Aug 2002 17:24:45 +0200 Received: from ketanu.dyndns.org (localhost [127.0.0.1]) by ketanu.dyndns.org (8.12.3/8.12.3) with ESMTP id g74FPt5f001185 for ; Sun, 4 Aug 2002 17:25:55 +0200 (CEST) (envelope-from ketanu@wanadoo.fr) Received: (from michael@localhost) by ketanu.dyndns.org (8.12.3/8.12.3/Submit) id g74FPs6e001182; Sun, 4 Aug 2002 17:25:55 +0200 (CEST) (envelope-from ketanu@wanadoo.fr) X-Authentication-Warning: ketanu.dyndns.org: michael set sender to ketanu@wanadoo.fr using -f To: newbies@freebsd.org Subject: Re: Upgrading by ports or packages [pkg_fetch][portupgrade] References: <878z3o1y7b.fsf@ketanu.dyndns.org> <200208040839.50338.scott@bsdprophet.org> From: Ketanu Organization: (none) Date: 04 Aug 2002 17:25:54 +0200 In-Reply-To: <200208040839.50338.scott@bsdprophet.org> Message-ID: <878z3mzlvh.fsf@ketanu.dyndns.org> Lines: 37 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-newbies@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Scott Corey writes: > try man portupgrade. > > On Friday 02 August 2002 09:19 pm, Ketanu wrote: > > I was told by a friend that `portupgrade' could be configured so that it > > automatically choose between packages and ports when upgrading, e.g. i want > > to say it `upgrade general software with packages when available' and > > `upgrade some specific software with ports and a specific configuration' so > > that i can have some software (such as the ion window manager) home compiled > > with some patches that are not in package distribution, or some (such as > > pari-gp and scilab which are scientific calculous) home compiled to take > > advantage of some host-specific capabilities. [...] Well, i have read it many times, and what i understand is that it does not what i said, also i will try to say it better. I was told it was possible to tell portupgrade : i want you to build home-made packages from sources when upgrading XFree, for ocaml, for scilab and pari, i want you to use premade packages when upgrading everything else. Now i say do the upgrade (with recursion options, to preserve coherence between versions of installed software) and portupgrade will obey. A simplistic approach is to have a script with portupgrade ocaml XFree86 pari portupgrade -a -PP but it does not preserve coherence between software versions while upgrading, and it is not possible to do a binary fetch before the upgrade (it is possible but unwanted packages for ocaml XFree86 and pari will be downloaded). -- Ketanu - RSA PGP Key ID: 0x20D90C12 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-newbies" in the body of the message