Ubuntu 20.04 Focal Fossa Linux上的Viber安装问题

时间:2020-05-15 14:52:54

标签: ubuntu viber ubuntu-20.04

我尝试过this描述。使用snap的安装成功,但是在配置Viber之后,出现以下错误消息:

Qt: Session management error: None of the authentication protocols specified are supported
sh: 1: xdg-mime: not found
Qt WebEngine ICU data not found at /snap/viber-mtd/17/opt/viber/resources. Trying parent directory...
Qt WebEngine resources not found at /snap/viber-mtd/17/opt/viber/resources. Trying parent directory...
[15972:15972:0515/162634.438831:FATAL:credentials.cc(155)] Check failed: NamespaceUtils::DenySetgroups(). : Permission denied
#0 0x7fa98b6aa11e base::debug::StackTrace::StackTrace()
#1 0x7fa98b6babde logging::LogMessage::~LogMessage()
#2 0x7fa98b6bae99 logging::ErrnoLogMessage::~ErrnoLogMessage()
#3 0x7fa98c3acf7c sandbox::(anonymous namespace)::SetGidAndUidMaps()
#4 0x7fa98c3ad5d5 sandbox::Credentials::CanCreateProcessInNewUserNS()
#5 0x7fa98b31dde5 content::ZygoteHostImpl::Init()
#6 0x7fa98afd0314 content::BrowserMainLoop::EarlyInitialization()
#7 0x7fa98afd4190 content::BrowserMainRunnerImpl::Initialize()
#8 0x7fa98add9d19 QtWebEngineCore::WebEngineContext::WebEngineContext()
#9 0x7fa98addb135 QtWebEngineCore::WebEngineContext::current()
#10 0x7fa98ad78931 QtWebEngineCore::BrowserContextAdapter::defaultContext()
#11 0x7fa993091618 QQuickWebEngineProfile::defaultProfile()
#12 0x0000006ac8bf ApplicationPrivate::preRunningInitialization()
#13 0x0000006a6504 ViberApplication::start()
#14 0x00000067e25b ViberMain()
#15 0x7fa987d7e830 __libc_start_main
#16 0x0000004d7047 <unknown>

Qt WebEngine ICU data not found at /snap/viber-mtd/17/opt/viber/resources. Trying parent directory...
Qt WebEngine resources not found at /snap/viber-mtd/17/opt/viber/resources. Trying parent directory...
shm_open() failed: Permission denied
shm_open() failed: Permission denied
ALSA lib conf.c:3750:(snd_config_update_r) Cannot access file /usr/share/alsa/alsa.conf
ALSA lib control.c:954:(snd_ctl_open_noupdate) Invalid CTL 
ALSA lib conf.c:3750:(snd_config_update_r) Cannot access file /usr/share/alsa/alsa.conf
ALSA lib control.c:954:(snd_ctl_open_noupdate) Invalid CTL 
ALSA lib conf.c:3750:(snd_config_update_r) Cannot access file /usr/share/alsa/alsa.conf
ALSA lib control.c:954:(snd_ctl_open_noupdate) Invalid CTL 
ALSA lib conf.c:3750:(snd_config_update_r) Cannot access file /usr/share/alsa/alsa.conf
ALSA lib pcm.c:2266:(snd_pcm_open_noupdate) Unknown PCM 
ALSA lib conf.c:3750:(snd_config_update_r) Cannot access file /usr/share/alsa/alsa.conf
ALSA lib control.c:954:(snd_ctl_open_noupdate) Invalid CTL 
ALSA lib conf.c:3750:(snd_config_update_r) Cannot access file /usr/share/alsa/alsa.conf
ALSA lib pcm.c:2266:(snd_pcm_open_noupdate) Unknown PCM 
shm_open() failed: Permission denied
PulseAudioService: pa_context_connect() failed
shm_open() failed: Permission denied
PulseAudioService: pa_context_connect() failed
Assertion 'pthread_mutex_unlock(&m->mutex) == 0' failed at pulsecore/mutex-posix.c:108, function pa_mutex_unlock(). Aborting.

之后,我将其删除,并尝试了第二种方法(从deb软件包安装)。但是找不到引用的libssl软件包。

有什么主意吗?

3 个答案:

答案 0 :(得分:4)

libssl软件包的位置不正确。

访问http://archive.ubuntu.com/ubuntu/pool/main/o/openssl1.0/网站,并下载libssl文件之一。在我访问的那一刻,我已经下载了一个 libssl1.0.0_1.0.2n-1ubuntu5.3_amd64.deb 文件。

之后:

sudo dpkg -i libssl1.0.0_1.0.2n-1ubuntu5.3_amd64.deb
wget https://download.cdn.viber.com/cdn/desktop/Linux/viber.deb
sudo dpkg -i viber.deb

如果有一些依赖要求,请运行:

apt-get install -f

它将起作用:)

答案 1 :(得分:1)

要修复快照,您需要允许其使用音频系统的权限。有一种命令行方式(捕捉连接),但是我使用了软件应用程序,找到了Viber快照,然后单击“权限”。

答案 2 :(得分:0)

易于安装的方法-输入您的终端:

snap install viber-unofficial

仅此而已:)尽情享受吧!