Ubuntu20.04 安装向日葵SunloginClient并解决报错libwebkitgtk-3.0-0 is not installed,解决缺少依赖问题

Ubuntu20.04 安装向日葵SunloginClient并解决报错libwebkitgtk-3.0-0 is not installed,解决缺少依赖问题

原链接1
原链接2

首先在向日葵官网下载对应版本
向日葵软件官网

1.安装过程

cd Downloads
sudo dpkg -i *** # ***为下载软件包的名称

如果没有报错就成够了,但是有时会显示如下情况,安装失败
报错libwebkitgtk-3.0-0 is not installed,缺少依赖问题

Selecting previously unselected package sunloginclient.
(Reading database ... 255622 files and directories currently installed.)
Preparing to unpack SunloginClient-10.0.2.24779_amd64 (1).deb ...
Unpacking sunloginclient (10.0.2-24779) ...
dpkg: dependency problems prevent configuration of sunloginclient:
 sunloginclient depends on libwebkitgtk-3.0-0; however:
  Package libwebkitgtk-3.0-0 is not installed.

dpkg: error processing package sunloginclient (--install):
 dependency problems - leaving unconfigured
Processing triggers for desktop-file-utils (0.24-1ubuntu3) ...
Processing triggers for gnome-menus (3.36.0-1ubuntu1) ...
Processing triggers for mime-support (3.64ubuntu1) ...
Errors were encountered while processing:
 sunloginclient

2 .解决方案

在/etc/apt/source.list 里加上deb http://cz.archive.ubuntu.com/ubuntu bionic main universe

sudo gedit  /etc/apt/source.list 
#然后复制 deb http://cz.archive.ubuntu.com/ubuntu bionic main universe 到文件夹
sudo apt-get update
sudo apt-get install -f

就可以修复依赖了
然后重新执行

sudo dpkg -i *** # ***为下载软件包的名称

即可安装成功
点击左下角,在软件中找到向日葵软件,大功告成
Ubuntu20.04 安装向日葵SunloginClient并解决报错libwebkitgtk-3.0-0 is not installed,解决缺少依赖问题_第1张图片

你可能感兴趣的:(ubuntu,ubuntu,apt,linux)