我对终端的东西还不太熟悉,我需要你的帮助。我尝试使用 dpkg 在我的计算机上安装 XArp,但它需要软件包,而我不知道如何安装。我只尝试安装 libwxgtk2.8-0,但找不到它。它显示的内容如下:
dave@dave-HP-ProDesk-600-G2-SFF:~$ sudo dpkg -i xarp-2.2.2-amd64-ubuntu-10.04.1.deb
(Reading database ... 345629 files and directories currently installed.)
Preparing to unpack xarp-2.2.2-amd64-ubuntu-10.04.1.deb ...
Unpacking xarp (2.2.2) over (2.2.2) ...
dpkg: dependency problems prevent configuration of xarp:
xarp depends on libwxgtk2.8-0 (>= 2.8); however:
Package libwxgtk2.8-0 is not installed.
xarp depends on libxerces-c3.1 (>= 3.1); however:
Package libxerces-c3.1 is not installed.
xarp depends on menu; however:
Package menu is not installed.
xarp depends on arptables; however:
Package arptables is not installed.
dpkg: error processing package xarp (--install):
dependency problems - leaving unconfigured
Processing triggers for bamfdaemon (0.5.3+18.04.20180207.2-0ubuntu1) ...
Rebuilding /usr/share/applications/bamf-2.index...
Processing triggers for gnome-menus (3.13.3-11ubuntu1.1) ...
Processing triggers for desktop-file-utils (0.23-1ubuntu3.18.04.2) ...
Processing triggers for mime-support (3.60ubuntu1) ...
Errors were encountered while processing:
xarp
谢谢你的帮助:)
答案1
请尝试运行此命令来修复依赖错误。
~$sudo apt --fix-broken install
答案2
Xarp 包的依赖项不包含在 18.04 LTS 存储库中,但我们可以手动从 14.04 LTS 存储库中获取并安装它们(小心,他们不会收到任何安全更新) 步骤如下:
wget http://security.ubuntu.com/ubuntu/pool/main/libp/libpng/libpng12-0_1.2.50-1ubuntu2.14.04.3_amd64.deb
sudo apt install ./libpng12-0_1.2.50-1ubuntu2.14.04.3_amd64.deb
wget http://mirrors.kernel.org/ubuntu/pool/universe/w/wxwidgets2.8/libwxbase2.8-0_2.8.12.1+dfsg-2ubuntu2_amd64.deb
sudo apt install ./libwxbase2.8-0_2.8.12.1+dfsg-2ubuntu2_amd64.deb
wget http://mirrors.kernel.org/ubuntu/pool/universe/w/wxwidgets2.8/libwxgtk2.8-0_2.8.12.1+dfsg-2ubuntu2_amd64.deb
sudo apt install ./libwxgtk2.8-0_2.8.12.1+dfsg-2ubuntu2_amd64.deb
wget http://mirrors.kernel.org/ubuntu/pool/universe/x/xerces-c/libxerces-c3.1_3.1.1-5.1+deb8u4build0.14.04.1_amd64.deb
sudo apt install ./libxerces-c3.1_3.1.1-5.1+deb8u4build0.14.04.1_amd64.deb
sudo apt install ./xarp-2.2.2-amd64-ubuntu-10.04.1.deb
享受:
$ xarp --version XArp - Advanced ARP Spoofing Detection version XArp 2.2.2
答案3
您有依赖关系问题。这意味着您要手动安装的包需要其他包才能运行。尝试执行apt install -f
atrerdpkg
这应该可以解决依赖关系问题。
答案4
首先安装“apt install -f”,然后尝试使用此命令 sudo dpkg -i teamviewer_14.4.2669_amd64.deb 安装 Team Viewer