Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 18 Feb 2005 08:37:16 +0100
From:      Heinrich Rebehn <rebehn@ant.uni-bremen.de>
To:        Eric Kjeldergaard <kjelderg@gmail.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Annoying ports problem
Message-ID:  <42159B2C.3000000@ant.uni-bremen.de>
In-Reply-To: <d9175cad05021715128228c00@mail.gmail.com>
References:  <421467C0.9060801@ant.uni-bremen.de> <d9175cad05021715128228c00@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Eric Kjeldergaard wrote:
> On Thu, 17 Feb 2005 10:45:36 +0100, Heinrich Rebehn
> <rebehn@ant.uni-bremen.de> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?42159B2C.3000000>