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
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
openjdk-9 (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
sudo apt-get install openjdk-
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
ca-certificat
Suggested packages:
fonts-
ttf-wqy-microhei | ttf-wqy-zenhei fonts-indic
The following NEW packages will be installed:
ca-certificat
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://
Get:2 http://
Fetched 236 MB in 20min 19s (194 kB/s)
Selecting previously unselected package ca-certificates
(Reading database ... 172357 files and directories currently installed.)
Preparing to unpack .../ca-
Unpacking ca-certificates
Selecting previously unselected package openjdk-
Preparing to unpack .../openjdk-
Unpacking openjdk-
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/
cannot copy extracted data for './usr/
Processing triggers for ca-certificates (20160104ubuntu1) ...
Updating certificates in /etc/ssl/certs...
0 added, 0 removed; done.
Running hooks in /etc/ca-
done.
Errors were encountered while processing:
/var/cache/
E: Sub-process /usr/bin/dpkg returned an error code (1)
ProblemType: Package
DistroRelease: Ubuntu 16.04
Package: openjdk-
ProcVersionSign
Uname: Linux 4.4.0-21-generic i686
ApportVersion: 2.20.1-0ubuntu2
AptOrdering:
ca-certificate
openjdk-
ca-certificate
openjdk-
NULL: ConfigurePending
Architecture: i386
Date: Wed Oct 18 22:11:51 2017
ErrorMessage: cannot copy extracted data for './usr/
InstallationDate: Installed on 2017-10-17 (0 days ago)
InstallationMedia: Ubuntu 16.04 LTS "Xenial Xerus" - Release i386 (20160420.1)
RelatedPackageV
dpkg 1.18.4ubuntu1.2
apt 1.2.10ubuntu1
SourcePackage: openjdk-9
Title: package openjdk-
UpgradeStatus: No upgrade log present (probably fresh install)
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.]