无法安装任何东西?

无法安装任何东西?

当我尝试运行类似的程序时sudo apt-get install rdesktop,我得到了这个:

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-lts-trusty : Depends: linux-image-3.13.0-55-generic but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).

当我尝试运行时sudo apt-get -f install,我得到了这个:

Reading package lists... Done
Building dependency tree       
Reading state information... Done
Correcting dependencies... Done
The following extra packages will be installed:
  linux-image-3.13.0-58-generic linux-image-generic-lts-trusty
Suggested packages:
  fdutils linux-lts-trusty-doc-3.13.0 linux-lts-trusty-source-3.13.0
  linux-lts-trusty-tools linux-headers-3.13.0-58-generic
The following NEW packages will be installed:
  linux-image-3.13.0-58-generic
The following packages will be upgraded:
  linux-image-generic-lts-trusty
1 upgraded, 1 newly installed, 0 to remove and 83 not upgraded.
2 not fully installed or removed.
Need to get 0 B/52.5 MB of archives.
After this operation, 198 MB of additional disk space will be used.
Do you want to continue [Y/n]? y
(Reading database ... 353075 files and directories currently installed.)
Unpacking linux-image-3.13.0-58-generic (from .../linux-image-3.13.0-58-generic_3.13.0-58.97~precise1_amd64.deb) ...
Done.
dpkg: error processing /var/cache/apt/archives/linux-image-3.13.0-58-generic_3.13.0-58.97~precise1_amd64.deb (--unpack):
 failed in write on buffer copy for backend dpkg-deb during `./boot/vmlinuz-3.13.0-58-generic': 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 3.13.0-58-generic /boot/vmlinuz-3.13.0-58-generic
run-parts: executing /etc/kernel/postrm.d/zz-update-grub 3.13.0-58-generic /boot/vmlinuz-3.13.0-58-generic
Errors were encountered while processing:
 /var/cache/apt/archives/linux-image-3.13.0-58-generic_3.13.0-58.97~precise1_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

有人能帮我了解这里发生了什么吗?我读过一些相关的问题,但有点困惑。

答案1

提示位于错误消息的这一部分(我添加了*s):

dpkg: error processing /var/cache/apt/archives/linux-image-3.13.0-58-generic_3.13.0-58.97~precise1_amd64.deb (--unpack):
failed in write on buffer copy for backend dpkg-deb during `./boot/vmlinuz-3.13.0-58-generic': **No space left on device**
No apport report written because the error message indicates a **disk full error**

磁盘分区是满的,已无剩余空间。

你可能安装了太多的内核(见https://askubuntu.com/questions/635798/boot-partition-full-failing-to-delete-old-kernels-broken-packages?s=9|1.1226进行清理),或者您的磁盘太小,或者您有太多大文件,或者...

相关内容