Packages dependent on sun-java6-jre that use the JVM in postinst fail
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
sun-java6 (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Reproduced on Ubuntu 11.04 x64, with sun-java6-jre and sun-java6-bin package version 6.26-1natty1.
Expected: Installing a custom package with a dependency of sun-java6-jre and a postinst trigger that uses the JVM should work.
Actual: Failed postinst trigger due to "Error: could not open `/usr/lib/
Cause: Because of the circular dependency between sun-java6-jre and sun-java6-bin, the JVM config files (in particular /etc/java-