小编The*_*See的帖子

我可以删除 *.old-dkms 文件吗

我在安装内核时遇到了问题,因为我的/boot分区非常小(大约 200+ MB)(而且我无法扩展,因为我使用的是 lvm)。

列出里面的文件/boot,我有:

defaultuser@theoriginalpc:~$ ls -lahS /boot
totalo 128M
-rw-r--r--  1 root root  38M Dec 22 14:33 initrd.img-4.4.0-57-generic
-rw-r--r--  1 root root  38M Dec 22 13:12 initrd.img-4.4.0-47-generic.old-dkms
-rw-r--r--  1 root root  17M Dec 22 14:27 initrd.img-4.4.0-57-generic.old-dkms
-rw-r--r--  1 root root  14M Dec 22 14:33 initrd.img-4.4.0-53-generic.old-dkms
-rw-r--r--  1 root root  10M Dec 22 13:13 initrd.img-4.4.0-47-generic
-rw-------  1 root root 6.8M Dec 10 12:04 vmlinuz-4.4.0-57-generic
-rw-------  1 root root 3.7M Dec 10 12:04 System.map-4.4.0-57-generic
-rw-r--r--  1 …
Run Code Online (Sandbox Code Playgroud)

boot grub2 kernel

5
推荐指数
1
解决办法
2230
查看次数

apt-get clean 中出现“问题解除链接”错误

每当我尝试使用时都会出现问题sudo apt-get clean

:~$ sudo apt-get clean
W: Problem unlinking the file apt-fast - Clean (21: Is a directory)
:~$ apt-fast clean
W: Problem unlinking the file apt-fast - Clean (21: Is a directory)
Run Code Online (Sandbox Code Playgroud)

清除 apt-fast 并运行 sudo apt-get clean 是我发现解决此问题的唯一方法。
但是我用apt-fast了很多,所以使用它不是一个好的解决方案。
重新安装apt-fast 并运行sudo apt-get clean使问题再次弹出。

另外,在安装时(我不知道这是否有用),我发现了这个问题:

Unescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in m/\${ <-- HERE _MAXNUM}/ at /tmp/apt-fast.config.NDgAmi line 205. …
Run Code Online (Sandbox Code Playgroud)

cleanup apt apt-fast ubuntu-mate 16.04

4
推荐指数
1
解决办法
1万
查看次数

标签 统计

16.04 ×1

apt ×1

apt-fast ×1

boot ×1

cleanup ×1

grub2 ×1

kernel ×1

ubuntu-mate ×1