[Bug 2019961] [NEW] [Upgrade from openjdk-11 to openjdk-17] update-binfmts: warning: current package is openjdk-17, but binary format already installed by openjdk-11
fprietog
2019961 at bugs.launchpad.net
Wed May 17 13:25:25 UTC 2023
Public bug reported:
Summary:
--------
There is a warning when upgrading from Ubuntu 22.10 (openjdk-11) to Ubuntu 23.04 (openjdk-17):
update-binfmts: warning: current package is openjdk-17, but binary
format already installed by openjdk-11
It happens only if you have the package binfmt-support installed and
you're upgrading the package openjdk-17-jre-headless from it's
openjdk-11 counterpart.
There is the info shown by update-binfmts command:
# update-binfmts --display
jar (enabled):
package = openjdk-11
type = magic
offset = 0
magic = PK\x03\x04
mask =
interpreter = /usr/bin/jexec
detector =
Workaround:
-----------
This workaround is not necessary because it still works for openjdk-17, but it avoid the warning every time openjdk is upgraded again:
- Remove the openjdk-11 entry using this command:
# update-binfmts --package openjdk-11 --remove jar /usr/bin/jexec
- Reinstall the package "openjdk-17-jre-headless". Now the update-
binfmts command will shown the info updated to openjdk-17:
# update-binfmts --display
jar (enabled):
package = openjdk-17
type = magic
offset = 0
magic = PK\x03\x04
mask =
interpreter = /usr/bin/jexec
detector =
** Affects: openjdk-17 (Ubuntu)
Importance: Undecided
Status: New
** Tags: binfmt-support lunar openjdk-17 update-binfmts
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to openjdk-17 in Ubuntu.
https://bugs.launchpad.net/bugs/2019961
Title:
[Upgrade from openjdk-11 to openjdk-17] update-binfmts: warning:
current package is openjdk-17, but binary format already installed by
openjdk-11
Status in openjdk-17 package in Ubuntu:
New
Bug description:
Summary:
--------
There is a warning when upgrading from Ubuntu 22.10 (openjdk-11) to Ubuntu 23.04 (openjdk-17):
update-binfmts: warning: current package is openjdk-17, but binary
format already installed by openjdk-11
It happens only if you have the package binfmt-support installed and
you're upgrading the package openjdk-17-jre-headless from it's
openjdk-11 counterpart.
There is the info shown by update-binfmts command:
# update-binfmts --display
jar (enabled):
package = openjdk-11
type = magic
offset = 0
magic = PK\x03\x04
mask =
interpreter = /usr/bin/jexec
detector =
Workaround:
-----------
This workaround is not necessary because it still works for openjdk-17, but it avoid the warning every time openjdk is upgraded again:
- Remove the openjdk-11 entry using this command:
# update-binfmts --package openjdk-11 --remove jar /usr/bin/jexec
- Reinstall the package "openjdk-17-jre-headless". Now the update-
binfmts command will shown the info updated to openjdk-17:
# update-binfmts --display
jar (enabled):
package = openjdk-17
type = magic
offset = 0
magic = PK\x03\x04
mask =
interpreter = /usr/bin/jexec
detector =
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/openjdk-17/+bug/2019961/+subscriptions
More information about the foundations-bugs
mailing list