小编Mik*_*och的帖子

在缺少依赖项的情况下使用 apt-get autoremove

我的 Ubuntu 服务器实例的/boot分区当前为 100%,我想使用sudo apt-get autoremove. 但是,似乎我缺少一些依赖项,我无法安装这些依赖项/boot,因为 . 我尝试使用sudo apt-get autoremove -f来删除和修复依赖项,但它似乎想在删除其他所有内容之前安装依赖项。有没有办法在安装缺少的依赖项的情况下删除未使用的依赖项/包?如果有帮助,我已经在下面包含了我的终端输出。

mkoch@ubuntu:~$ sudo apt-get autoremove -f
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Correcting dependencies... Done
The following extra packages will be installed:
  linux-generic linux-headers-3.13.0-39 linux-headers-3.13.0-39-generic
  linux-headers-generic linux-image-3.13.0-39-generic
  linux-image-extra-3.13.0-39-generic linux-image-generic
Suggested packages:
  fdutils linux-doc-3.13.0 linux-source-3.13.0 linux-tools
The following packages will be REMOVED:
  linux-headers-3.13.0-24 linux-headers-3.13.0-24-generic
  linux-headers-3.13.0-27 linux-headers-3.13.0-27-generic
  linux-headers-3.13.0-29 linux-headers-3.13.0-29-generic
  linux-headers-3.13.0-30 linux-headers-3.13.0-30-generic
  linux-headers-3.13.0-32 linux-headers-3.13.0-32-generic
  linux-headers-3.13.0-33 …
Run Code Online (Sandbox Code Playgroud)

apt dependencies

2
推荐指数
1
解决办法
7908
查看次数

标签 统计

apt ×1

dependencies ×1