简体   繁体   English

尝试在 linux 上安装 alsa-base 软件包时,要求在 debian 上卸载 linux-headers,我该如何解决?

[英]When trying to install the alsa-base package on linux, ask to uninstall linux-headers on debian, how can I solve this?

我是 linux 的初学者,我在我的系统上安装了几个导致冲突的软件包,其中一个是 alsa base,它总是要求从内核中删除 linux 头文件。

If you installed some "packages" kernels set unusable, you can first issue the following commands:如果您安装了一些设置为无法使用的“软件包”内核,您可以先发出以下命令:

1# check - Verify that there are no broken dependencies 1#检查 - 验证没有损坏的依赖项

$ sudo apt-get check 

2# autoremove - Remove automatically all unused packages 2# autoremove - 自动删除所有未使用的包

$ sudo apt-get autoremove 
  • If the above info did not work;如果以上信息无效; we can check if you have installed the proper kernel on Debian, so check out your current kernel by我们可以检查您是否在 Debian 上安装了正确的内核,因此请通过以下方式检查您当前的内核

    $ uname -sr $ uname -sr

Then you can uninstall those unused kernal-headers by:然后您可以通过以下方式卸载那些未使用的内核头文件:

$ sudo apt-get purge linux-headers-xxxx

reemplace the "xxxx" by the kernel you want delete.用要删除的内核重新放置“xxxx”。

I recommend you also take a look at thislink where talks more over about;我建议你也看看这个链接,那里有更多的讨论; and here a troubleshooting done by a user wanted to delete header-kernel in askubuntu. 在这里,用户完成的故障排除想要删除 askubuntu 中的 header-kernel。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM