From owner-freebsd-questions@FreeBSD.ORG Fri Nov 23 05:37:39 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E512016A417 for ; Fri, 23 Nov 2007 05:37:39 +0000 (UTC) (envelope-from benfell@earth.parts-unknown.org) Received: from earth.parts-unknown.org (earth.parts-unknown.org [66.93.170.243]) by mx1.freebsd.org (Postfix) with SMTP id DAB9913C45A for ; Fri, 23 Nov 2007 05:37:39 +0000 (UTC) (envelope-from benfell@earth.parts-unknown.org) Received: (qmail 13366 invoked by uid 501); 23 Nov 2007 05:35:00 -0000 Date: Thu, 22 Nov 2007 21:35:00 -0800 From: David Benfell To: Bahman Movaqar Message-ID: <20071123053500.GA99079@parts-unknown.org> Mail-Followup-To: Bahman Movaqar , Robert Huff , freebsd-questions@freebsd.org References: <20071122174115.GA23792@parts-unknown.org> <18246.7125.29876.835213@jerusalem.litteratus.org> <20071123080902.480c1816@attila> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="VS++wcV0S1rZb1Fb" Content-Disposition: inline In-Reply-To: <20071123080902.480c1816@attila> X-gnupg-public-key: http://www.parts-unknown.org/gnupg/export-0DD1D1E3 X-stardate: [-29]8551.08 X-moon: The Moon is Waxing Gibbous (98% of Full) User-Agent: Mutt/1.5.16 (2007-06-09) Cc: Robert Huff , freebsd-questions@freebsd.org Subject: Re: How do I prevent a port from installing? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Nov 2007 05:37:40 -0000 --VS++wcV0S1rZb1Fb Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, 23 Nov 2007 08:09:02 +0330, Bahman Movaqar wrote: > On 2007-11-22 Robert Huff wrote: >=20 > >=20 > > David Benfell writes: > >=20 > > > Also, in deinstalling jdk, I found that apache-ant relied upon > > > it, but I couldn't see what depended on apache-ant. > >=20 > > "man pkg_info", paying attention to the 'r' and 'R' options. > >=20 > > > Is there a workaround for apache-ant? > >=20 > > If it's a mandatory dependency - i.e. not installed because of > > an option - the anxwer is probably "No.". > > You could consult the maintainer for a more authoratative > > opinion. >=20 > # cat /var/db/pkg/apache-ant-X.Y.Z/+REQUIRED_BY > Where X, Y and Z are ant versions. If the file exists, the contents > show the ports that depend on ant. If it doesn't exist, it means that > no other port is dependant on ant. >=20 earth% cat /var/db/pkg/apache-ant-1.7.0_1/+REQUIRED_BY cat: /var/db/pkg/apache-ant-1.7.0_1/+REQUIRED_BY: No such file or directory earth%=20 > However, keep in mind that ant is a build (make) tool for Java > applications. It is quite possible that there are no applications that > depend on ant for running and at the same time it is likely that if you > deinstall ant you won't be able to build (run?) some of your Java > applications anymore. >=20 Given that I do not feel I can afford to have Java on the system, this is a sacrifice I feel is necessary. In the process of updating ports, apache-ant has already been reinstalled. I had installed kaffe when I removed jdk*; but apache-ant now seems to depend on diablo-jdk. earth% pkg_info -r diablo-jdk-1.5.0.07.01_8 Information for diablo-jdk-1.5.0.07.01_8: Depends on: Dependency: xtrans-1.0.4 Dependency: xproto-7.0.10_1 Dependency: xextproto-7.0.2 Dependency: javavmwrapper-2.3 earth% cat /var/db/pkg/diablo-jdk-1.5.0.07.01_8/+REQUIRED_BY apache-ant-1.7.0_1 earth%=20 At least I do not yet see java_vm (which seems to have been the culprit in cases where I was able to get back into the system) yet reappearing. When I encountered difficulty this morning, I had left both firefox and an ports upgrade running. In the past, I had associated the problem with a java script from Blackboard at the university where I attend and teach, but in the situation this morning, I had not invoked that script. So I'm guessing that java_vm had been invoked by apache-ant which previously depended on jdk* rather than diablo-jdk*. I am wondering if I have any reason to believe that diablo-jdk is sufficiently different from jdk to avoid the problem. --=20 David Benfell, LCP benfell@parts-unknown.org --- Resume available at http://www.parts-unknown.org/ NOTE: I sign all messages with GnuPG (0DD1D1E3). --VS++wcV0S1rZb1Fb Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4 (FreeBSD) iD8DBQFHRmaEUd+dMw3R0eMRAlX9AJ0ToLwcn4JcSJBDFSRLd0Ty3RFDZwCgl3qT GYe/2b4wqxwGt2a6vhGheQ8= =o7oH -----END PGP SIGNATURE----- --VS++wcV0S1rZb1Fb--