从 19.04 升级到 19.10 后,似乎出现了一些问题broadcom-sta-dkms
。
当我运行sudo apt update
然后sudo apt upgrade
输出以下内容后(depmod...
什么都没有发生之后)它会卡住:
Setting up broadcom-sta-dkms (6.30.223.271-11) ...
Removing old broadcom-sta-6.30.223.271 DKMS files...
-------- Uninstall Beginning --------
Module: broadcom-sta
Version: 6.30.223.271
Kernel: 5.3.0-19-generic (x86_64)
-------------------------------------
Status: Before uninstall, this module version was ACTIVE on this kernel.
wl.ko:
- Uninstallation
- Deleting from: /lib/modules/5.3.0-19-generic/updates/dkms/
- Original module
- No original module was found for this module on this kernel.
- Use the dkms install command to reinstall any previous module version.
depmod...
update-initramfs......
DKMS: uninstall completed.
------------------------------
Deleting module version: 6.30.223.271
completely from the DKMS tree.
------------------------------
Done.
Loading new broadcom-sta-6.30.223.271 DKMS files...
Building for 5.3.0-19-generic 5.3.0-050300-generic
Building initial module for 5.3.0-19-generic
This system doesn't support Secure Boot
Secure Boot not enabled on this system.
Done.
wl.ko:
Running module version sanity check.
modinfo: ERROR: missing module or filename.
- Original module
- No original module exists within this kernel
- Installation
- Installing to /lib/modules/5.3.0-19-generic/updates/dkms/
depmod...
答案1
我设法让系统重新运行。首先,运行后系统sudo dpkg --remove broadcom-sta-dkms
可以sudo apt upgrade
正常运行。之后,我从 dkms 中删除了无线驱动程序并重新安装。在重新安装过程中,系统再次卡在 之后depmod...
。等待一段时间后,我使用 Ctrl+C 停止该过程。我以为安装没有正确完成,但不知何故,重新启动后,我的 wifi 又可以正常工作了。