web-dev-qa-db-ja.com

Viberのインストール中に依存パッケージが見つからない

タイトルが言うように、Viberが必要とするいくつかのパッケージがありません。私はUbuntuにまったく慣れていない。誰でも私を案内できますか?ありがとう

Selecting previously unselected package viber.
(Reading database ... 183037 files and directories currently installed.)
Preparing to unpack viber.deb ...
Unpacking viber (10.3.0.37) ...
dpkg: dependency problems prevent configuration of viber:
 viber depends on libssl1.0.0; however:
  Package libssl1.0.0 is not installed.
 viber depends on gstreamer1.0-plugins-ugly; however:
  Package gstreamer1.0-plugins-ugly is not installed.
 viber depends on gstreamer1.0-libav; however:
  Package gstreamer1.0-libav is not installed.

dpkg: error processing package viber (--install):
 dependency problems - leaving unconfigured
Processing triggers for gnome-menus (3.32.0-1ubuntu1) ...
Processing triggers for desktop-file-utils (0.23-4ubuntu1) ...
Processing triggers for mime-support (3.60ubuntu1) ...
Processing triggers for hicolor-icon-theme (0.17-2) ...
Errors were encountered while processing:
 viber
2
the newbie

@ fkraiemcomments 内に記述されているように、何らかの理由で、パッケージlibssl1.0.0Ubuntu 19.04のリポジトリ。おそらくこれはバグとしてUbuntuのチームに報告する必要があります。幸い、18.10のリポジトリからこのパッケージをダウンロードしてインストールできます。

ダウンロードページ に移動し、security.ubuntu.com/ubuntuリンク(ページの中央にあります)をクリックすると、インストールダイアログが開始されます。その後、Viberをインストールできます。

CLIからすべて一緒に:

Sudo apt update

# download and install the dependencies
wget http://security.ubuntu.com/ubuntu/pool/main/o/openssl1.0/libssl1.0.0_1.0.2n-1ubuntu6.2_AMD64.deb
Sudo apt install ./libssl1.0.0_1.0.2n-1ubuntu6.2_AMD64.deb 

# download and install Viber
wget http://download.cdn.viber.com/cdn/desktop/Linux/viber.deb
Sudo apt install ./viber.deb

# just in case
Sudo apt install --fix-broken

Ubuntu 16.04-18.04のために証明された元の答え:

Viberをインストールしていた最後の数回、aptのオプション--fix-brokenパッケージを使用して、いくつかの依存関係を手動でインストールする必要がありました... Viberを新しいUbuntu 18.04にインストールしようとしたところ、 error 、しかしそれはあなたのものとは異なります。言及されたアプローチは問題を再び解決しました。ここにあります:

Sudo apt update
wget http://download.cdn.viber.com/cdn/desktop/Linux/viber.deb
Sudo dpkg -i viber.deb
Sudo apt install -f
2
pa4080