Skip site navigation (1)Skip section navigation (2)
Date:      04 Aug 2002 17:25:54 +0200
From:      Ketanu <ketanu@wanadoo.fr>
To:        newbies@freebsd.org
Subject:   Re: Upgrading by ports or packages [pkg_fetch][portupgrade]
Message-ID:  <878z3mzlvh.fsf@ketanu.dyndns.org>
In-Reply-To: <200208040839.50338.scott@bsdprophet.org>
References:  <878z3o1y7b.fsf@ketanu.dyndns.org> <200208040839.50338.scott@bsdprophet.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Scott Corey <scott@bsdprophet.org> 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 <ketanu@wanadoo.fr>  - RSA PGP Key ID: 0x20D90C12

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-newbies" in the body of the message




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