ubuntu安装向日葵

第一步:先卸载失败的向日葵

bash运行 
dpkg -r sunloginclient

第二步:手动下载并安装缺失的依赖(直接复制运行)

bash运行 
wget https://archive.ubuntu.com/ubuntu/pool/universe/g/gconf/gconf2-common_3.2.6-7ubuntu2_all.deb
 
bash运行
wget https://archive.ubuntu.com/ubuntu/pool/universe/g/gconf/libgconf-2-4_3.2.6-7ubuntu2_amd64.deb 

第三步:安装依赖包

bash运行 
dpkg -i gconf2-common_3.2.6-7ubuntu2_all.deb 
bash运行  
dpkg -i libgconf-2-4_3.2.6-7ubuntu2_amd64.deb 

第四步:最后安装向日葵

# 更新软件源列表 apt update # 手动安装核心依赖 apt install -y libdbus-glib-1-2 libgconf-2-4 # 重新配置所有未完成的包 dpkg --configure -a 功后dpkg -i SunloginClient_15.2.0.63064_amd64.deb

或者是用安装包选择应用打开程序安装

(备用方案)如果 apt 源有问题

如果 apt install -f 提示找不到 libdbus-glib-1-2,先确保系统源正常:
bash运行 
# 更新软件源列表
apt update

# 手动安装核心依赖
apt install -y libdbus-glib-1-2 libgconf-2-4

# 重新配置所有未完成的包
dpkg --configure -a# 更新软件源列表 apt update # 手动安装核心依赖 apt install -y libdbus-glib-1-2 libgconf-2-4 # 重新配置所有未完成的包 dpkg --configure -a 
# 更新软件源列表 apt update # 手动安装核心依赖 apt install -y libdbus-glib-1-2 libgconf-2-4 # 重新配置所有未完成的包 dpkg --configure -a
posted @ 2026-03-16 10:43  海宏软件  阅读(5)  评论(0)    收藏  举报