Ubuntu20安装向日葵

之前一直使用TeamViewer,但最近商业检测越来越频繁,于是转了向日葵,安装时libwebkit过高,导致安装失败.
因向向日葵提供的libwebkit包是4.0-37了,而向日葵依赖的是3.0.0,故需要手动作下调整.
错误信息如下:

(Reading database ... 303666 files and directories currently installed.)
Preparing to unpack SunloginClient-10.1.1.38139_amd64.deb.1 ...
sunloginclient: no process found
Sunlogin stopped
Removed /etc/systemd/system/multi-user.target.wants/runsunloginclient.service.
Unpacking sunloginclient (10.1.1.38139) over (10.1.1.38139) ...
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

需要修改sun/DEBIAN/control的配置,直接复制粘贴下面脚本到控制台执行即可

wget https://down.oray.com/sunlogin/linux/SunloginClient-10.1.1.38139_amd64.deb
dpkg-deb -X SunloginClient-10.1.1.38139_amd64.deb sun
dpkg-deb -e SunloginClient-10.1.1.38139_amd64.deb sun/DEBIAN
sed -i 's/libwebkitgtk-3.0-0/libwebkit2gtk-4.0-37/g'  sun/DEBIAN/control
dpkg-deb -b SunloginClient
sudo dpkg -i SunloginClient.deb
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值