How do I prevent a port from installing?
b.movaqar at adempiere.org
Thu Nov 22 22:12:03 PST 2007
On 2007-11-22 David Benfell wrote:
> On Fri, 23 Nov 2007 08:09:02 +0330, Bahman Movaqar wrote:
> > On 2007-11-22 Robert Huff wrote:
> > >
> > > David Benfell writes:
> > >
> > > > Also, in deinstalling jdk, I found that apache-ant relied upon
> > > > it, but I couldn't see what depended on apache-ant.
> > >
> > > "man pkg_info", paying attention to the 'r' and 'R'
> > > options.
> > >
> > > > Is there a workaround for apache-ant?
> > >
> > > 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.
> > # 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.
> 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%
So far so good.
> > 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.
> 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.
My guess is that when updating ports some Java application is also
being installed which requires build from source and as a result
installs ant. It'd be good to check the installed applications for a
> 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
> 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
> 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.
No clue here. But I guess it's not about java_vm that your system goes
blank since I'm working/developing with both diablo-jdk-1.5.0_06 and
jdk-1.6.0_01 on an average machine running 6.2-p7.
I'm not sure but I paste my javavm_wrapper configuration. It might be
# JDK 1.6
# JDK 1.5
PGP KeyID: 0xDA647509 (subkeys.pgp.net)
I'm not surprised that the system is so insecure; I'm surprised that
anyone is surprised. -Bruce Schneier
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20071123/329f51e1/signature.pgp
More information about the freebsd-questions