我在安装 Wifi Fern 时遇到问题
@ubuntu:~/Desktop$ sudo dpkg -i Fern-Wifi-Cracker_1.6_all.deb
Selecting previously unselected package fern-wifi-cracker.
(Reading database ... 187540 files and directories currently installed.)
Unpacking fern-wifi-cracker (from Fern-Wifi-Cracker_1.6_all.deb) ...
dpkg: dependency problems prevent configuration of fern-wifi-cracker:
fern-wifi-cracker depends on aircrack-ng; however:
Package aircrack-ng is not installed.
fern-wifi-cracker depends on subversion; however:
Package subversion is not installed.
dpkg: error processing fern-wifi-cracker (--install):
dependency problems - leaving unconfigured
Processing triggers for bamfdaemon ...
Rebuilding /usr/share/applications/bamf.index...
Processing triggers for desktop-file-utils ...
Processing triggers for gnome-menus ...
Errors were encountered while processing:
fern-wifi-cracker
@ubuntu:~/Desktop$
你能帮忙吗?
答案1
安装依赖项
在终端中运行:
sudo apt-get install -f
这将满足缺少的依赖项 -dpkg
无法做到这一点。它还将Fern-Wifi-Cracker_1.6_all.deb
自动配置(完成)安装。
答案2
在终端中运行以下命令
sudo apt-get update
sudo apt-get upgrade
更新系统。然后:
sudo apt-get install aircrack-ng
然后
sudo apt-get install subversion
然后重试。这将首先安装aircrack-ng
,subversion
然后当您运行
sudo dpkg -i Fern-Wifi-Cracker_1.6_all.deb
它应该可以工作。
编辑
我已修改代码以反映对这个问题的评论。感谢您指出它们。