Java installation errors
![Creative The name of the picture](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgO9GURib1T8z7lCwjOGLQaGtrueEthgQ8LO42ZX8cOfTqDK4jvDDpKkLFwf2J49kYCMNW7d4ABih_XCb_2UXdq5fPJDkoyg7-8g_YfRUot-XnaXkNYycsNp7lA5_TW9td0FFpLQ2APzKcZ/s1600/1.jpg)
![Creative The name of the picture](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhYQ0N5W1qAOxLP7t7iOM6O6AzbZnkXUy16s7P_CWfOb5UbTQY_aDsc727chyphenhyphen5W4IppVNernMMQeaUFTB_rFzAd95_CDt-tnwN-nBx6JyUp2duGjPaL5-VgNO41AVsA_vu30EJcipdDG409/s400/Clash+Royale+CLAN+TAG%2523URR8PPP.png)
up vote
1
down vote
favorite
I'm trying to install Java on Ubunut 16.04 LTS. I've done sudo apt-get update
, and then java -version
(just to verify its not already installed) then I try to download and install with sudo apt-get install default-jdk
( I've tried default-jre
) aswell. That feeds me this block
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:
default-jre : Depends: default-jre-headless (= 2:1.8-56ubuntu2) but it is not going to be installed
Depends: openjdk-8-jre but it is not going to be installed
linux-image-extra-4.4.0-63-generic : Depends: linux-image-4.4.0-63-generic but it is not going to be installed
linux-signed-image-4.4.0-63-generic : Depends: linux-image-4.4.0-63-generic (= 4.4.0-63.84) but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
Unmet dependencies? I try sudo apt-get -f install
Preparing to unpack .../linux-image-4.4.0-63-generic_4.4.0-63.84_amd64.deb ...
Done.
Unpacking linux-image-4.4.0-63-generic (4.4.0-63.84) ...
dpkg: error processing archive /var/cache/apt/archives/linux-image-4.4.0-63-generic_4.4.0-63.84_amd64.deb (--unpack):
cannot copy extracted data for './boot/vmlinuz-4.4.0-63-generic' to '/boot/vmlinuz-4.4.0-63-generic.dpkg-new': failed to write (No space left on device)
No apport report written because the error message indicates a disk full error
dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
Examining /etc/kernel/postrm.d .
run-parts: executing /etc/kernel/postrm.d/initramfs-tools 4.4.0-63-generic /boot/vmlinuz-4.4.0-63-generic
run-parts: executing /etc/kernel/postrm.d/zz-update-grub 4.4.0-63-generic /boot/vmlinuz-4.4.0-63-generic
Errors were encountered while processing:
/var/cache/apt/archives/linux-image-4.4.0-63-generic_4.4.0-63.84_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
Any ideas?
16.04 apt package-management java jdk
add a comment |Â
up vote
1
down vote
favorite
I'm trying to install Java on Ubunut 16.04 LTS. I've done sudo apt-get update
, and then java -version
(just to verify its not already installed) then I try to download and install with sudo apt-get install default-jdk
( I've tried default-jre
) aswell. That feeds me this block
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:
default-jre : Depends: default-jre-headless (= 2:1.8-56ubuntu2) but it is not going to be installed
Depends: openjdk-8-jre but it is not going to be installed
linux-image-extra-4.4.0-63-generic : Depends: linux-image-4.4.0-63-generic but it is not going to be installed
linux-signed-image-4.4.0-63-generic : Depends: linux-image-4.4.0-63-generic (= 4.4.0-63.84) but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
Unmet dependencies? I try sudo apt-get -f install
Preparing to unpack .../linux-image-4.4.0-63-generic_4.4.0-63.84_amd64.deb ...
Done.
Unpacking linux-image-4.4.0-63-generic (4.4.0-63.84) ...
dpkg: error processing archive /var/cache/apt/archives/linux-image-4.4.0-63-generic_4.4.0-63.84_amd64.deb (--unpack):
cannot copy extracted data for './boot/vmlinuz-4.4.0-63-generic' to '/boot/vmlinuz-4.4.0-63-generic.dpkg-new': failed to write (No space left on device)
No apport report written because the error message indicates a disk full error
dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
Examining /etc/kernel/postrm.d .
run-parts: executing /etc/kernel/postrm.d/initramfs-tools 4.4.0-63-generic /boot/vmlinuz-4.4.0-63-generic
run-parts: executing /etc/kernel/postrm.d/zz-update-grub 4.4.0-63-generic /boot/vmlinuz-4.4.0-63-generic
Errors were encountered while processing:
/var/cache/apt/archives/linux-image-4.4.0-63-generic_4.4.0-63.84_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
Any ideas?
16.04 apt package-management java jdk
2
I seefailed to write (No space left on device)
, runsudo apt autoremove
, then try again
â George Udosen
Apr 26 at 19:39
Check free space on your device. May be it's time to upgrade your hardware? Then usedd
command as well..
â Drakonoved
Apr 26 at 20:00
@final20 - please add output ofdf -h
to your question. @Drakonoved -dd
is dangerous, seems to be a typo.
â N0rbert
Apr 26 at 20:16
@N0rbert, That is not a typo. @final20, After upgading your HDD to a new larger one, connect both of them to your mashine, boot fromUbuntu CD
(for example, or any other) and copy all the file systems from old to new one usingdd
command, reboot same way and finaly usegparted
to engage free space.
â Drakonoved
Apr 26 at 20:47
@fial20, but first pls add output ofdf -h
to your question.
â Drakonoved
Apr 26 at 20:50
add a comment |Â
up vote
1
down vote
favorite
up vote
1
down vote
favorite
I'm trying to install Java on Ubunut 16.04 LTS. I've done sudo apt-get update
, and then java -version
(just to verify its not already installed) then I try to download and install with sudo apt-get install default-jdk
( I've tried default-jre
) aswell. That feeds me this block
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:
default-jre : Depends: default-jre-headless (= 2:1.8-56ubuntu2) but it is not going to be installed
Depends: openjdk-8-jre but it is not going to be installed
linux-image-extra-4.4.0-63-generic : Depends: linux-image-4.4.0-63-generic but it is not going to be installed
linux-signed-image-4.4.0-63-generic : Depends: linux-image-4.4.0-63-generic (= 4.4.0-63.84) but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
Unmet dependencies? I try sudo apt-get -f install
Preparing to unpack .../linux-image-4.4.0-63-generic_4.4.0-63.84_amd64.deb ...
Done.
Unpacking linux-image-4.4.0-63-generic (4.4.0-63.84) ...
dpkg: error processing archive /var/cache/apt/archives/linux-image-4.4.0-63-generic_4.4.0-63.84_amd64.deb (--unpack):
cannot copy extracted data for './boot/vmlinuz-4.4.0-63-generic' to '/boot/vmlinuz-4.4.0-63-generic.dpkg-new': failed to write (No space left on device)
No apport report written because the error message indicates a disk full error
dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
Examining /etc/kernel/postrm.d .
run-parts: executing /etc/kernel/postrm.d/initramfs-tools 4.4.0-63-generic /boot/vmlinuz-4.4.0-63-generic
run-parts: executing /etc/kernel/postrm.d/zz-update-grub 4.4.0-63-generic /boot/vmlinuz-4.4.0-63-generic
Errors were encountered while processing:
/var/cache/apt/archives/linux-image-4.4.0-63-generic_4.4.0-63.84_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
Any ideas?
16.04 apt package-management java jdk
I'm trying to install Java on Ubunut 16.04 LTS. I've done sudo apt-get update
, and then java -version
(just to verify its not already installed) then I try to download and install with sudo apt-get install default-jdk
( I've tried default-jre
) aswell. That feeds me this block
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:
default-jre : Depends: default-jre-headless (= 2:1.8-56ubuntu2) but it is not going to be installed
Depends: openjdk-8-jre but it is not going to be installed
linux-image-extra-4.4.0-63-generic : Depends: linux-image-4.4.0-63-generic but it is not going to be installed
linux-signed-image-4.4.0-63-generic : Depends: linux-image-4.4.0-63-generic (= 4.4.0-63.84) but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
Unmet dependencies? I try sudo apt-get -f install
Preparing to unpack .../linux-image-4.4.0-63-generic_4.4.0-63.84_amd64.deb ...
Done.
Unpacking linux-image-4.4.0-63-generic (4.4.0-63.84) ...
dpkg: error processing archive /var/cache/apt/archives/linux-image-4.4.0-63-generic_4.4.0-63.84_amd64.deb (--unpack):
cannot copy extracted data for './boot/vmlinuz-4.4.0-63-generic' to '/boot/vmlinuz-4.4.0-63-generic.dpkg-new': failed to write (No space left on device)
No apport report written because the error message indicates a disk full error
dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
Examining /etc/kernel/postrm.d .
run-parts: executing /etc/kernel/postrm.d/initramfs-tools 4.4.0-63-generic /boot/vmlinuz-4.4.0-63-generic
run-parts: executing /etc/kernel/postrm.d/zz-update-grub 4.4.0-63-generic /boot/vmlinuz-4.4.0-63-generic
Errors were encountered while processing:
/var/cache/apt/archives/linux-image-4.4.0-63-generic_4.4.0-63.84_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
Any ideas?
16.04 apt package-management java jdk
edited Apr 26 at 19:37
![](https://i.stack.imgur.com/ElvwO.jpg?s=32&g=1)
![](https://i.stack.imgur.com/ElvwO.jpg?s=32&g=1)
George Udosen
16.9k93559
16.9k93559
asked Apr 26 at 19:34
final20
3613
3613
2
I seefailed to write (No space left on device)
, runsudo apt autoremove
, then try again
â George Udosen
Apr 26 at 19:39
Check free space on your device. May be it's time to upgrade your hardware? Then usedd
command as well..
â Drakonoved
Apr 26 at 20:00
@final20 - please add output ofdf -h
to your question. @Drakonoved -dd
is dangerous, seems to be a typo.
â N0rbert
Apr 26 at 20:16
@N0rbert, That is not a typo. @final20, After upgading your HDD to a new larger one, connect both of them to your mashine, boot fromUbuntu CD
(for example, or any other) and copy all the file systems from old to new one usingdd
command, reboot same way and finaly usegparted
to engage free space.
â Drakonoved
Apr 26 at 20:47
@fial20, but first pls add output ofdf -h
to your question.
â Drakonoved
Apr 26 at 20:50
add a comment |Â
2
I seefailed to write (No space left on device)
, runsudo apt autoremove
, then try again
â George Udosen
Apr 26 at 19:39
Check free space on your device. May be it's time to upgrade your hardware? Then usedd
command as well..
â Drakonoved
Apr 26 at 20:00
@final20 - please add output ofdf -h
to your question. @Drakonoved -dd
is dangerous, seems to be a typo.
â N0rbert
Apr 26 at 20:16
@N0rbert, That is not a typo. @final20, After upgading your HDD to a new larger one, connect both of them to your mashine, boot fromUbuntu CD
(for example, or any other) and copy all the file systems from old to new one usingdd
command, reboot same way and finaly usegparted
to engage free space.
â Drakonoved
Apr 26 at 20:47
@fial20, but first pls add output ofdf -h
to your question.
â Drakonoved
Apr 26 at 20:50
2
2
I see
failed to write (No space left on device)
, run sudo apt autoremove
, then try againâ George Udosen
Apr 26 at 19:39
I see
failed to write (No space left on device)
, run sudo apt autoremove
, then try againâ George Udosen
Apr 26 at 19:39
Check free space on your device. May be it's time to upgrade your hardware? Then use
dd
command as well..â Drakonoved
Apr 26 at 20:00
Check free space on your device. May be it's time to upgrade your hardware? Then use
dd
command as well..â Drakonoved
Apr 26 at 20:00
@final20 - please add output of
df -h
to your question. @Drakonoved - dd
is dangerous, seems to be a typo.â N0rbert
Apr 26 at 20:16
@final20 - please add output of
df -h
to your question. @Drakonoved - dd
is dangerous, seems to be a typo.â N0rbert
Apr 26 at 20:16
@N0rbert, That is not a typo. @final20, After upgading your HDD to a new larger one, connect both of them to your mashine, boot from
Ubuntu CD
(for example, or any other) and copy all the file systems from old to new one using dd
command, reboot same way and finaly use gparted
to engage free space.â Drakonoved
Apr 26 at 20:47
@N0rbert, That is not a typo. @final20, After upgading your HDD to a new larger one, connect both of them to your mashine, boot from
Ubuntu CD
(for example, or any other) and copy all the file systems from old to new one using dd
command, reboot same way and finaly use gparted
to engage free space.â Drakonoved
Apr 26 at 20:47
@fial20, but first pls add output of
df -h
to your question.â Drakonoved
Apr 26 at 20:50
@fial20, but first pls add output of
df -h
to your question.â Drakonoved
Apr 26 at 20:50
add a comment |Â
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
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%2f1028520%2fjava-installation-errors%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
2
I see
failed to write (No space left on device)
, runsudo apt autoremove
, then try againâ George Udosen
Apr 26 at 19:39
Check free space on your device. May be it's time to upgrade your hardware? Then use
dd
command as well..â Drakonoved
Apr 26 at 20:00
@final20 - please add output of
df -h
to your question. @Drakonoved -dd
is dangerous, seems to be a typo.â N0rbert
Apr 26 at 20:16
@N0rbert, That is not a typo. @final20, After upgading your HDD to a new larger one, connect both of them to your mashine, boot from
Ubuntu CD
(for example, or any other) and copy all the file systems from old to new one usingdd
command, reboot same way and finaly usegparted
to engage free space.â Drakonoved
Apr 26 at 20:47
@fial20, but first pls add output of
df -h
to your question.â Drakonoved
Apr 26 at 20:50