Debian Bug report logs -
#820023
openjdk-9-jdk,openjdk-9-jdk-headless: error when trying to install together
Reported by: Andreas Beckmann <anbe@debian.org>
Date: Mon, 4 Apr 2016 20:24:07 UTC
Severity: serious
Found in versions 9~b112-2, openjdk-9/9~b113-1
Fixed in version 9~b144-1
Done: Matthias Klose <doko@ubuntu.com>
Bug is archived. No further changes may be made.
Toggle useless messages
Report forwarded
to debian-bugs-dist@lists.debian.org, OpenJDK Team <openjdk@lists.launchpad.net>:
Bug#820023; Package openjdk-9-jdk,openjdk-9-jdk-headless.
(Mon, 04 Apr 2016 20:24:11 GMT) (full text, mbox, link).
Acknowledgement sent
to Andreas Beckmann <anbe@debian.org>:
New Bug report received and forwarded. Copy sent to OpenJDK Team <openjdk@lists.launchpad.net>.
(Mon, 04 Apr 2016 20:24:11 GMT) (full text, mbox, link).
Message #5 received at submit@bugs.debian.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
Package: openjdk-9-jdk,openjdk-9-jdk-headless
Version: 9~b112-2
Severity: serious
User: treinen@debian.org
Usertags: edos-file-overwrite
Hi,
automatic installation tests of packages that share a file and at the
same time do not conflict by their package dependency relationships has
detected the following problem:
Selecting previously unselected package openjdk-9-jdk-headless:amd64.
Preparing to unpack .../openjdk-9-jdk-headless_9~b112-2_amd64.deb ...
Unpacking openjdk-9-jdk-headless:amd64 (9~b112-2) ...
Selecting previously unselected package openjdk-9-jdk:amd64.
Preparing to unpack .../openjdk-9-jdk_9~b112-2_amd64.deb ...
Unpacking openjdk-9-jdk:amd64 (9~b112-2) ...
dpkg: error processing archive /var/cache/apt/archives/openjdk-9-jdk_9~b112-2_amd64.deb (--unpack):
trying to overwrite '/usr/lib/jvm/java-9-openjdk-amd64/include/linux/jawt_md.h', which is also in package openjdk-9-jdk-headless:amd64 9~b112-2
Processing triggers for libc-bin (2.22-5) ...
Processing triggers for systemd (229-3) ...
Errors were encountered while processing:
/var/cache/apt/archives/openjdk-9-jdk_9~b112-2_amd64.deb
This is a serious bug as it makes installation fail, and violates
sections 7.6.1 and 10.1 of the policy. An optimal solution would
consist in only one of the packages installing that file, and renaming
or removing the file in the other package. Depending on the
circumstances you might also consider Replace relations or file
diversions. If the conflicting situation cannot be resolved then, as a
last resort, the two packages have to declare a mutual
Conflict. Please take into account that Replaces, Conflicts and
diversions should only be used when packages provide different
implementations for the same functionality.
Here is a list of files that are known to be shared by both packages
(according to the Contents file for sid/amd64, which may be
slightly out of sync):
usr/lib/jvm/java-9-openjdk-amd64/include/jawt.h
usr/lib/jvm/java-9-openjdk-amd64/include/linux/jawt_md.h
This bug is assigned to both packages. If you, the maintainers of
the two packages in question, have agreed on which of the packages will
resolve the problem please reassign the bug to that package. You may
also register in the BTS that the other package is affected by the bug.
Cheers,
Andreas
PS: for more information about the detection of file overwrite errors
of this kind see https://qa.debian.org/dose/file-overwrites.html
[openjdk-9-jdk=9~b112-2_openjdk-9-jdk-headless=9~b112-2.log.gz (application/gzip, attachment)]
Marked as found in versions openjdk-9/9~b113-1.
Request was from Andreas Beckmann <anbe@debian.org>
to control@bugs.debian.org.
(Wed, 20 Apr 2016 13:24:04 GMT) (full text, mbox, link).
Reply sent
to Matthias Klose <doko@ubuntu.com>:
You have taken responsibility.
(Tue, 29 Nov 2016 14:45:06 GMT) (full text, mbox, link).
Notification sent
to Andreas Beckmann <anbe@debian.org>:
Bug acknowledged by developer.
(Tue, 29 Nov 2016 14:45:06 GMT) (full text, mbox, link).
Message #12 received at 820023-done@bugs.debian.org (full text, mbox, reply):
Version: 9~b144-1
the openjdk-9 file conflicts are fixed.
Bug archived.
Request was from Debbugs Internal Request <owner@bugs.debian.org>
to internal_control@bugs.debian.org.
(Wed, 28 Dec 2016 07:25:43 GMT) (full text, mbox, link).
Send a report that this bug log contains spam.
Debian bug tracking system administrator <owner@bugs.debian.org>.
Last modified:
Sat Jan 6 16:04:50 2018;
Machine Name:
beach
Debian Bug tracking system
Debbugs is free software and licensed under the terms of the GNU
Public License version 2. The current version can be obtained
from https://bugs.debian.org/debbugs-source/.
Copyright © 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson,
2005-2017 Don Armstrong, and many other contributors.