Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 1 Jan 2005 15:02:45 +0000
From:      nbco <nbco@screaming.net>
To:        freebsd-questions@freebsd.org
Cc:        "Michael C. Shultz" <reso3w83@verizon.net>
Subject:   Re: re portmanager, how to prevent upgrade of held ports
Message-ID:  <200501011502.46430.nbco@screaming.net>
In-Reply-To: <200412311532.31108.reso3w83@verizon.net>
References:  <200412311749.52424.nbco@screaming.net> <200412311532.31108.reso3w83@verizon.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Friday 31 December 2004 23:32, Michael C. Shultz wrote:
> On Friday 31 December 2004 09:49 am, nbco wrote:
> > Any ideas as to how to make portmanager ignore held ports?

> If you were to move /var/db/pkg/openoffice-1.1.4.20041101_1 (assuming
> that is the version you have installed) directory to someplace safe,
> like in your home directory then portmanager nor any part of the
> ports system would know openoffice-1.1.4.20041101_1 is installed.
> This will only work for a port that is not a dependency for another
> port so only if no other ports depend on openoffice-1.1.4.20041101_1
> will this work. When you want to upgrade it then move the directory
> back
> to /var/db/pkg.
>
>  You can also create a ports/local/editors/openoffice-1.1which is a
> bit more involved and way more elegant, I will be happy to explain
> only if you are truly interested.

Many thanks, the first option worked perfectly, inelegant though it may 
be.
.nbco



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