Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

install viber on debian 9

If none of the specific sub-forums seem right for your thread, ask here.
Post Reply
Message
Author
lilyana
Posts: 19
Joined: 2017-11-07 15:28

install viber on debian 9

#1 Post by lilyana »

I'm trying to install viber on debian by use this command

Code: Select all

   # wget http://download.cdn.viber.com/cdn/desktop/Linux/Viber.zip
# unzip Viber.zip
# cd Viber
# ./Viber.sh
the first time I have this message

Code: Select all

Failed to load module "canberra-gtk-module

after that I install it by

Code: Select all

sudo apt-get install libcanberra-gtk-module
the other error is

Code: Select all

E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
when use update I have the same problem I can not install canberra-gtk-module , how can solve it??

steve_v
df -h | grep > 20TiB
df -h | grep > 20TiB
Posts: 1400
Joined: 2012-10-06 05:31
Location: /dev/chair
Has thanked: 79 times
Been thanked: 175 times

Re: install viber on debian 9

#2 Post by steve_v »

For a start, post the complete output of 'apt install canberra-gtk-module'.
The error you mentioned points to download issues, it should be available in Stretch, so it might be worth trying another mirror.
Once is happenstance. Twice is coincidence. Three times is enemy action. Four times is Official GNOME Policy.

lilyana
Posts: 19
Joined: 2017-11-07 15:28

Re: install viber on debian 9

#3 Post by lilyana »

steve_v wrote:For a start, post the complete output of 'apt install canberra-gtk-module'.
The error you mentioned points to download issues, it should be available in Stretch, so it might be worth trying another mirror.

Code: Select all

sudo apt-get install libcanberra-gtk-module
[sudo] password for sara: 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following additional packages will be installed:
  libcanberra-gtk0
The following NEW packages will be installed:
  libcanberra-gtk-module libcanberra-gtk0
0 upgraded, 2 newly installed, 0 to remove and 41 not upgraded.
Need to get 0 B/32.7 kB of archives.
After this operation, 88.1 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
dpkg: warning: 'ldconfig' not found in PATH or not executable
dpkg: warning: 'start-stop-daemon' not found in PATH or not executable
dpkg: error: 2 expected programs not found in PATH or not executable
Note: root's PATH should usually contain /usr/local/sbin, /usr/sbin and /sbin
E: Sub-process /usr/bin/dpkg returned an error code (2)

User avatar
stevepusser
Posts: 12930
Joined: 2009-10-06 05:53
Has thanked: 41 times
Been thanked: 71 times

Re: install viber on debian 9

#4 Post by stevepusser »

Your system is damaged. Have you been adding non-Debian repositories?
MX Linux packager and developer

lilyana
Posts: 19
Joined: 2017-11-07 15:28

Re: install viber on debian 9

#5 Post by lilyana »

I'm try now !!!

Code: Select all

$ sudo apt-get install libcanberra-gtk-module
[sudo] password for sara: 
E: Could not get lock /var/lib/dpkg/lock - open (11: Resource temporarily unavailable)
E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?

User avatar
debiman
Posts: 3063
Joined: 2013-03-12 07:18

Re: install viber on debian 9

#6 Post by debiman »

lilyana wrote:

Code: Select all

dpkg: warning: 'ldconfig' not found in PATH or not executable
dpkg: warning: 'start-stop-daemon' not found in PATH or not executable
dpkg: error: 2 expected programs not found in PATH or not executable
Note: root's PATH should usually contain /usr/local/sbin, /usr/sbin and /sbin
E: Sub-process /usr/bin/dpkg returned an error code (2)
wow, something is really broken here.
since we cannot come to your house and fix it for you, i suggest a reinstall.
and be more careful in the future. this includes running downloaded scripts without knowing what they're doing, esp. if they're asking for your password or have to be executed with superuser privileges.

steve_v
df -h | grep > 20TiB
df -h | grep > 20TiB
Posts: 1400
Joined: 2012-10-06 05:31
Location: /dev/chair
Has thanked: 79 times
Been thanked: 175 times

Re: install viber on debian 9

#7 Post by steve_v »

lilyana wrote:

Code: Select all

E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?
Exactly as it says. You likely have some GUI package manager running, or apt in another console. Either that or you have forcibly killed dpkg at some point and need to remove the lockfile.

You have bigger problems than being unable to install viber, if your system is missing ldconfig and start-stop daemon. Check that these binaries actually exist. If they do, your PATH variable is messed up, if not, you have somehow managed to remove critical parts of the base system. In the latter case, you may be able to reinstall the relevant packages (dpkg & libc-bin)... but a reinstall will probably be easier.

