我无法在我的 Macbook Pro Retina 上安装 Ubuntu 后使用 Wi-Fi。我尝试安装dkms
和bcmwl-kernel-source
使用sudo dpkg -i <file>
以下回答。安装失败,因为遇到依赖性问题(“dpkg:依赖性问题阻止配置...”)
编辑2
例如,运行sudo dpkg -i '/media/usrname/STUFF/dkms_2.2.0.3-1.1ubuntu5.14.04.9_all.deb'
结果如下:
(Reading database ... 174321 files and directories currently installed.)
Preparing to unpack .../dkms_2.2.0.3-1.1ubuntu5.14.04.9_all.deb ...
Unpacking dkms (2.2.0.3-1.1ubuntu5.14.04.9) over (2.2.0.3-1.1ubuntu5.14.04.9) ...
dpkg: dependency problems prevent configuration of dkms:
dkms depends on module-init-tools; however:
Package module-init-tools is not installed.
dpkg: error processing package dkms (--install):
dependency problems - leaving unconfigured
Processing triggers for man-db (2.7.5-1) ...
Errors were encountered while processing:
dkms
其他答案建议使用apt-get -f install
以获得APT
良好的状态。但这是不可能的,因为我没有互联网来做到这一点。
我能做些什么?
编辑
运行lspci -knn | grep Net -A3
结果如下:
02:00.0 Network controller [0280]: Broadcom Corporation BCM4360 802.11ac Wireless Network Adapter [14e4:43a0] (rev 03)
Subsystem: Apple Inc. BCM4360 802.11ac Wireless Network Adapter [106b:0134]
Kernel driver in use: wl
Kernel modules: bcma, wl
03:00.0 Multimedia controller [0480]: Broadcom Corporation 720p FaceTime HD Camera [14e4:1570]
答案1
好吧,如果我像这样挥动魔杖,
sudo dpkg --configure -a --force-depends
一切正常,并且 WiFi 可以找到所有网络。