![由于“libxss1 无法满足”错误,无法安装 Skype](https://linux22.com/image/832135/%E7%94%B1%E4%BA%8E%E2%80%9Clibxss1%20%E6%97%A0%E6%B3%95%E6%BB%A1%E8%B6%B3%E2%80%9D%E9%94%99%E8%AF%AF%EF%BC%8C%E6%97%A0%E6%B3%95%E5%AE%89%E8%A3%85%20Skype.png)
我在阿联酋,所以我无法从软件中心安装 skype。我让我的朋友上传了一个 deb 文件,然后我下载了它。我用 Gdebi 包安装程序运行它,结果出现错误:
libxss1 无法满足
我尝试安装 libxss1:
sudo apt-get install libxss1
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package libxss1 is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package 'libxss1' has no installation candidate
答案1
使用 Control+Alt+T 启动终端,然后写入:
sudo dpkg --install /Path/to/libxss1.deb
忽略错误,然后:
sudo apt-get install -f
再说一遍:
sudo dpkg --install /Path/to/skype.deb
或者如果来自 repo,只需:
sudo apt-get install skype
您应该能够安装该软件包。