Can't install linux-image-extra and openjdk-9-jdk

 Clash Royale CLAN TAG#URR8PPP
Clash Royale CLAN TAG#URR8PPP up vote
1
down vote
favorite
I'm trying to install openjdk-9-jdk. I get the following error:
sudo apt-get install openjdk-9-jdk
Reading package lists... Done
Building dependency tree 
Reading state information... Done
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
 linux-image-generic-hwe-16.04 : Depends: linux-image-extra-4.13.0-32-generic but it is not going to be installed
 openjdk-9-jdk : Depends: openjdk-9-jre (= 9~b114-0ubuntu1) but it is not going to be installed
 Depends: openjdk-9-jdk-headless (= 9~b114-0ubuntu1) but it is not going to be installed
 Recommends: libxt-dev but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
Running "sudo apt-get -f install" results in this error:
sudo apt-get -f install
Reading package lists... Done
Building dependency tree 
Reading state information... Done
Correcting dependencies... Done
The following additional packages will be installed:
 linux-image-extra-4.13.0-32-generic
The following NEW packages will be installed:
 linux-image-extra-4.13.0-32-generic
0 upgraded, 1 newly installed, 0 to remove and 150 not upgraded.
57 not fully installed or removed.
Need to get 0 B/31,4 MB of archives.
After this operation, 165 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
(Reading database ... 227285 files and directories currently installed.)
Preparing to unpack .../linux-image-extra-4.13.0-32-generic_4.13.0-32.35~16.04.1_amd64.deb ...
Unpacking linux-image-extra-4.13.0-32-generic (4.13.0-32.35~16.04.1) ...
dpkg: error processing archive /var/cache/apt/archives/linux-image-extra-4.13.0-32-generic_4.13.0-32.35~16.04.1_amd64.deb (--unpack):
 corrupted filesystem tarfile - corrupted package archive
dpkg-deb (subprocess): decompressing archive member: lzma error: compressed data is corrupt
dpkg-deb: error: subprocess <decompress> returned error exit status 2
Errors were encountered while processing:
 /var/cache/apt/archives/linux-image-extra-4.13.0-32-generic_4.13.0-32.35~16.04.1_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
How do I solve this?
linux-headers
add a comment |Â
up vote
1
down vote
favorite
I'm trying to install openjdk-9-jdk. I get the following error:
sudo apt-get install openjdk-9-jdk
Reading package lists... Done
Building dependency tree 
Reading state information... Done
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
 linux-image-generic-hwe-16.04 : Depends: linux-image-extra-4.13.0-32-generic but it is not going to be installed
 openjdk-9-jdk : Depends: openjdk-9-jre (= 9~b114-0ubuntu1) but it is not going to be installed
 Depends: openjdk-9-jdk-headless (= 9~b114-0ubuntu1) but it is not going to be installed
 Recommends: libxt-dev but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
Running "sudo apt-get -f install" results in this error:
sudo apt-get -f install
Reading package lists... Done
Building dependency tree 
Reading state information... Done
Correcting dependencies... Done
The following additional packages will be installed:
 linux-image-extra-4.13.0-32-generic
The following NEW packages will be installed:
 linux-image-extra-4.13.0-32-generic
0 upgraded, 1 newly installed, 0 to remove and 150 not upgraded.
57 not fully installed or removed.
Need to get 0 B/31,4 MB of archives.
After this operation, 165 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
(Reading database ... 227285 files and directories currently installed.)
Preparing to unpack .../linux-image-extra-4.13.0-32-generic_4.13.0-32.35~16.04.1_amd64.deb ...
Unpacking linux-image-extra-4.13.0-32-generic (4.13.0-32.35~16.04.1) ...
dpkg: error processing archive /var/cache/apt/archives/linux-image-extra-4.13.0-32-generic_4.13.0-32.35~16.04.1_amd64.deb (--unpack):
 corrupted filesystem tarfile - corrupted package archive
dpkg-deb (subprocess): decompressing archive member: lzma error: compressed data is corrupt
dpkg-deb: error: subprocess <decompress> returned error exit status 2
Errors were encountered while processing:
 /var/cache/apt/archives/linux-image-extra-4.13.0-32-generic_4.13.0-32.35~16.04.1_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
How do I solve this?
linux-headers
 
 
 
 
 
 
 It says:- Errors were encountered while processing: /var/cache/apt/archives/linux-image-extra-4.13.0-32-generic_4.13.0-32.35~16.04.1_amd64.debso I would try:- sudo rm /var/cache/apt/archives/linux-image-extra-4.13.0-32-generic_4.13.0-32.35~16.04.1_amd64.deband try again- sudo apt-get -f install
 â Jean-Marie
 Jan 31 at 22:28
 
 
 
add a comment |Â
up vote
1
down vote
favorite
up vote
1
down vote
favorite
I'm trying to install openjdk-9-jdk. I get the following error:
sudo apt-get install openjdk-9-jdk
Reading package lists... Done
Building dependency tree 
Reading state information... Done
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
 linux-image-generic-hwe-16.04 : Depends: linux-image-extra-4.13.0-32-generic but it is not going to be installed
 openjdk-9-jdk : Depends: openjdk-9-jre (= 9~b114-0ubuntu1) but it is not going to be installed
 Depends: openjdk-9-jdk-headless (= 9~b114-0ubuntu1) but it is not going to be installed
 Recommends: libxt-dev but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
Running "sudo apt-get -f install" results in this error:
sudo apt-get -f install
Reading package lists... Done
Building dependency tree 
Reading state information... Done
Correcting dependencies... Done
The following additional packages will be installed:
 linux-image-extra-4.13.0-32-generic
