Package: openjdk-28-jdk
Version: 28~9ea-1
Severity: normal
Dear Maintainer,
*** Reporter, please consider answering these questions, where appropriate ***
* What led up to the situation?
sudo apt-get install openjdk-28-jre-headless
* What exactly did you do (or not do) that was effective (or
ineffective)?
trying to install the -28-jdk while having -27-jdk around
* What was the outcome of this action?
mc36@noti:~$ sudo apt-get install openjdk-28-jre-headless
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Solving dependencies... Done
Suggested packages:
fonts-ipafont-gothic fonts-ipafont-mincho fonts-indic
The following NEW packages will be installed:
openjdk-28-jre-headless
0 upgraded, 1 newly installed, 0 to remove and 12 not upgraded.
6 not fully installed or removed.
Need to get 0 B/51.2 MB of archives.
After this operation, 243 MB of additional disk space will be used.
(Reading database… 787075 files and directories currently installed.)
Preparing to unpack …/openjdk-28-jre-headless_28~9ea-1_amd64.deb…
Unpacking openjdk-28-jre-headless:amd64 (28~9ea-1)…
dpkg: error processing archive /var/cache/apt/archives/openjdk-28-jre-
headless_28~9ea-1_amd64.deb (--unpack):
trying to overwrite '/usr/share/bash-completion/completions/jcmd', which is
also in package openjdk-27-jre-headless:amd64 (27~30ea-1)
Errors were encountered while processing:
/var/cache/apt/archives/openjdk-28-jre-headless_28~9ea-1_amd64.deb
Error: GDBus.Error:org.freedesktop.systemd1.UnitMasked: Unit packagekit.service
is masked.
E: Sub-process /usr/bin/dpkg returned an error code (1)
mc36@noti:~$
* What outcome did you expect instead?
-28- should install regardless if i have -27- hanging around
*** End of the template - remove these template lines ***
-- System Information:
Debian Release: forky/sid
APT prefers unstable
APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 7.1.5+deb14-amd64 (SMP w/12 CPU threads; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages openjdk-28-jdk depends on:
ii libc6 2.42-17
iu openjdk-28-jdk-headless 28~9ea-1
iu openjdk-28-jre 28~9ea-1
Versions of packages openjdk-28-jdk recommends:
ii libxt-dev 1:1.2.1-1.3+b2
Versions of packages openjdk-28-jdk suggests:
iu openjdk-28-demo 28~9ea-1
iu openjdk-28-source 28~9ea-1
ii visualvm 2.2-1
-- no debconf information