Opensuse

如何在 opensuse 42.3 tumbleweed 上安裝 libXScrnSaver

  • February 18, 2018

我正在嘗試在 opensuse 42.3 tumbleweed 上安裝 libXScrnSaver。

由於以下錯誤,我無法成功安裝。

rajkumar@linux-7owj:~> sudo rpm -i Downloads/slack-3.0.5-0.1.fc21.x86_64.rpm 
[sudo] password for root: 
warning: Downloads/slack-3.0.5-0.1.fc21.x86_64.rpm: Header V4 RSA/SHA1 Signature, key ID bf6a7041: NOKEY
error: Failed dependencies:
       libXScrnSaver is needed by slack-3.0.5-0.1.fc21.x86_64
       libappindicator is needed by slack-3.0.5-0.1.fc21.x86_64

看起來有些圖書館不見了。

我嘗試通過以下命令安裝 libXScrnSaver,但也失敗了。

rajkumar@linux-7owj:~> sudo zypper install libappindicator
Loading repository data...
Reading installed packages...
'libappindicator' not found in package names. Trying capabilities.
No provider of 'libappindicator' found.
Resolving package dependencies...

Nothing to do.

我怎樣才能成功安裝缺少的依賴項和 slack。

我已經設法通過忽略依賴來安裝應用程序並且它可以工作。但我已經安裝了 libXScrnSaver-devel。

zypper addrepo https://download.opensuse.org/update/leap/42.3/oss//openSUSE:Leap:42.3:Update.repo

zypper ref
zypper in libXScrnSaver-devel
zypper in slack-3.0.5-0.1.fc21.x86_64.rpm*

Loading repository data...
Reading installed packages...
Resolving package dependencies...

Problem: nothing provides libXScrnSaver needed by slack-3.0.5-0.1.fc21.x86_64
Solution 1: do not install slack-3.0.5-0.1.fc21.x86_64
Solution 2: break slack-3.0.5-0.1.fc21.x86_64 by ignoring some of its dependencies

Choose from above solutions by number or cancel [1/2/c] (c): 2

引用自:https://unix.stackexchange.com/questions/424700