FreeBSD java installation help!
Rainer Duffner
rainer at ultra-secure.de
Fri Jun 21 21:18:58 UTC 2013
Am Fri, 21 Jun 2013 13:28:40 -0700
schrieb Kavitha H Yogaraj <ykavitha at uw.edu>:
> Hi,
>
> When I try to delete pkg_delete pkg-config-0.25_1
> I get a message saying
> package 'pkg-config-0.25_1' is required by these other packages
> and may not be deinstalled:
> libidn-1.22
> wget-1.13.4_1
> libxml2-2.7.8_3
> php5-5.4.4
> php5-curl-5.4.4
> php5-posix-5.4.4
> php5-json-5.4.4
> liboauth-0.9.6_1
> pecl-APC-3.1.10
> pecl-oauth-1.2.2
> php5-xmlwriter-5.4.4
> php5-xml-5.4.4
> php5-tokenizer-5.4.4
> php5-simplexml-5.4.4
> php5-session-5.4.4
> php5-pdo-5.4.4
> php5-iconv-5.4.4
> php5-hash-5.4.4
> php5-filter-5.4.4
> php5-dom-5.4.4
> php5-xmlreader-5.4.4
> php5-ctype-5.4.4
> php5-phar-5.4.4
>
>
> for the same above mentioned error message there are several online
> suggestions.
> One such is using portmaster as Achilleas
> <http://freebsd.1045724.n5.nabble.com/template/NamlServlet.jtp?macro=user_nodes&user=159243>
> said,
> Should I go head and try these??
> portmaster-o devel / pkgconf devel / pkg-config
> portupgrade-fo devel / pkg-config pkgconf /
>
> Achilleas
> <http://freebsd.1045724.n5.nabble.com/template/NamlServlet.jtp?macro=user_nodes&user=159243>
> and Ronald also mentioned to use pkgng. For this, I need to remove
> all packages and install correct? Should I remove some packages
> scares me a lot, but if I can backup the packages and after it updates
Technically, you don't have to remove them.
pkg2ng will convert your installed package-database.
But after the conversion and before the upgrade, you must do
pkg set -yo devel/pkg-config:devel/pkgconf
and then
pkg remove pkg-config
Similar with PERL (if the default PERL-version has changed - I don't
know because I have changed the default for my site).
After that, you can run
pkg upgrade -fa
and it will upgrade everything (provided a package is in the repo).
Then, you can install openjdk.
More information about the freebsd-java
mailing list