From owner-freebsd-questions@FreeBSD.ORG Thu Feb 17 23:12:21 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 E041416A4CE for ; Thu, 17 Feb 2005 23:12:21 +0000 (GMT) Received: from rproxy.gmail.com (rproxy.gmail.com [64.233.170.206]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7E43743D39 for ; Thu, 17 Feb 2005 23:12:21 +0000 (GMT) (envelope-from kjelderg@gmail.com) Received: by rproxy.gmail.com with SMTP id j1so404970rnf for ; Thu, 17 Feb 2005 15:12:20 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:references; b=b+mZeUe5e+p1rzOoau/3xbRS8RWRLz4ezKNEgSWHYxdwFLOth3VETVmeMVOJD8d31zIFXZnIWdtg/x9GEeQm6jXrLwFoPH0jTkdTDClCbAJy3HfggLRtu1qHEg/NchkCeDaxEDem5SGJLzltTEmnodYHKYq4WOgSb4XcywtopxA= Received: by 10.38.88.22 with SMTP id l22mr187154rnb; Thu, 17 Feb 2005 15:12:20 -0800 (PST) Received: by 10.38.101.19 with HTTP; Thu, 17 Feb 2005 15:12:20 -0800 (PST) Message-ID: Date: Thu, 17 Feb 2005 17:12:20 -0600 From: Eric Kjeldergaard To: Heinrich Rebehn In-Reply-To: <421467C0.9060801@ant.uni-bremen.de> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit References: <421467C0.9060801@ant.uni-bremen.de> cc: freebsd-questions@freebsd.org Subject: Re: Annoying ports problem X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Eric Kjeldergaard List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 17 Feb 2005 23:12:22 -0000 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. -- If I write a signature, my emails will appear more personalised.