The following NEW packages will be installed:
 linux-image-extra-4.13.0-32-generic
0 upgraded, 1 newly installed, 0 to remove and 150 not upgraded.
57 not fully installed or removed.
Need to get 0 B/31,4 MB of archives.
After this operation, 165 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
(Reading database ... 227285 files and directories currently installed.)
Preparing to unpack .../linux-image-extra-4.13.0-32-generic_4.13.0-32.35~16.04.1_amd64.deb ...
Unpacking linux-image-extra-4.13.0-32-generic (4.13.0-32.35~16.04.1) ...
dpkg: error processing archive /var/cache/apt/archives/linux-image-extra-4.13.0-32-generic_4.13.0-32.35~16.04.1_amd64.deb (--unpack):
 corrupted filesystem tarfile - corrupted package archive
dpkg-deb (subprocess): decompressing archive member: lzma error: compressed data is corrupt
dpkg-deb: error: subprocess <decompress> returned error exit status 2
Errors were encountered while processing:
 /var/cache/apt/archives/linux-image-extra-4.13.0-32-generic_4.13.0-32.35~16.04.1_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
How do I solve this?
linux-headers
I'm trying to install openjdk-9-jdk. I get the following error:
sudo apt-get install openjdk-9-jdk
Reading package lists... Done
Building dependency tree 
Reading state information... Done
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
 linux-image-generic-hwe-16.04 : Depends: linux-image-extra-4.13.0-32-generic but it is not going to be installed
 openjdk-9-jdk : Depends: openjdk-9-jre (= 9~b114-0ubuntu1) but it is not going to be installed
 Depends: openjdk-9-jdk-headless (= 9~b114-0ubuntu1) but it is not going to be installed
 Recommends: libxt-dev but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
Running "sudo apt-get -f install" results in this error:
sudo apt-get -f install
Reading package lists... Done
Building dependency tree 
Reading state information... Done
Correcting dependencies... Done
The following additional packages will be installed:
 linux-image-extra-4.13.0-32-generic
The following NEW packages will be installed:
 linux-image-extra-4.13.0-32-generic
0 upgraded, 1 newly installed, 0 to remove and 150 not upgraded.
57 not fully installed or removed.
Need to get 0 B/31,4 MB of archives.
After this operation, 165 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
(Reading database ... 227285 files and directories currently installed.)
Preparing to unpack .../linux-image-extra-4.13.0-32-generic_4.13.0-32.35~16.04.1_amd64.deb ...
Unpacking linux-image-extra-4.13.0-32-generic (4.13.0-32.35~16.04.1) ...
dpkg: error processing archive /var/cache/apt/archives/linux-image-extra-4.13.0-32-generic_4.13.0-32.35~16.04.1_amd64.deb (--unpack):
 corrupted filesystem tarfile - corrupted package archive
dpkg-deb (subprocess): decompressing archive member: lzma error: compressed data is corrupt
dpkg-deb: error: subprocess <decompress> returned error exit status 2
Errors were encountered while processing:
 /var/cache/apt/archives/linux-image-extra-4.13.0-32-generic_4.13.0-32.35~16.04.1_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
How do I solve this?
linux-headers
linux-headers
asked Jan 31 at 18:35
Kazia Damian
61
61
 
 
 
 
 
 
 It says:- Errors were encountered while processing: /var/cache/apt/archives/linux-image-extra-4.13.0-32-generic_4.13.0-32.35~16.04.1_amd64.debso I would try:- sudo rm /var/cache/apt/archives/linux-image-extra-4.13.0-32-generic_4.13.0-32.35~16.04.1_amd64.deband try again- sudo apt-get -f install
 â Jean-Marie
 Jan 31 at 22:28
 
 
 
add a comment |Â
 
 
 
 
 
 
 It says:- Errors were encountered while processing: /var/cache/apt/archives/linux-image-extra-4.13.0-32-generic_4.13.0-32.35~16.04.1_amd64.debso I would try:- sudo rm /var/cache/apt/archives/linux-image-extra-4.13.0-32-generic_4.13.0-32.35~16.04.1_amd64.deband try again- sudo apt-get -f install
 â Jean-Marie
 Jan 31 at 22:28
 
 
 
It says:
Errors were encountered while processing: /var/cache/apt/archives/linux-image-extra-4.13.0-32-generic_4.13.0-32.35~16.04.1_amd64.deb so I would try: sudo rm /var/cache/apt/archives/linux-image-extra-4.13.0-32-generic_4.13.0-32.35~16.04.1_amd64.deb and try again sudo apt-get -f installâ Jean-Marie
Jan 31 at 22:28
It says:
Errors were encountered while processing: /var/cache/apt/archives/linux-image-extra-4.13.0-32-generic_4.13.0-32.35~16.04.1_amd64.deb so I would try: sudo rm /var/cache/apt/archives/linux-image-extra-4.13.0-32-generic_4.13.0-32.35~16.04.1_amd64.deb and try again sudo apt-get -f installâ Jean-Marie
Jan 31 at 22:28
add a comment |Â
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
 
draft saved
draft discarded
 
draft saved
draft discarded
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1001821%2fcant-install-linux-image-extra-and-openjdk-9-jdk%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
It says:
Errors were encountered while processing: /var/cache/apt/archives/linux-image-extra-4.13.0-32-generic_4.13.0-32.35~16.04.1_amd64.debso I would try:sudo rm /var/cache/apt/archives/linux-image-extra-4.13.0-32-generic_4.13.0-32.35~16.04.1_amd64.deband try againsudo apt-get -f installâ Jean-Marie
Jan 31 at 22:28