您现在的位置是:首页 > 技术人生 > 服务器相关服务器相关

ubuntu 22.04 安装向日葵报错失败

高晓波2025-02-19【服务器相关】人已围观

简介ubuntu 22.04图形化界面版在安装向日葵远程控制时,点击安装包安装没有反应,一闪而过;通过dpkg命令安装报错。

ubuntu 22.04图形化界面版在安装向日葵远程控制时,点击安装包安装没有反应,一闪而过;通过dpkg命令安装报错。
 
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


解决方案:

在/etc/apt/source.list 里加上deb http://cz.archive.ubuntu.com/ubuntu bionic main universe
 
sudo vi /etc/apt/sources.list 
#添加 deb http://cz.archive.ubuntu.com/ubuntu bionic main universe 
sudo apt-get update
sudo apt-get install -f

不幸,报错:
root@airlink-TPC-300-X2XXX:~# apt-get update
命中:1 http://security.ubuntu.com/ubuntu jammy-security InRelease
获取:2 http://cz.archive.ubuntu.com/ubuntu bionic InRelease [242 kB]         
错误:2 http://cz.archive.ubuntu.com/ubuntu bionic InRelease                  
  由于没有公钥,无法验证下列签名: NO_PUBKEY 3B4FE6ACC0B21F32
命中:3 http://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy InRelease
命中:4 http://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy-updates InRelease
命中:5 http://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy-backports InRelease
正在读取软件包列表... 完成
W: GPG 错误:http://cz.archive.ubuntu.com/ubuntu bionic InRelease: 由于没有公钥,无法验证下列签名: NO_PUBKEY 3B4FE6ACC0B21F32
E: 仓库 “http://cz.archive.ubuntu.com/ubuntu bionic InRelease” 没有数字签名。
N: 无法安全地用该源进行更新,所以默认禁用该源。
N: 参见 apt-secure(8) 手册以了解仓库创建和用户配置方面的细节。

解决没有公钥的报错:
#此处3B4FE6ACC0B21F32需要是上面错误提示的那些key
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 3B4FE6ACC0B21F32

重新apt-get update后正常,就是太慢了....

重新安装向日葵,正常。

 

Tags:

很赞哦! ()

文章评论