Package: dpkg
Version: 1.14.5
Followup-For: Bug #423176

Hi, I think I'm having a similar problem. I got it when installing
sun-java6-jre. As my /usr is quite full, i couldn't install
sun-java6-jre without removing sun-java5-jre first. That left all java
alternatives still pointing to the java5 files. Here is what happens
once alternatives are fixed and I want to install back java5 instead of
java6:

namakemono:~# update-alternatives --config java

There is only 1 program which provides java
(/usr/lib/jvm/java-6-sun/jre/bin/java). Nothing to configure.
namakemono:~# apt-get remove --purge sun-java6-jre
(...)
namakemono:~# readlink /etc/alternatives/java
/usr/lib/jvm/java-6-sun/jre/bin/java
namakemono:~# update-alternatives --config java

There is no program which provides java.
Nothing to configure.

namakemono:~# apt-get install sun-java5-jre
(...)
namakemono:~# readlink /etc/alternatives/java
/usr/lib/jvm/java-6-sun/jre/bin/java
namakemono:~# update-alternatives --config java

There is only 1 program which provides java
(/usr/lib/jvm/java-1.5.0-sun/jre/bin/java). Nothing to configure.


Only when I run update-alternatives --auto java does the alternatives point
to the java5 files:

namakemono:~# update-alternatives --auto java
namakemono:~# readlink /etc/alternatives/java
/usr/lib/jvm/java-1.5.0-sun/jre/bin/java

After that I can go back to java6 the same way and still get stuck with
links to java5 until i run update-alternatives --auto java

Mike

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.21-1-686 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages dpkg depends on:
ii  coreutils                     5.97-5.3   The GNU core utilities
ii  libc6                         2.6-2      GNU C Library: Shared libraries

dpkg recommends no packages.

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to