伙计们,我正在尝试在我的 Kali Linux 上安装 discord,但是出现了这个错误:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading state information... Done
This package is uninstallable
Dependency is not satisfiable:
libappindicator1
我尝试安装apt-get install libappindicator1
但错误仍然存在,有人知道如何解决吗?
编辑:
请注意,当我尝试通过 apt 安装时显示此错误:
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
E: Unable to locate package libappindicator1
我所知道的是,我缺少来自 source.list 的链接,但我不知道链接是什么,也不知道如何添加它
答案1
该软件包libappindicator
已从 Kali Rolling 中删除自 2021-01-19 起:
[2021-01-19] libappindicator 0.4.92-8 removed from kali-rolling (Kali Repository)
安装discord
使用snap
:
sudo apt install snapd
sudo systemctl enable --now snapd apparmor
sudo snap install discord
snap connect discord:system-observe
编辑
未找到 snapd 命令
您需要通过以下方式编辑您的 sources.list:
echo "deb http://http.kali.org/kali kali-rolling main non-free contrib" |\
sudo tee /etc/apt/sources.list
sudo apt update
sudo apt install snapd