← Back to team overview

openjdk team mailing list archive

[Bug 1724600] Re: package openjdk-9-jre-headless (not installed) failed to install/upgrade: cannot copy extracted data for './usr/lib/jvm/java-9-openjdk-i386/jmods/java.base.jmod' to '/usr/lib/jvm/java-9-openjdk-i386/jmods/java.base.jmod.dpkg-new': unexpected end of file or stream

 

Thank you for taking the time to report this bug and helping to make
Ubuntu better.  It seems that there was an error on your system when
trying to install a particular package.  Please execute the following
command, as it will clear your package cache, in a terminal:

sudo apt-get clean

Then try performing the update again.  This will likely resolve your
issue, but the failure could be caused by filesystem or memory
corruption.  So please also run a fsck on your filesystem(s) and a
memory test.  Thanks in advance!

[This is an automated message.  I apologize if it reached you
inappropriately; please just reply to this message indicating so.]

** Tags added: corrupted-package

** Changed in: openjdk-9 (Ubuntu)
       Status: New => Invalid

-- 
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/1724600

Title:
  package openjdk-9-jre-headless (not installed) failed to
  install/upgrade: cannot copy extracted data for
  './usr/lib/jvm/java-9-openjdk-i386/jmods/java.base.jmod' to
  '/usr/lib/jvm/java-9-openjdk-i386/jmods/java.base.jmod.dpkg-new':
  unexpected end of file or stream

Status in openjdk-9 package in Ubuntu:
  Invalid

Bug description:
  sudo apt-get install openjdk-9-jre-headless
  Reading package lists... Done
  Building dependency tree       
  Reading state information... Done
  The following additional packages will be installed:
    ca-certificates-java
  Suggested packages:
    fonts-dejavu-extra fonts-ipafont-gothic fonts-ipafont-mincho
    ttf-wqy-microhei | ttf-wqy-zenhei fonts-indic
  The following NEW packages will be installed:
    ca-certificates-java openjdk-9-jre-headless
  0 upgraded, 2 newly installed, 0 to remove and 589 not upgraded.
  Need to get 236 MB of archives.
  After this operation, 363 MB of additional disk space will be used.
  Do you want to continue? [Y/n] y
  Get:1 http://id.archive.ubuntu.com/ubuntu xenial/main i386 ca-certificates-java all 20160321 [12,9 kB]
  Get:2 http://id.archive.ubuntu.com/ubuntu xenial/universe i386 openjdk-9-jre-headless i386 9~b114-0ubuntu1 [236 MB]
  Fetched 236 MB in 20min 19s (194 kB/s)                                         
  Selecting previously unselected package ca-certificates-java.
  (Reading database ... 172357 files and directories currently installed.)
  Preparing to unpack .../ca-certificates-java_20160321_all.deb ...
  Unpacking ca-certificates-java (20160321) ...
  Selecting previously unselected package openjdk-9-jre-headless:i386.
  Preparing to unpack .../openjdk-9-jre-headless_9~b114-0ubuntu1_i386.deb ...
  Unpacking openjdk-9-jre-headless:i386 (9~b114-0ubuntu1) ...
  dpkg-deb (subprocess): decompressing archive member: lzma error: compressed data is corrupt
  dpkg-deb: error: subprocess <decompress> returned error exit status 2
  dpkg: error processing archive /var/cache/apt/archives/openjdk-9-jre-headless_9~b114-0ubuntu1_i386.deb (--unpack):
   cannot copy extracted data for './usr/lib/jvm/java-9-openjdk-i386/jmods/java.base.jmod' to '/usr/lib/jvm/java-9-openjdk-i386/jmods/java.base.jmod.dpkg-new': unexpected end of file or stream
  Processing triggers for ca-certificates (20160104ubuntu1) ...
  Updating certificates in /etc/ssl/certs...
  0 added, 0 removed; done.
  Running hooks in /etc/ca-certificates/update.d...
  done.
  Errors were encountered while processing:
   /var/cache/apt/archives/openjdk-9-jre-headless_9~b114-0ubuntu1_i386.deb
  E: Sub-process /usr/bin/dpkg returned an error code (1)

  ProblemType: Package
  DistroRelease: Ubuntu 16.04
  Package: openjdk-9-jre-headless (not installed)
  ProcVersionSignature: Ubuntu 4.4.0-21.37-generic 4.4.6
  Uname: Linux 4.4.0-21-generic i686
  ApportVersion: 2.20.1-0ubuntu2
  AptOrdering:
   ca-certificates-java: Install
   openjdk-9-jre-headless: Install
   ca-certificates-java: Configure
   openjdk-9-jre-headless: Configure
   NULL: ConfigurePending
  Architecture: i386
  Date: Wed Oct 18 22:11:51 2017
  ErrorMessage: cannot copy extracted data for './usr/lib/jvm/java-9-openjdk-i386/jmods/java.base.jmod' to '/usr/lib/jvm/java-9-openjdk-i386/jmods/java.base.jmod.dpkg-new': unexpected end of file or stream
  InstallationDate: Installed on 2017-10-17 (0 days ago)
  InstallationMedia: Ubuntu 16.04 LTS "Xenial Xerus" - Release i386 (20160420.1)
  RelatedPackageVersions:
   dpkg 1.18.4ubuntu1.2
   apt  1.2.10ubuntu1
  SourcePackage: openjdk-9
  Title: package openjdk-9-jre-headless (not installed) failed to install/upgrade: cannot copy extracted data for './usr/lib/jvm/java-9-openjdk-i386/jmods/java.base.jmod' to '/usr/lib/jvm/java-9-openjdk-i386/jmods/java.base.jmod.dpkg-new': unexpected end of file or stream
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/openjdk-9/+bug/1724600/+subscriptions


References