From owner-freebsd-questions@FreeBSD.ORG Fri Feb 18 09:15:54 2005 Return-Path: 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 6DAD316A4CE for ; Fri, 18 Feb 2005 09:15:54 +0000 (GMT) Received: from kayjay.xs4all.nl (kayjay.xs4all.nl [80.126.33.60]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6A39743D48 for ; Fri, 18 Feb 2005 09:15:53 +0000 (GMT) (envelope-from karelj@kayjay.nl) Received: from PHYS9911.phys.tue.nl (PHYS9911.phys.tue.nl [131.155.116.116]) (authenticated bits=0) by kayjay.xs4all.nl (8.13.1/8.13.1) with ESMTP id j1I9FgpV028988 (version=TLSv1/SSLv3 cipher=DHE-DSS-AES256-SHA bits=256 verify=NO); Fri, 18 Feb 2005 10:15:43 +0100 (CET) (envelope-from karelj@kayjay.nl) From: "Karel J. Bosschaart" To: freebsd-questions@freebsd.org Date: Fri, 18 Feb 2005 10:15:43 +0100 User-Agent: KMail/1.7.2 References: <421467C0.9060801@ant.uni-bremen.de> <42159B2C.3000000@ant.uni-bremen.de> In-Reply-To: <42159B2C.3000000@ant.uni-bremen.de> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200502181015.44103.karelj@kayjay.nl> cc: Heinrich Rebehn cc: Eric Kjeldergaard Subject: Re: Annoying ports problem X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 18 Feb 2005 09:15:54 -0000 On Friday 18 February 2005 08:37, Heinrich Rebehn wrote: > Eric Kjeldergaard wrote: > > On Thu, 17 Feb 2005 10:45:36 +0100, Heinrich Rebehn > > > > wrote: > >>Hi list, > >> > >>I have run into an annoying problem several times when upgrading ports. > >> > >>Say, if i want to upgrade gstreamer-plugins, i do: > >> > >># cd /usr/ports/multimedia/gstreamer-plugins > >># make > >> > >>This pulls in some dependencies, for example gnomevfs2. gnnomevfs2 will > >>compile fine, but then stops because it wants to install gnomevfs2 > >>instead of reinstalling it: > >> > >>===> An older version of devel/gnomevfs2 is already installed > >>(gnomevfs2-2.9.91) > >> You may wish to ``make deinstall'' and install this port again > >> by ``make reinstall'' to upgrade it properly. > >> If you really wish to overwrite the old port of devel/gnomevfs2 > >> without deleting it first, set the variable "FORCE_PKG_REGISTER" > >> in your environment or the "make install" command line. > >>*** Error code 1 > >> > >>Since i have run into this several times, i must be missing something > >>substantial. What is it? > > > > Just "make" will make the program and try to install it as if it were > > the first time. When it detects the older version, it will want you > > to do "make deinstall && make reinstall". For upgrading ports, you > > may want to look at /usr/ports/sysutils/portupgrade. > The problem is that the OP *is* using portupgrade. > It makes no difference wether i use "make" or "portupgrade". As soon as > ether of them decide that another package that the make candidate > depends on, has to be upgraded, the error occurs with that package. And if you do 'portupgrade -f gnomevfs2' (forced upgrade) *before* 'portupgrade gstreamer-plugins'? It recently solved similar problems for me, in particular with the perl-related ports. Karel.