Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 18 Apr 2005 11:47:29 -0400
From:      Louis LeBlanc <FreeBSD@keyslapper.net>
To:        FreeBSD Questions <freebsd-questions@FreeBSD.org>
Subject:   hosed the jdk15 port in the pkg db
Message-ID:  <20050418154729.GD72730@keyslapper.net>

next in thread | raw e-mail | index | archive | help

--h31gzZEtNLTqOjlF
Content-Type: text/plain; charset=iso-8859-1
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Hey fellow FreeBSD users.

I've just returned from a week off, and must have left my brain in
Orlando, because I can't for the life of me figure out how to fix this
problem.

Upon my return, I upgraded my ports tree, and noticed that portaudit
had several new packages listed with security issues.  Including
jdk1.5 and portupgrade.

Well, as usual, I unset JAVA_HOME and ran the portupgrade on jdk and
several other packages listed.  As always, I used the -RN flags to
make sure any dependencies were upgraded as well.  I saved the
majority of packages to upgrade a little at a time.

They all went off without a hitch, except for the jdk15 port.  The
portupgrade port upgraded first, but I don't imagine the new tool is
the one used in the subsequent upgrades.  Normally, I upgrade
portupgrade first on its own, but this time I didn't.

Now, I have several stale dependencies for the jdk15 port.  The jdk
itself is there, but it's not registered.  I tried to force the
upgrade (portupgrade -fN) but it fails saying that
/usr/local/jdk1.5.0/bin/java is already registered - but not the
package.  I then tried pkg_info -W /usr/local/jdk1.5.0/bin/java, but
it comes back with no output.  pkg_which simply returns a '?'.

pkgdb -u doesn't seem to do anything.

So I've somehow bonked something quite thoroughly.  Any suggestions on
how best to fix this - preferably without deleting all or most of the
packages I have installed?

TIA

Lou
--=20
Louis LeBlanc                          FreeBSD-at-keyslapper-DOT-net
Fully Funded Hobbyist,                   KeySlapper Extrordinaire :)
Please send off-list email to:         leblanc at keyslapper d.t net
Key fingerprint =3D C5E7 4762 F071 CE3B ED51  4FB8 AF85 A2FE 80C8 D9A2

Bunker's Admonition:
  You cannot buy beer; you can only rent it.

--h31gzZEtNLTqOjlF
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (FreeBSD)

iD8DBQFCY9aRr4Wi/oDI2aIRAsoDAJwLmcjNouqm9eLiIybgAvfGtvEMJwCgjAWB
A02OVZIQTMmz3DAltqIv/U0=
=jiQu
-----END PGP SIGNATURE-----

--h31gzZEtNLTqOjlF--



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