openjdk team mailing list archive
-
openjdk team
-
Mailing list archive
-
Message #13068
[Bug 1741060] Re: openjdk-9-source screws up installations containing openjdk-9-jdk
Similar:
https://bugs.launchpad.net/ubuntu/+source/openjdk-9/+bug/1770646
--
You received this bug notification because you are a member of OpenJDK,
which is subscribed to openjdk-9 in Ubuntu.
https://bugs.launchpad.net/bugs/1741060
Title:
openjdk-9-source screws up installations containing openjdk-9-jdk
Status in openjdk-9 package in Ubuntu:
Confirmed
Bug description:
xenial: Linux ares 4.4.0-78-generic #99-Ubuntu SMP Thu Apr 27 15:29:09
UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
If one tries to install openjdk-9-source as well as openjdk-9-jdk, installation breaks because a) both packages have a /usr/lib/jvm/java-9-openjdk-amd64/include/linux/jawt_md.h (root cause) and b) apt-get stops to configure all remaining packages (2nd bug).
E.g.:
# chroot /zones/lubdev/rootfs apt-get install --force-yes -m -y --no-install-recommends alien ant apache2-dev apt-file automake bc bison build-essential:native byacc cmake curl dc default-jdk devscripts dh-make docbook docbook-xml docbook-xsl docbook-xsl-ns docbook5-xml doxygen dput elfutils fakeroot flex fonts-liberation g++ gcc gdb gfortran-multilib ghostscript git glibc-doc gnupg2 info junit kdelibs5-dev libapr1-dev libaprutil1-dev libbsd-dev libdb5.3-dev libdbus-1-dev libgnome-keyring-dev libldap2-dev liblockfile-dev libltdl-dev libnss-sss libpam-sss libperl-dev libreadline6 libsasl2-dev libserf-dev libsqlite3-dev libssl-dev libtool libxalan2-java libxml2-utils libxsltc-java lintian make man-db manpages-dev manpages-posix-dev mercurial openjdk-8-jdk openjdk-8-source openjdk-9-jdk openjdk-9-source pbuilder postgresql postgresql-doc python-all-dbg python-all-dev python-bzrlib python-paramiko quilt rpm rpmlint ruby ruby-dev sssd-ldap sssd-tools subversion swig texinfo texlive-fonts-recommended texlive-latex-base texlive-latex-extra xsltproc
...
10 upgraded, 575 newly installed, 0 to remove and 66 not upgraded.
Need to get 657 MB/675 MB of archives.
After this operation, 2,015 MB of additional disk space will be used.
...
Errors were encountered while processing:
/var/cache/apt/archives/openjdk-9-jdk_9~b114-0ubuntu1_amd64.deb
W: --force-yes is deprecated, use one of the options starting with --allow instead.
E: Sub-process /usr/bin/dpkg returned an error code (1)
# chroot /zones/lubdev/rootfs apt-get install openjdk-9-jdk
Reading package lists... Done
Building dependency tree
Reading state information... Done
Suggested packages:
openjdk-9-demo visualvm
Recommended packages:
libxt-dev
The following NEW packages will be installed:
openjdk-9-jdk
0 upgraded, 1 newly installed, 0 to remove and 67 not upgraded.
569 not fully installed or removed.
Need to get 16.6 kB of archives.
After this operation, 58.4 kB of additional disk space will be used.
Get:1 http://de.archive.ubuntu.com/ubuntu xenial/universe amd64 openjdk-9-jdk amd64 9~b114-0ubuntu1 [16.6 kB]
Fetched 16.6 kB in 0s (253 kB/s)
(Reading database ... 69700 files and directories currently installed.)
Preparing to unpack .../openjdk-9-jdk_9~b114-0ubuntu1_amd64.deb ...
Unpacking openjdk-9-jdk:amd64 (9~b114-0ubuntu1) ...
dpkg: error processing archive /var/cache/apt/archives/openjdk-9-jdk_9~b114-0ubuntu1_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~b114-0ubuntu1
Errors were encountered while processing:
/var/cache/apt/archives/openjdk-9-jdk_9~b114-0ubuntu1_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
Not really related but for completeness the initial content of the miniroot in /zones/lubdev/rootfs:
acl adduser apt apt-utils autofs base-files base-passwd bash binfmt-
support bsdutils busybox-initramfs bzip2 ca-certificates console-setup
console-setup-linux coreutils cpio cron dash debconf debianutils dh-
python diffutils distro-info-data dpkg e2fslibs:amd64 e2fsprogs ed
eject file findutils gawk gcc-5-base:amd64 gcc-6-base:amd64 gnupg gpgv
grep gzip hostname ifupdown init init-system-helpers initramfs-tools
initramfs-tools-bin initramfs-tools-core initscripts insserv iproute2
iptables iputils-ping kbd keyboard-configuration keyutils klibc-utils
kmod ksh ldap-utils less libacl1:amd64 libapparmor1:amd64 libapt-
inst2.0:amd64 libapt-pkg5.0:amd64 libasn1-8-heimdal:amd64
libatm1:amd64 libattr1:amd64 libaudit-common libaudit1:amd64
libblkid1:amd64 libbsd0:amd64 libbz2-1.0:amd64 libc-bin libc6:amd64
libcap-ng-utils libcap-ng0:amd64 libcap2:amd64 libcap2-bin
libcomerr2:amd64 libcryptsetup4:amd64 libdb5.3:amd64
libdebconfclient0:amd64 libdevmapper1.02.1:amd64 libdns-export162
libedit2:amd64 libestr0 libevent-2.0-5:amd64 libexpat1:amd64
libfdisk1:amd64 libffi6:amd64 libfribidi0:amd64 libgcc1:amd64
libgcrypt20:amd64 libgmp10:amd64 libgnutls-openssl27:amd64
libgnutls30:amd64 libgpg-error0:amd64 libgpm2:amd64 libgssapi-
krb5-2:amd64 libgssapi3-heimdal:amd64 libhcrypto4-heimdal:amd64
libheimbase1-heimdal:amd64 libheimntlm0-heimdal:amd64
libhogweed4:amd64 libhx509-5-heimdal:amd64 libicu55:amd64
libidn11:amd64 libisc-export160 libjson-c2:amd64 libk5crypto3:amd64
libkeyutils1:amd64 libklibc libkmod2:amd64 libkrb5-26-heimdal:amd64
libkrb5-3:amd64 libkrb5support0:amd64 libldap-2.4-2:amd64 liblocale-
gettext-perl liblockfile-bin liblockfile1:amd64 liblz4-1:amd64
liblzma5:amd64 libmagic1:amd64 libmnl0:amd64 libmount1:amd64
libmpdec2:amd64 libmpfr4:amd64 libncurses5:amd64 libncursesw5:amd64
libnetfilter-acct1:amd64 libnetfilter-conntrack3:amd64 libnetfilter-
log1:amd64 libnettle6:amd64 libnewt0.52:amd64 libnfnetlink0:amd64
libnfsidmap2:amd64 libnih1:amd64 libp11-kit0:amd64 libpam-
modules:amd64 libpam-modules-bin libpam-runtime libpam0g:amd64
libpcre3:amd64 libpipeline1:amd64 libpng12-0:amd64 libpopt0:amd64
libprocps4:amd64 libpython3-stdlib:amd64 libpython3.5:amd64
libpython3.5-minimal:amd64 libpython3.5-stdlib:amd64
libreadline6:amd64 libroken18-heimdal:amd64 libsasl2-2:amd64 libsasl2
-modules-db:amd64 libseccomp2:amd64 libselinux1:amd64 libsemanage-
common libsemanage1:amd64 libsepol1:amd64 libsigsegv2:amd64
libslang2:amd64 libsmartcols1:amd64 libsqlite3-0:amd64 libss2:amd64
libssl1.0.0:amd64 libstdc++6:amd64 libsystemd0:amd64 libtasn1-6:amd64
libtext-charwidth-perl libtext-iconv-perl libtext-wrapi18n-perl
libtinfo5:amd64 libtirpc1:amd64 libudev1:amd64 libusb-0.1-4:amd64
libustr-1.0-1:amd64 libuuid1:amd64 libwind0-heimdal:amd64
libwrap0:amd64 libxml2:amd64 libxtables11:amd64 linux-base locales
login logrotate lsb-base lsb-release lsof m4 makedev mime-support
mount multiarch-support ncurses-base ncurses-bin net-tools netbase
netcat-openbsd nfs-common openssh-client openssh-server openssh-sftp-
server openssl passwd patch perl-base procmail procps python3
python3-minimal python3.5 python3.5-minimal readline-common resolvconf
rpcbind rsyslog sed sensible-utils ssh strace systemd systemd-sysv
sysv-rc sysvinit-utils tar tcsh tzdata ubuntu-keyring ucf udev ulogd2
util-linux vim vim-common vim-runtime vim-tiny whiptail xkb-data xz-
utils zlib1g:amd64
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/openjdk-9/+bug/1741060/+subscriptions
References