Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 23 Nov 2007 06:50:26 +0100
From:      Tino Engel <elrap@web.de>
To:        freebsd-questions@freebsd.org
Subject:   Re: How do I prevent a port from installing?
Message-ID:  <47466A22.2060205@web.de>
In-Reply-To: <20071122174115.GA23792@parts-unknown.org>
References:  <20071122174115.GA23792@parts-unknown.org>

next in thread | previous in thread | raw e-mail | index | archive | help
David Benfell schrieb:
> Hello all,
>
> I don't know what the story is, but Java is locking up my
> system badly.  Even if I knew how to get details, I wouldn't
> be able to because the system is completely unresponsive.
>
> As a workaround, I have gone into /usr/ports/distfiles and
> renamed the jdk* files to names with DO-NOT-INSTALL in
> capital letters and linked the original filenames to /dev/null.
>
> I do not want java installing again on this system ever under
> any circumstances.
>
> With java, at least, I believe I have to download the files by
> hand if there is ever an update.  But what if I identify other
> ports that are causing me problems?
>
> Also, in deinstalling jdk, I found that apache-ant relied upon
> it, but I couldn't see what depended on apache-ant.  Is there
> a workaround for apache-ant?
>
> Thanks!
>
>   
A way to prevent java from installing would be to do
chmod 000 /usr/ports/java/*jre* /usr/ports/java/*jdk*

Tino



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