From owner-freebsd-questions@FreeBSD.ORG Fri Feb 18 07:38:35 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 97AA516A4CE for ; Fri, 18 Feb 2005 07:38:35 +0000 (GMT) Received: from antsrv1.ant.uni-bremen.de (antsrv2.ant.uni-bremen.de [134.102.176.17]) by mx1.FreeBSD.org (Postfix) with ESMTP id 63C8C43D54 for ; Fri, 18 Feb 2005 07:38:34 +0000 (GMT) (envelope-from rebehn@ant.uni-bremen.de) Received: from bremerhaven.ant.uni-bremen.de ([134.102.176.10]) by antsrv2.ant.uni-bremen.de with esmtp (Exim 4.42) id 1D22ic-0006dx-D6; Fri, 18 Feb 2005 08:38:32 +0100 Message-ID: <42159B2C.3000000@ant.uni-bremen.de> Date: Fri, 18 Feb 2005 08:37:16 +0100 From: Heinrich Rebehn User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.3) Gecko/20041124 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Eric Kjeldergaard References: <421467C0.9060801@ant.uni-bremen.de> In-Reply-To: X-Enigmail-Version: 0.86.0.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) X-Spam-Report: Spam detection software, running on the system "antsrv2.ant.uni-bremen.de", hasmessageblock similar future email. If you have any questions, see the administrator of that system for details.10:45:36list, >> >>I have run into an annoying problem several times when upgrading ports. >> >>Say, if i want to upgrade gstreamer-plugins, i do: >> >># in some dependencies, for example gnomevfs2. gnnomevfs2 will >>compileof 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'' toof 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> > > Just "make" will make the program and try to install it as if it want you > to do "make deinstall && make reinstall". For upgrading ports, makesof them decide that another package that the make candidate depends on, has to be upgraded, the error occurs with that package. [...] Content analysis details: (0.0 points, 5.0 required) pts rule name description -------------------------------------------------- cc: freebsd-questions@freebsd.org 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 07:38:35 -0000 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. > > 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. -- Heinrich Rebehn University of Bremen Physics / Electrical and Electronics Engineering - Department of Telecommunications - Phone : +49/421/218-4664 Fax : -3341