Bug#291145: sun-j2re1.5 depends on sun-j2re1.5debian and sun-j2re1.5debian depends on sun-j2re1.5

Loïc Minier Loïc Minier , 291145@bugs.debian.org
Wed Jan 19 03:24:03 2005


severity 291145 normal
thanks

        Hi,

Lawrence Williams <lawrence_cecil_williams@hotmail.com> - Tue, Jan 18, 2005:

> For whatever reason, the java packages created with java-package and th=
e 
> packages containing the debian-specific stuff ( like Firefox 
> integration, etc. ) cause a cyclinic dependency problem.
> In my case, sun-j2re1.5 depends on sun-j2re1.5debian and 
> sun-j2re1.5debian depends on sun-j2re1.5.

 There's no problem with cyclic dependencies, you just have to make sure
 you install or remove both packages at the same time, or you have to
 take two steps.

 I just tried building jdk 1.5.0 update 1, and got a .deb, then did:
    dpkg -i sun-j2sdk1.5_1.5.0+update01_i386.deb
    apt-get install sun-j2sdk1.5debian

 Please use this procedure to install your JDK package.

 I do agree the process is confusing because you get warnings when
 dpkg'ing, and an error if you apt-get first.

 The problem is with mixing different methods of installation: apt-get
 and dpkg.  If you had a repository of the generated Debian packages, it
 wouldn't be a problem to "apt-get install sun-j2sdk1.5
 sun-j2sdk1.5debian", or if you had downloaded
 sun-j2sdk1.5debian_0.18_all.deb, it wouldn't be a problem to dpkg -i
 both packages, and you wouldn't get any warning.

 So either the tools (dpkg and apt-get) are not featured enough for you,
 or the current clean procedure is too complex for you.

 For your information, this could disappear quite soon since Joshua Kwan
 announced in the alioth-pkg-java-maintainers list that a newer
 make-jpkg would generate packages not depending on the sun-*debian
 stuff anymore.  I suppose we will then close your bug.

   Regards,

PS: don't abuse bug severities, bugs with severity set higher than
important are considered Release Critical, and we have to know when it
really matters, or we can't fix bugs.
-- 
Loïc Minier <lool@dooz.org>
"Neutral President: I have no strong feelings one way or the other."