Stale data on sun-java6 in /var/lib/binfmts/ after upgrade from Gutsy to Hardy

Bug #232303 reported by AleksanderAdamowski
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
binfmt-support (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

After the upgrade from Gutsy to Hardy, in /var/lib/binfmts/sun-java6 there's still java-6-sun-1.6.0.03 when in fact it's currently java-6-sun-1.6.0.06.

See below for details:

$ ls /proc/sys/fs/binfmt_misc
cli jar python2.4 python2.5 register status sun-java6 wine

$ cat /proc/sys/fs/binfmt_misc/sun-java6
enabled
interpreter /usr/share/binfmt-support/run-detectors
flags:
offset 0
magic 504b0304

$ /usr/share/binfmt-support/run-detectors /usr/lib/jvm/java-6-sun/lib/jconsole.jar
Can't exec "/usr/lib/jvm/java-6-sun-1.6.0.03/jre/lib/jexec": No such file or directory at /usr/share/binfmt-support/run-detectors line 103.
run-detectors: warning: unable to exec
/usr/lib/jvm/java-6-sun-1.6.0.03/jre/lib/jexec
(/usr/lib/jvm/java-6-sun/lib/jconsole.jar): No such file or directory

$ cat /var/lib/binfmts/sun-java6
sun-java6
magic
0
PK\x03\x04

/usr/lib/jvm/java-6-sun-1.6.0.03/jre/lib/jexec

$ ls /usr/lib/jvm/
java-1.5.0-gcj-4.2-1.5.0.0 java-6-sun java-6-sun-1.6.0.06 java-gcj

Revision history for this message
Colin Watson (cjwatson) wrote :

It looks like this has been renamed and not cleaned up properly by the package.

Can you show me the output of the following command?

  ls -l /usr/share/binfmts/; cat /var/lib/binfmts/jar

Changed in binfmt-support:
status: New → Confirmed
Revision history for this message
AleksanderAdamowski (aadamowski) wrote :

Here it is:

$ ls -l /usr/share/binfmts/; cat /var/lib/binfmts/jar
total 16
-rw-r--r-- 1 root root 96 2008-03-22 01:30 cli
lrwxrwxrwx 1 root root 30 2008-05-03 14:31 jar -> /etc/alternatives/jexec-binfmt
-rw-r--r-- 1 root root 72 2008-04-21 13:10 python2.4
-rw-r--r-- 1 root root 72 2008-04-21 14:28 python2.5
-rw-r--r-- 1 root root 48 2008-07-12 02:04 wine
sun-java6
magic
0
PK\x03\x04

/usr/lib/jvm/java-6-sun-1.6.0.06/jre/lib/jexec

While this is still incorrect:

$ cat /var/lib/binfmts/sun-java6
sun-java6
magic
0
PK\x03\x04

/usr/lib/jvm/java-6-sun-1.6.0.03/jre/lib/jexec

dino99 (9d9)
Changed in binfmt-support (Ubuntu):
status: Confirmed → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Related questions

Remote bug watches

Bug watches keep track of this bug in other bug trackers.