我正在尝试删除mate桌面并获得
$ sudo apt-get remove --auto-remove mate-desktop
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package 'mate-desktop' is not installed, so not removed
The following packages will be REMOVED:
cuda-11-0 cuda-command-line-tools-11-0 cuda-compiler-11-0 cuda-cudart-11-0
...但为什么要删除不相关的库呢?
发布于 2020-09-05 15:48:39
在man apt-get 在……下面的输出中,--autoremove选项:
如果命令是“安装”或“删除”,则此选项的作用类似于运行“自动删除”命令,删除未使用的依赖包。
那些cuda软件包只是在等待自动删除,与Mate Desktop无关。所以真正的问题是你真的想移除它们吗?Intel倾向于将各种依赖于它们的cuda包挂钩,比如依赖于Nvidia驱动程序包(可能是旧的),所以当它被替换时--所有不想要的删除和自动删除--都可能被触发。
https://askubuntu.com/questions/1272830
复制相似问题