Tools:Ubuntu系统安装向日葵

参考链接:
https://blog.csdn.net/zhang24qin/article/details/103611923


向日葵应用下载界面:
https://sunlogin.oray.com/personal/download


向日葵应用下载命令:

wget http://download.oray.com/sunlogin/linux/SunloginClient-10.0.2.24779_amd64.deb

安装命令:
 sudo dpkg -i SunloginClient-10.0.2.24779_amd64.deb

安装log:

adams@adams-VirtualBox:~/neo$ wget http://download.oray.com/sunlogin/linux/SunloginClient-10.0.2.24779_amd64.deb
--2020-03-17 13:20:32--  http://download.oray.com/sunlogin/linux/SunloginClient-10.0.2.24779_amd64.deb
正在解析主机 download.oray.com (download.oray.com)... 124.200.113.20, 124.200.113.161, 219.238.20.87, ...
正在连接 download.oray.com (download.oray.com)|124.200.113.20|:80... 已连接。
已发出 HTTP 请求,正在等待回应... 200 OK
长度: 13958316 (13M) [application/octet-stream]
正在保存至: “SunloginClient-10.0.2.24779_amd64.deb”

SunloginClient-10.0.2.24779_amd64.deb                       100%[========================================================================================================================================>]  13.31M  1.70MB/s    用时 7.6s  

2020-03-17 13:20:41 (1.75 MB/s) - 已保存 “SunloginClient-10.0.2.24779_amd64.deb” [13958316/13958316])

adams@adams-VirtualBox:~/neo$ sudo dpkg -i SunloginClient-10.0.2.24779_amd64.deb 
[sudo] adams 的密码: 
正在选中未选择的软件包 sunloginclient。
(正在读取数据库 ... 系统当前共安装有 364223 个文件和目录。)
准备解压 SunloginClient-10.0.2.24779_amd64.deb  ...
正在解压 sunloginclient (10.0.2-24779) ...
dpkg: 依赖关系问题使得 sunloginclient 的配置工作不能继续:
 sunloginclient 依赖于 libwebkitgtk-3.0-0;然而:
  未安装软件包 libwebkitgtk-3.0-0。

dpkg: 处理软件包 sunloginclient (--install)时出错:
 依赖关系问题 - 仍未被配置
正在处理用于 desktop-file-utils (0.24-1ubuntu1) 的触发器 ...
正在处理用于 bamfdaemon (0.5.3+18.04.20180207.2-0ubuntu1) 的触发器 ...
Rebuilding /usr/share/applications/bamf-2.index...
正在处理用于 mime-support (3.63ubuntu1) 的触发器 ...
在处理时有错误发生:
 sunloginclient
adams@adams-VirtualBox:~/neo$ 


缺少依赖:libwebkitgtk-3.0-0


解决方法:

deb http://cz.archive.ubuntu.com/ubuntu bionic main universe

添加到源文件中,

sudo apt update
sudo apt --fix-broken install

解决掉依赖问题,就可以安装向日葵了。

adams@adams-VirtualBox:~/neo$ sudo cp /etc/apt/sources.list /etc/apt/sources.list_back
adams@adams-VirtualBox:~/neo$ sudo vim /etc/apt/sources.list
adams@adams-VirtualBox:~/neo$ sudo apt update
命中:1 http://cn.archive.ubuntu.com/ubuntu eoan InRelease                                    
获取:2 http://cn.archive.ubuntu.com/ubuntu eoan-updates InRelease [97.5 kB]                  
获取:3 http://security.ubuntu.com/ubuntu eoan-security InRelease [97.5 kB]                      
获取:4 http://cn.archive.ubuntu.com/ubuntu eoan-backports InRelease [88.8 kB]                                
获取:5 http://archive.ubuntukylin.com:10006/ubuntukylin bionic InRelease [15.9 kB]                          
获取:6 http://cn.archive.ubuntu.com/ubuntu eoan-updates/universe Sources [26.2 kB]                          
获取:7 http://cn.archive.ubuntu.com/ubuntu eoan-updates/main Sources [79.8 kB]
获取:8 http://cn.archive.ubuntu.com/ubuntu eoan-updates/restricted Sources [1,860 B]
获取:9 http://cn.archive.ubuntu.com/ubuntu eoan-updates/main amd64 Packages [233 kB]
获取:10 http://cn.archive.ubuntu.com/ubuntu eoan-updates/main i386 Packages [180 kB]                                                                                                                                                        
获取:11 http://cn.archive.ubuntu.com/ubuntu eoan-updates/main Translation-en [88.5 kB]                                                                                                                                                      
获取:12 http://cn.archive.ubuntu.com/ubuntu eoan-updates/restricted amd64 Packages [11.7 kB]                                                                                                                                                
获取:13 http://cn.archive.ubuntu.com/ubuntu eoan-updates/restricted Translation-en [1,740 B]                                                                                                                                                
获取:14 http://cn.archive.ubuntu.com/ubuntu eoan-updates/universe Translation-en [63.3 kB]                                                                                                                                                  
获取:15 http://cz.archive.ubuntu.com/ubuntu bionic InRelease [242 kB]                                                                                                                                                                       
命中:16 http://archive.ubuntu.com/ubuntu eoan InRelease                                                                                                                                                                                     
获取:17 http://cz.archive.ubuntu.com/ubuntu bionic/main i386 Packages [1,007 kB]                                                                                                                                                            
获取:18 http://cz.archive.ubuntu.com/ubuntu bionic/main amd64 Packages [1,019 kB]                                                                                                                                                           
获取:19 http://cz.archive.ubuntu.com/ubuntu bionic/main Translation-en [516 kB]                                                                                                                                                             
获取:20 http://cz.archive.ubuntu.com/ubuntu bionic/main Translation-zh_CN [67.7 kB]                                                                                                                                                         
获取:21 http://cz.archive.ubuntu.com/ubuntu bionic/universe amd64 Packages [8,570 kB]                                                                                                                                                       
获取:22 http://cz.archive.ubuntu.com/ubuntu bionic/universe i386 Packages [8,531 kB]                                                                                                                                                        
获取:23 http://cz.archive.ubuntu.com/ubuntu bionic/universe Translation-en [4,941 kB]                                                                                                                                                       
获取:24 http://cz.archive.ubuntu.com/ubuntu bionic/universe Translation-zh_CN [174 kB]                                                                                                                                                      
已下载 26.1 MB,耗时 35秒 (750 kB/s)                                                                                                                                                                                                        
正在读取软件包列表... 完成
正在分析软件包的依赖关系树       
正在读取状态信息... 完成       
有 107 个软件包可以升级。请执行 ‘apt list --upgradable’ 来查看它们。
adams@adams-VirtualBox:~/neo$ sudo apt --fix-broken install
正在读取软件包列表... 完成
正在分析软件包的依赖关系树       
正在读取状态信息... 完成       
正在修复依赖关系... 完成
将会同时安装下列软件:
  libicu60 libjavascriptcoregtk-3.0-0 libwebkitgtk-3.0-0
