Java installation errors

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP








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?







share|improve this question


















  • 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











  • 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 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














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?







share|improve this question


















  • 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











  • 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 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












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?







share|improve this question














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?









share|improve this question













share|improve this question




share|improve this question








edited Apr 26 at 19:37









George Udosen

16.9k93559




16.9k93559










asked Apr 26 at 19:34









final20

3613




3613







  • 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











  • 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 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












  • 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











  • 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 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







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















active

oldest

votes











Your Answer







StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "89"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
convertImagesToLinks: true,
noModals: false,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);













 

draft saved


draft discarded


















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



































active

oldest

votes













active

oldest

votes









active

oldest

votes






active

oldest

votes















 

draft saved


draft discarded















































 


draft saved


draft discarded














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













































































Popular posts from this blog

pylint3 and pip3 broken

Missing snmpget and snmpwalk

How to enroll fingerprints to Ubuntu 17.10 with VFS491