Date: Thu, 20 Jun 2013 20:54:03 +0200 From: Rainer Duffner <rainer@ultra-secure.de> To: Kavitha H Yogaraj <ykavitha@uw.edu> Cc: freebsd-java@freebsd.org Subject: Re: FreeBSD java installation help! Message-ID: <82B55BD8-245C-4003-A274-E7A04EF49C96@ultra-secure.de> In-Reply-To: <CAEhp90d3=n0Ywf7o=1NLwdG0sqrkuERGj0ZiqCgDkX_Tpm9s2A@mail.gmail.com> References: <CAEhp90dB%2BxM4%2B39Hz7Ed_m=BqixZzbgZkewv3vDqAVD-9eLoPg@mail.gmail.com> <F8A86A46-6B12-4B41-981C-3DB21787F72C@yahoo.de> <CAEhp90dFDaZ7q4dQFaMWQXNodbWn6ehwSpaXFTR65bp7PnYbxQ@mail.gmail.com> <8F694237-917D-4E7F-9502-CBD676242E3C@ultra-secure.de> <CAEhp90e%2BD4Jdt-KWuuwH%2BDy_3Q7ikXrVkwMqckWzPc72DW8PJA@mail.gmail.com> <CAEhp90d3=n0Ywf7o=1NLwdG0sqrkuERGj0ZiqCgDkX_Tpm9s2A@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Am 20.06.2013 um 20:28 schrieb Kavitha H Yogaraj <ykavitha@uw.edu>: > In my second step, when I run, I get couldn't find package, How to = install all these packages individually ? is there a way to install all = of them manually? >=20 >=20 > # pkg_add = ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-9.1-release//java/o= penjdk-7.9.05_1.tbz >=20 > I get ---- >=20 > Fetching = ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-9.1-release//java/o= penjdk-7.9.05_1.tbz... Done. > Fetching = ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-9.1-release//All/xe= xtproto-7.2.0.tbz... Done. > Fetching = ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-9.1-release//All/re= nderproto-0.11.1.tbz... Done. > Fetching = ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-9.1-release//All/re= cordproto-1.14.1.tbz... Done. > Fetching = ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-9.1-release//All/kb= proto-1.0.5.tbz... Done. > Fetching = ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-9.1-release//All/in= putproto-2.0.2.tbz... Done. > Fetching = ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-9.1-release//All/ja= vavmwrapper-2.4_2.tbz... Done. > Fetching = ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-9.1-release//All/ja= va-zoneinfo-2012.h.tbz... Done. > Fetching = ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-9.1-release//All/pk= gconf-0.8.9.tbz... Done. > pkg_add: package 'pkgconf-0.8.9' conflicts with pkg-config-0.25_1 > pkg_add: please use pkg_delete first to remove conflicting package(s) = or -f to force installation > pkg_add: pkg_add of dependency 'pkgconf-0.8.9' failed! > Fetching = ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-9.1-release//All/xp= roto-7.0.22.tbz... Done. That's a problem. You already have some packages installed, but the latest openjdk7 = package (which was compiled for a newer version but should in theory run = on 9.0) requires newer versions of some of the packages you have = installed. My suggestion would be to remove all packages, update to 9.1 and use = pkgng. Make a list of the packages that you actually want to have installed. Then: pkg_delete -fa freebsd-update -r 9.1-RELEASE upgrade (it will then most likely try to merge some configuration-files - it's = usually best to just go with the suggestions) then freebsd-update install reboot freebsd-update install reboot pkg_add = ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-9.1-release//ports-= mgmt/pkg-1.0.2.tbz run pkg2ng echo "WITH_PKGNG=3Dyes" >> /etc/make.conf and then follow the instructions here: = http://wiki.pcbsd.org/index.php/Convert_a_FreeBSD_System_to_PC-BSD=AE#Swit= ching_to_the_PC-BSD.C2.AE_pkgng_Repository (you don't need to run pkg upgrade -fa, when you don't have any packages = installed) Then, after you have configured the PCBSD pkgng-repository you can = install stuff by pkg search "your stuff" pkg install "exact name as returned by search" see here: = http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/pkgng-intro.html= For further instructions. It works close enough to apt-get that most people should be able to use = it... I admit I've never used the PCBSD repository. But as it has been = suggested previously, I assume it's sufficiently useful. I looked and they seem to have an OpenJDK7 package=85. Regards, Rainer
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?82B55BD8-245C-4003-A274-E7A04EF49C96>