Bug#1143265: openjdk-28-jre fails to install with openjdk-27-jre (file conflict)

[email protected]
Newsgroups gmane.linux.debian.devel.bugs.rc
Message-ID <178560943086.22712.8390951657608689672.reportbug__40593.0016700708$1785609559$gmane$org@horsey-guy-debian-lenovo>
Package: openjdk-28-jre
Version: 28~9ea-1
Severity: serious
Justification: Policy 7.6.1
X-Debbugs-Cc: [email protected]

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Dear Maintainer,
While attempting to install openjdk-28-jre with `sudo apt install openjdk-28-jre` alongside openjdk-27-jre, apt returns with an error:
```
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)
Selecting previously unselected package openjdk-28-jre:amd64.
Preparing to unpack …/openjdk-28-jre_28~9ea-1_amd64.deb…
Unpacking openjdk-28-jre:amd64 (28~9ea-1)…
Errors were encountered while processing:
 /var/cache/apt/archives/openjdk-28-jre-headless_28~9ea-1_amd64.deb
needrestart is being skipped since dpkg has failed
Error: Sub-process /usr/bin/dpkg returned an error code (1)
```

- -- System Information:
Debian Release: forky/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 7.2-amd64 (SMP w/12 CPU threads; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages openjdk-28-jre depends on:
ii  libasound2t64            1.2.16.1-1
ii  libc6                    2.43-2
ii  libcups2t64              2.4.18-1
ii  libfontconfig1           2.17.1-5
ii  libfreetype6             2.14.3+dfsg-2
ii  libgcc-s1                16.1.0-3
ii  libgif7                  6.1.3-1
ii  libgl1                   1.7.0-3+b1
ii  libglib2.0-0t64          2.89.3-2
ii  libgtk-3-0t64            3.24.52-1
ii  libharfbuzz0b            12.3.2-2+b2
ii  libjpeg62-turbo          1:3.1.3-4
ii  libpng16-16t64           1.6.58-1
ii  libstdc++6               16.1.0-3
ii  libx11-6                 2:1.8.13-1
ii  libxext6                 2:1.3.4-1+b4
ii  libxi6                   2:1.8.2-2+b1
ii  libxinerama1             2:1.1.4-3+b5
ii  libxrandr2               2:1.5.4-1+b4
ii  libxrender1              1:0.9.12-1+b2
ii  libxtst6                 2:1.2.5-1+b2
pn  openjdk-28-jre-headless  <none>
ii  zlib1g                   1:1.3.dfsg+really1.3.2-3

Versions of packages openjdk-28-jre recommends:
ii  fonts-dejavu-extra       2.37-9
ii  libatk-wrapper-java-jni  0.44.0-1+b1

openjdk-28-jre suggests no packages.

- -- no debconf information
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.