Estou tentando instalar o Java no Ubunut 16.04 LTS. Eu fiz sudo apt-get update
e, em seguida, java -version
(apenas para verificar se ele não está instalado), então eu tento fazer o download e instalar com sudo apt-get install default-jdk
(eu tentei default-jre
) também. Isso me alimenta esse bloco
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).
Dependências não atendidas? Eu tento 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)
Alguma idéia?