I'm curious as to how an install can get into this state to begin with, TBH.
Once is happenstance. Twice is coincidence. Three times is enemy action. Four times is Official GNOME Policy.

Wheelerof4te
Posts: 1454
Joined: 2015-08-30 20:14

Re: install viber on debian 9

#8 Post by Wheelerof4te »

My advice is to reinstall Debian Stable, since you have broken it.

To install Viber on Debian 9, you will need one package from Debian 8 (Jessie), libssl1.0.0

Get it from here.

lilyana
Posts: 19
Joined: 2017-11-07 15:28

Re: install viber on debian 9

#9 Post by lilyana »

I cannot reinstall again . :(

lilyana
Posts: 19
Joined: 2017-11-07 15:28

Re: install viber on debian 9

#10 Post by lilyana »

Wheelerof4te wrote:My advice is to reinstall Debian Stable, since you have broken it.

To install Viber on Debian 9, you will need one package from Debian 8 (Jessie), libssl1.0.0

Get it from here.
Can you give me the command how can install after download it please.

steve_v
df -h | grep > 20TiB
df -h | grep > 20TiB
Posts: 1400
Joined: 2012-10-06 05:31
Location: /dev/chair
Has thanked: 79 times
Been thanked: 175 times

Re: install viber on debian 9

#11 Post by steve_v »

lilyana wrote:Can you give me the command how can install after download it please.
dpkg -i <package filename.deb>

But again, if you are missing parts of dpkg and libc-bin your install is horribly borked. We have no idea what else is broken or how it got that way (FrankenDebian, anyone?), so there's no guarantee any advice given here will actually work.
Your best option is to reinstall the OS. Failing that, ignore this viber thing for a minute and concentrate on fixing the bigger problem. Then, when the rest of the system is in a predictable not-borked state, installing viber will go smoothly.

A good start would be to figure out how broken this install is.
Have you checked if ldconfig and start-stop-daemon exist in /sbin/?
What's in your sources.list, and what does 'echo $PATH' say when run as root?
Once is happenstance. Twice is coincidence. Three times is enemy action. Four times is Official GNOME Policy.

arochester
Emeritus
Emeritus
Posts: 2435
Joined: 2010-12-07 19:55
Has thanked: 14 times
Been thanked: 54 times

Re: install viber on debian 9

#12 Post by arochester »

I cannot reinstall again. :(
Why?

Wheelerof4te
Posts: 1454
Joined: 2015-08-30 20:14

Re: install viber on debian 9

#13 Post by Wheelerof4te »

lilyana wrote:dpkg -i <package filename.deb>
That is the old way. New one, which will solve dependencies too, is

Code: Select all

apt install ./<package filename.deb>
You need to be in the directory where the .deb file is.


lilyana
Posts: 19
Joined: 2017-11-07 15:28

Re: install viber on debian 9

#15 Post by lilyana »

arochester wrote:
I cannot reinstall again. :(
Why?
All my work on this OS and the installation take time

Wheelerof4te
Posts: 1454
Joined: 2015-08-30 20:14

Re: install viber on debian 9

#16 Post by Wheelerof4te »

All my work on this OS and the installation take time
https://www.ubuntu.com/download/desktop

Debian may not be for you. Installing Ubuntu won't take more than 20-30 mins depending on your hardware. Ubuntu also does not need hunting for random lib packages to install Viber. While I'm at it, use Software Center, don't unzip .deb file.
As with any install, backup all data on an separate drive.

steve_v
df -h | grep > 20TiB
df -h | grep > 20TiB
Posts: 1400
Joined: 2012-10-06 05:31
Location: /dev/chair
Has thanked: 79 times
Been thanked: 175 times

Re: install viber on debian 9

#17 Post by steve_v »

Wheelerof4te wrote:That is the old way.
How did that creep in without my noticing?
Once is happenstance. Twice is coincidence. Three times is enemy action. Four times is Official GNOME Policy.

arochester
Emeritus
Emeritus
Posts: 2435
Joined: 2010-12-07 19:55
Has thanked: 14 times
Been thanked: 54 times

Re: install viber on debian 9

#18 Post by arochester »

All my work on this OS and the installation take time
Non-working system.

1) Copy you Home to an external drive
2) Reinstall (The installation should not take a long time.)
3) Copy your Home back

Working system

Post Reply