Não é possível instalar ou desinstalar o software. Dependências não atendidas. O apt-get -f install não funciona

0

Eu pareço ter muito espaço na inicialização. Eu tenho toda a criptografia de disco.

Primeiro:

$ sudo apt-get install
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-extra-3.13.0-67-generic : Depends: linux-image-3.13.0-67-generic but it is not installed
 linux-image-generic : Depends: linux-image-3.13.0-67-generic but it is not installed
E: Unmet dependencies. Try using -f.

Então:

$ sudo apt-get -f install
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Correcting dependencies... Done
The following packages were automatically installed and are no longer required:
  bbswitch-dkms dkms fonts-dejavu fonts-dejavu-extra lib32gcc1 libc6-i386
  libcuda1-331 libvdpau1 linux-headers-3.13.0-32
  linux-headers-3.13.0-32-generic linux-headers-3.13.0-37
  linux-headers-3.13.0-37-generic linux-headers-3.13.0-40
  linux-headers-3.13.0-40-generic linux-image-3.13.0-32-generic
  linux-image-3.13.0-37-generic linux-image-3.13.0-40-generic
  linux-image-extra-3.13.0-32-generic linux-image-extra-3.13.0-37-generic
  linux-image-extra-3.13.0-40-generic linux-image-generic nvidia-prime
  nvidia-settings screen-resolution-extra ttf-dejavu ttf-dejavu-core
  ttf-dejavu-extra
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
  linux-image-3.13.0-67-generic
Suggested packages:
  fdutils linux-doc-3.13.0 linux-source-3.13.0 linux-tools
The following NEW packages will be installed:
  linux-image-3.13.0-67-generic
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
2 not fully installed or removed.
Need to get 0 B/15.2 MB of archives.
After this operation, 42.5 MB of additional disk space will be used.
Do you want to continue? [Y/n] Y
(Reading database ... 650322 files and directories currently installed.)
Preparing to unpack .../linux-image-3.13.0-67-generic_3.13.0-67.110_amd64.deb ...
Done.
Unpacking linux-image-3.13.0-67-generic (3.13.0-67.110) ...
No apport report written because the error message indicates a disk full error
                                                                              dpkg: error processing archive /var/cache/apt/archives/linux-image-3.13.0-67-generic_3.13.0-67.110_amd64.deb (--unpack):
 unable to create '/boot/config-3.13.0-67-generic.dpkg-new' (while processing './boot/config-3.13.0-67-generic'): No space left on device
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 3.13.0-67-generic /boot/vmlinuz-3.13.0-67-generic
run-parts: executing /etc/kernel/postrm.d/zz-update-grub 3.13.0-67-generic /boot/vmlinuz-3.13.0-67-generic
Errors were encountered while processing:
 /var/cache/apt/archives/linux-image-3.13.0-67-generic_3.13.0-67.110_amd64.deb
[ Rootkit Hunter version 1.4.0 ]
File updated: searched for 168 files, found 137
E: Sub-process /usr/bin/dpkg returned an error code (1)
nate@saturn:~$

Imagem do Monitor do sistema mostrando o espaço em disco:

    
por Fudruckers 08.11.2015 / 18:01

1 resposta

0

No sistema de arquivos unix, o arquivo e o diretório têm duas partes: inode e data.

Em inodes são armazenadas informações sobre o arquivo, como permissão, proprietário, hora da mudança, tempo de acesso, etc.

O número total de inodes é limitado, de modo que você não pode ter espaço no dispositivo se atingir esse limite, mesmo que o disco não esteja muito cheio.

Uso:

df -i

para ver os inodes, se você obtiver 100% para o IUse e 0 para o IFree, isso significa que você tem muitos arquivos pequenos.

Por exemplo, se você tiver 2 bilhões de arquivos cujo tamanho é 1 byte, poderá atingir o limite de inode, mas seu disco pode não estar totalmente cheio.

Se este for o seu caso, tente remover mais arquivos que puder e refazer o apt-get update.

Fonte: link

    
por user2832080 08.11.2015 / 18:33