← Back to team overview

openjdk team mailing list archive

Bug#897411: openjdk-10-jre-headless: classes.jsa is not removed on package uninstall

 

Package: openjdk-10-jre-headless
Version: 10.0.1+10-3
Severity: normal

File /usr/lib/jvm/java-10-openjdk-amd64/lib/server/classes.jsa
is created by postinst script and not removed when the package
is uninstalled, and even purged.

# apt remove --purge openjdk-10-jre-headless
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages will be REMOVED:
  openjdk-10-jdk* openjdk-10-jdk-headless* openjdk-10-jre*
  openjdk-10-jre-headless*
0 upgraded, 0 newly installed, 4 to remove and 38 not upgraded.
[...]
Purging configuration files for openjdk-10-jre-headless:amd64 (10.0.1+10-3) ...
dpkg: warning: while removing openjdk-10-jre-headless:amd64, directory '/usr/lib/jvm/java-10-openjdk-amd64/lib/server' not empty so not removed

# ls -l /usr/lib/jvm/java-10-openjdk-amd64/lib/server
total 17776
-r--r--r-- 1 root root 18202624 2018-05-02 10:00:23 classes.jsa

Apparently the same bug as in openjdk-9-jre-headless:

  https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=873254

-- System Information:
Debian Release: buster/sid
  APT prefers unstable-debug
  APT policy: (500, 'unstable-debug'), (500, 'stable-updates'), (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

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

Versions of packages openjdk-10-jre-headless depends on:
ii  ca-certificates-java  20180413
ii  java-common           0.65
ii  libc6                 2.27-3
ii  libcups2              2.2.7-3
ii  libfreetype6          2.6.3-3.2
ii  libgcc1               1:8-20180425-1
ii  libjpeg62-turbo       1:1.5.2-2+b1
ii  liblcms2-2            2.9-1
ii  libnss3               2:3.36.1-1
ii  libpcsclite1          1.8.23-2
ii  libstdc++6            8-20180425-1
ii  libx11-6              2:1.6.5-1
ii  libxext6              2:1.3.3-1+b2
ii  libxi6                2:1.7.9-1
ii  libxrender1           1:0.9.10-1
ii  libxtst6              2:1.2.3-1
ii  util-linux            2.31.1-0.5
ii  zlib1g                1:1.2.11.dfsg-1

openjdk-10-jre-headless recommends no packages.

Versions of packages openjdk-10-jre-headless suggests:
ii  fonts-dejavu-extra                     2.37-1
pn  fonts-indic                            <none>
ii  fonts-ipafont-gothic                   00303-18
ii  fonts-ipafont-mincho                   00303-18
pn  fonts-wqy-microhei | fonts-wqy-zenhei  <none>
ii  libnss-mdns                            0.14.1-1

-- no debconf information