ubuntu修复未满足依赖

问题描述:安装搜狗输入法时,提示存在依赖问题,无法安装

Selecting previously unselected package sogoupinyin.
(Reading database ... 253474 files and directories currently installed.)
Preparing to unpack sogoupinyin_4.2.1.145_amd64.deb ...
Unpacking sogoupinyin (4.2.1.145) ...
dpkg: dependency problems prevent configuration of sogoupinyin:
 sogoupinyin depends on fcitx (>= 1:4.2.8); however:
  Package fcitx is not installed.
 sogoupinyin depends on fcitx-frontend-gtk2; however:
  Package fcitx-frontend-gtk2 is not installed.
 sogoupinyin depends on fcitx-frontend-gtk3; however:
  Package fcitx-frontend-gtk3 is not installed.
 sogoupinyin depends on fcitx-frontend-qt5; however:
  Package fcitx-frontend-qt5 is not installed.
 sogoupinyin depends on fcitx-module-x11; however:
  Package fcitx-module-x11 is not installed.

dpkg: error processing package sogoupinyin (--install):
 dependency problems - leaving unconfigured
Processing triggers for mailcap (3.70+nmu1ubuntu1) ...
Processing triggers for gnome-menus (3.36.0-1ubuntu3) ...
Processing triggers for desktop-file-utils (0.26-1ubuntu3) ...
Processing triggers for hicolor-icon-theme (0.17-2) ...
Errors were encountered while processing:
 sogoupinyin

解决方案
在终端输入,会自动解决依赖问题

sudo apt --fix-broken install

再次进行安装即可


ubuntu修复未满足依赖
https://www.lihaibao.cn/2023/11/08/ubuntu修复未满足依赖/
Author
Seal Li
Posted on
November 8, 2023
Licensed under