【问题标题】:Viber install problem on Ubuntu 20.04 Focal Fossa LinuxUbuntu 20.04 Focal Fossa Linux 上的 Viber 安装问题
【发布时间】:2020-09-01 10:46:45
【问题描述】:

我试过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 包。

有什么想法吗?

【问题讨论】:

    标签: ubuntu viber ubuntu-20.04


    【解决方案1】:

    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
    

    它会起作用的:)

    【讨论】:

    • 它适用于 Ubuntu 20.04,但第一步失败。第一步返回“libssl1.0-dev 与 libssl-dev libssl-dev 冲突:amd64(版本 1.1.1f-1ubuntu2)存在并已安装。”我能够进行身份验证、同步和发送消息。 Viber 的 Snap 版本 Viber-mtd 在身份验证尝试后死亡。
    【解决方案2】:

    要修复 Snap,您需要允许它使用音频系统。有一种命令行方法(快照连接),但我使用了软件应用程序,找到了 Viber 快照并单击“权限”。

    【讨论】:

      【解决方案3】:

      简单的安装方式 - 在终端中输入:

      snap install viber-unofficial
      

      就是这样 :) 奔跑吧,尽情享受吧!

      【讨论】:

        【解决方案4】:

        我下载了 20.04 中包含的两个版本 - 均无效,无法与我的智能手机建立连接。然后我尝试直接从 Rakuten.Viber 网站下载 .deb 软件。这似乎更进一步,但并不多。然后我碰巧让我的电脑开了很多天,运行了很多程序,就在删除 Viber 程序之前,我想我会再试一次。它奏效了!我重新同步了聊天 - 一切正常 :-)

        所以 - 也许我运行的东西设置了计算机,以便“初始连接”阶段可以工作。谁知道。我们将在我重新启动桌面后看看它是否继续工作......

        【讨论】:

          猜你喜欢
          • 2020-12-06
          • 2020-11-11
          • 2021-02-24
          • 2021-08-06
          • 1970-01-01
          • 1970-01-01
          • 1970-01-01
          • 2021-12-08
          • 2022-01-03
          相关资源
          最近更新 更多