UBUNTU18.04 安装向日葵SUNLOGINCLIENT并解决报错LIBWEBKITGTK-3.0-0 IS NOT INSTALLED,解决缺少依赖问题

1. 安装过程

向日葵官网下载
https://sunlogin.oray.com/download/

如果没有报错就成够了,但是有时会显示如下情况,安装失败
报错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 *** # ***为下载软件包的名称
posted @ 2020-11-30 10:51  超强磁铁  阅读(2576)  评论(0编辑  收藏  举报