处理Ubuntu Destop 24.04 安装向日葵远程客户端 Package libgconf-2-4 is not installed 异常

61 阅读1分钟

在向日葵官网的客户端,按照官方的步骤安装,报错如下:

Selecting previously unselected package sunloginclient.
(Reading database ... 158334 files and directories currently installed.)
Preparing to unpack SunloginClient_15.2.0.63064_amd64.deb ...
Unpacking sunloginclient (15.2.0.63064) ...
dpkg: dependency problems prevent configuration of sunloginclient:
 sunloginclient depends on libgconf-2-4; however:
  Package libgconf-2-4 is not installed.

查看官网上的提示,用命令 sudo apt-get install -f -y 修复,依旧没有生效。

使用 sudo apt-get install libgconf-2-4 也下载不来,说明软件源中已经没有包含 libgconf-2-4 软件包,所以用 sudo apt-get install -f -y 命令修复会因为找不到 libgconf-2-4 包的问题。

所以只能自己下载并安装缺失的依赖:

下载依赖:

sudo wget http://th.archive.ubuntu.com/ubuntu/pool/universe/g/gconf/libgconf-2-4_3.2.6-7ubuntu2_amd64.deb sudo wget http://th.archive.ubuntu.com/ubuntu/pool/universe/g/gconf/gconf2-common_3.2.6-7ubuntu2_all.deb

安装依赖:

sudo dpkg -i gconf2-common_3.2.6-7ubuntu2_all.deb sudo dpkg -i libgconf-2-4_3.2.6-7ubuntu2_amd64.deb

重新安装向日葵客户端,成功。