Ubuntu20.04 install sunflower SunloginClient and solve the problem of missing dependencies

First download the corresponding version on
Sunflower's official website. Sunlogin's official website: https://sunlogin.oray.com/download

1. Installation process

Switch to the directory where you downloaded the installation package

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

If no error is reported, it is enough, but sometimes the following situation is displayed, the installation fails and the
error libwebkitgtk-3.0-0 is not installed is
reported , and the dependency is missing. An error is reported:

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. Solution

Add deb to /etc/apt/source.list 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

You can fix the dependencies
and re-execute

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

Then the installation is successful.
Click the lower left corner, find the sunflower software in the software, and you’re
Insert picture description heredone!

Guess you like

Origin blog.csdn.net/qq_43030934/article/details/112978176