I was trying to install viber using .deb package :
dpkg --install viber.deb
and got the following error :
Selecting previously unselected package viber.
(Reading database ... 373332 files and directories currently installed.)
Preparing to unpack viber.deb ...
Unpacking viber (12.0.0.7) ...
dpkg: dependency problems prevent configuration of viber:
viber depends on libssl1.0.0; however:
Package libssl1.0.0:amd64 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 bamfdaemon (0.5.3+18.04.20180207.2-0ubuntu1) ...
Rebuilding /usr/share/applications/bamf-2.index...
Processing triggers for hicolor-icon-theme (0.17-2) ...
Errors were encountered while processing:
viber
Since then I haven't been able to do anything using apt. I always get:
sudo apt install viber
Reading package lists... Done
Building dependency tree
Reading state information... Done
viber is already the newest version (12.0.0.7).
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
viber : Depends: libssl1.0.0 but it is not installable
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).
The problem is, when I try:
apt --fix-broken install
I get:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following packages will be REMOVED:
viber
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 346 GB disk space will be freed.
Do you want to continue? [Y/n]
Is it normal that it says my whole disk space is going to be freed? Otherwise what should I do to fix this?
libssl1.0.0
was dropped in favor of a newer version (libssl1.1
) after Ubuntu 18.04. Be sure to tell Viber that their package is old and stale. If you havelibssl1.1
already installed (most folks do), then trysudo apt install --force-depends /path/to/viber.deb
. Alternately, viber seems available as a snap (snap search viber
) – user535733 Mar 15 '20 at 12:15sudo dpkg --install --ignore-depends /path/to/viber.deb
The--ignore-depends
flag converts fatal errors into mere warnings. There is no guarantee the software will work with the newer libssl, but it's worth a try. – user535733 Mar 15 '20 at 15:27dpkg --force-all -i viber.deb
but i still have a problem with apt, for example i cannot run apt autoremove it still says that I have unmet dependencies, is there a way to fix it ? – Walid Mar 15 '20 at 15:45