[Kernel/Drive] upgrade出现问题,bcmwl-kernel-source出错
Tofloor
poster avatar
liujy126
deepin
2021-02-06 23:26
Author

upgrade之后,显示:

有 1 个软件包没有被完全安装或卸载。

解压缩后会消耗 0 B 的额外空间。

您希望继续执行吗? [Y/n] y

正在设置 bcmwl-kernel-source (6.30.223.272+bdcom-deepin) ...

Removing old bcmwl-6.30.223.272+bdcom DKMS files...

 

------------------------------

Deleting module version: 6.30.223.272+bdcom

completely from the DKMS tree.

------------------------------

Done.

Loading new bcmwl-6.30.223.272+bdcom DKMS files...

Building for 5.9.1-050901-generic

Building for architecture x86_64

Building initial module for 5.9.1-050901-generic

Error! Bad return status for module build on kernel: 5.9.1-050901-generic (x86_64)

Consult /var/lib/dkms/bcmwl/6.30.223.272+bdcom/build/make.log for more information.

dpkg: 处理软件包 bcmwl-kernel-source (--configure)时出错:

 已安装 bcmwl-kernel-source 软件包 post-installation 脚本 子进程返回错误状态 10

在处理时有错误发生:

 bcmwl-kernel-source

E: Sub-process /usr/bin/dpkg returned an error code (1)

Reply Favorite View the author
All Replies
Ziggy
deepin
2021-02-06 23:59
#1

sudo dpkg --configure -a && sudo apt -f install

Reply View the author
duanyao
deepin
2021-02-07 00:23
#2

目前,5.9以上的内核与 bcmwl不兼容。不过,deepin 的 5.10.5-amd64-desktop+ 内核与 bcmwl-kernel-source 6.30.223.272+bdcom-deepin 是兼容的,应该是做过修改吧。你可以装这个内核。

https://github.com/linuxdeepin/bcmwl/issues/2

Reply View the author
liujy126
deepin
2021-02-07 00:46
#3
duanyao

目前,5.9以上的内核与 bcmwl不兼容。不过,deepin 的 5.10.5-amd64-desktop+ 内核与 bcmwl-kernel-source 6.30.223.272+bdcom-deepin 是兼容的,应该是做过修改吧。你可以装这个内核。

https://github.com/linuxdeepin/bcmwl/issues/2

那是不是应该删除这个bcmwl,咋删除?

Reply View the author
魔笛
deepin
2021-02-07 01:04
#4
liujy126

那是不是应该删除这个bcmwl,咋删除?

sudo dpkg -r broadcom-sta-source

如果安装完成最后,没有WiFi可以参考这个帖子:

https://bbs.deepin.org/zh/post/211628?offset=0&postId=1191767

Reply View the author
duanyao
deepin
2021-02-07 04:02
#5
liujy126

那是不是应该删除这个bcmwl,咋删除?

如果你用的不是博通的无线网卡芯片(通过自带的“设备管理器”查看),那么删掉bcmwl相关的包也没关系。包名在你的出错信息里有:sudo apt remove bcmwl-kernel-source

如果是,那就用deepin提供的5.8.x或者5.10.x内核,包名是 linux-image-5.8.14-amd64-desktop 或者 linux-image-5.10.5-amd64-desktop+ ,或者 linux-image-deepin-stable-amd64 。

 

Reply View the author