下列【新】软件包将被安装:
  libicu60 libjavascriptcoregtk-3.0-0 libwebkitgtk-3.0-0
升级了 0 个软件包,新安装了 3 个软件包,要卸载 0 个软件包,有 107 个软件包未被升级。
有 1 个软件包没有被完全安装或卸载。
需要下载 17.9 MB 的归档。
解压缩后会消耗 74.5 MB 的额外空间。
您希望继续执行吗? [Y/n] y
获取:1 http://cz.archive.ubuntu.com/ubuntu bionic/main amd64 libicu60 amd64 60.2-3ubuntu3 [8,054 kB]
获取:2 http://cz.archive.ubuntu.com/ubuntu bionic/universe amd64 libjavascriptcoregtk-3.0-0 amd64 2.4.11-3ubuntu3 [1,844 kB]                                                                                                                
获取:3 http://cz.archive.ubuntu.com/ubuntu bionic/universe amd64 libwebkitgtk-3.0-0 amd64 2.4.11-3ubuntu3 [8,030 kB]                                                                                                                        
已下载 17.9 MB,耗时 18秒 (1,004 kB/s)                                                                                                                                                                                                      
正在选中未选择的软件包 libicu60:amd64。
(正在读取数据库 ... 系统当前共安装有 364260 个文件和目录。)
准备解压 .../libicu60_60.2-3ubuntu3_amd64.deb  ...
正在解压 libicu60:amd64 (60.2-3ubuntu3) ...
正在选中未选择的软件包 libjavascriptcoregtk-3.0-0:amd64。
准备解压 .../libjavascriptcoregtk-3.0-0_2.4.11-3ubuntu3_amd64.deb  ...
正在解压 libjavascriptcoregtk-3.0-0:amd64 (2.4.11-3ubuntu3) ...
正在选中未选择的软件包 libwebkitgtk-3.0-0:amd64。
准备解压 .../libwebkitgtk-3.0-0_2.4.11-3ubuntu3_amd64.deb  ...
正在解压 libwebkitgtk-3.0-0:amd64 (2.4.11-3ubuntu3) ...
正在设置 libicu60:amd64 (60.2-3ubuntu3) ...
正在设置 libjavascriptcoregtk-3.0-0:amd64 (2.4.11-3ubuntu3) ...
正在设置 libwebkitgtk-3.0-0:amd64 (2.4.11-3ubuntu3) ...
正在设置 sunloginclient (10.0.2-24779) ...
Created symlink /etc/systemd/system/multi-user.target.wants/runsunloginclient.service → /etc/systemd/system/runsunloginclient.service.
正在处理用于 libc-bin (2.30-0ubuntu2) 的触发器 ...
adams@adams-VirtualBox:~/neo$ sudo dpkg -i SunloginClient-10.0.2.24779_amd64.deb 
(正在读取数据库 ... 系统当前共安装有 364345 个文件和目录。)
准备解压 SunloginClient-10.0.2.24779_amd64.deb  ...
sunloginclient: 未找到进程
Sunlogin stopped
Removed /etc/systemd/system/multi-user.target.wants/runsunloginclient.service.
正在解压 sunloginclient (10.0.2-24779) 并覆盖 (10.0.2-24779) ...
正在设置 sunloginclient (10.0.2-24779) ...
Created symlink /etc/systemd/system/multi-user.target.wants/runsunloginclient.service → /etc/systemd/system/runsunloginclient.service.
正在处理用于 desktop-file-utils (0.24-1ubuntu1) 的触发器 ...
正在处理用于 bamfdaemon (0.5.3+18.04.20180207.2-0ubuntu1) 的触发器 ...
Rebuilding /usr/share/applications/bamf-2.index...
正在处理用于 mime-support (3.63ubuntu1) 的触发器 ...
adams@adams-VirtualBox:~/neo$ 

在这里插入图片描述

  • 3
    点赞
  • 11
    收藏
    觉得还不错? 一键收藏
  • 1
    评论
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值