← Back to team overview

openjdk team mailing list archive

Bug#600664: Bug#600664: openjdk-6-jre-lib: unable to remove package (circular dependency on openjdk-6-jre-headless?)

 

On Fri, Oct 22, 2010 at 12:31 AM, Michael Gilbert wrote:
> severity serious
> thanks
>
> On Thu, Oct 21, 2010 at 12:59 AM, Matthias Klose wrote:
>> even this scenario is not reproducible for me in a fresh sid chroot. No, the
>> question whether this is reproducible for other people or in a fresh chroot
>> is not answered. The removal of these packages on the buildd machines does
>> succeed too.
>
> reproduced with a fresh sid chroot:
>
> $ sudo debootstrap sid ./sid-chroot http://ftp.us.debian.org/debian/
> [...]

$ sudo mount -o bind /proc ./sid-chroot/proc/

> $ sudo chroot ./sid-chroot apt-get update
> [...]
> $ sudo chroot ./sid-chroot apt-get install openjdk-6-jre-lib
> [...]
> $ sudo chroot ./sid-chroot apt-get install openjdk-6-jre
> [...]
> $ sudo chroot ./sid-chroot apt-get purge openjdk-6-jre-lib
> Reading package lists... Done
> Building dependency tree
> Reading state information... Done
> Some packages could not be installed. This may mean that you have
> requested an impossible situation or if you are using the unstable
> distribution that some required packages have not yet been created
> or been moved out of Incoming.
> The following information may help to resolve the situation:
> The following packages have unmet dependencies:
>  openjdk-6-jre-headless : Depends: openjdk-6-jre-lib (>= 6b18-1.8.2-4)
> but it is not going to be installed
>                          Depends: ca-certificates-java but it is not
> going to be installed
>                          Recommends: icedtea-6-jre-cacao (=
> 6b18-1.8.2-4) but it is not going to be installed
> E: Broken packages

i forgot to include the command to mount /proc, which is needed to
reproduce this.  see above.  i'm sure you already know how to do that
anyway...

mike





References