re portmanager, how to prevent upgrade of held ports
nbco at screaming.net
Sat Jan 1 15:03:02 GMT 2005
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-22.214.171.12441101_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-126.96.36.19941101_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-188.8.131.5241101_1
> will this work. When you want to upgrade it then move the directory
> 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
More information about the freebsd-questions