ubuntu安装有道词典出现错误 dpkg: error processing package youdao-dict (--install): dependency problems - lea

Selecting previously unselected package youdao-dict.
(Reading database ... 165989 files and directories currently installed.)
Preparing to unpack youdao-dict_6.0.0-ubuntu-amd64.deb ...
Unpacking youdao-dict (6.0.0-0~ubuntu) ...
dpkg: dependency problems prevent configuration of youdao-dict:
 youdao-dict depends on python3-pyqt5; however:
  Package python3-pyqt5 is not installed.
 youdao-dict depends on python3-pyqt5.qtwebkit; however:
  Package python3-pyqt5.qtwebkit is not installed.
 youdao-dict depends on python3-pyqt5.qtquick; however:
  Package python3-pyqt5.qtquick is not installed.
 youdao-dict depends on python3-xlib; however:
  Package python3-xlib is not installed.
 youdao-dict depends on python3-setuptools; however:
  Package python3-setuptools is not installed.
 youdao-dict depends on libsqlite3-dev; however:
  Package libsqlite3-dev is not installed.
 youdao-dict depends on python3-dev; however:
  Package python3-dev is not installed.
 youdao-dict depends on python3-lxml; however:
  Package python3-lxml is not installed.
 youdao-dict depends on python3-pyqt5.qtmultimedia; however:
  Package python3-pyqt5.qtmultimedia is not installed.
 youdao-dict depends on qml-module-qtgraphicaleffects; however:
  Package qml-module-qtgraphicaleffects is not installed.
 youdao-dict depends on tesseract-ocr; however:
  Package tesseract-ocr is not installed.
 youdao-dict depends on tesseract-ocr-eng; however:
  Package tesseract-ocr-eng is not installed.
 youdao-dict depends on tesseract-ocr-chi-sim; however:
  Package tesseract-ocr-chi-sim is not installed.
 youdao-dict depends on tesseract-ocr-chi-tra; however:
  Package tesseract-ocr-chi-tra is not installed.
 youdao-dict depends on ttf-wqy-microhei; however:
  Package ttf-wqy-microhei is not installed.
 youdao-dict depends on python3-dev; however:
  Package python3-dev is not installed.
 youdao-dict depends on qml-module-qtquick-controls; however:
  Package qml-module-qtquick-controls is not installed.
 youdao-dict depends on libqt5multimedia5-plugins; however:
  Package libqt5multimedia5-plugins is not installed.
 youdao-dict depends on gstreamer1.0-plugins-bad; however:
  Package gstreamer1.0-plugins-bad is not installed.
 youdao-dict depends on gstreamer1.0-plugins-ugly; however:
  Package gstreamer1.0-plugins-ugly is not installed.
 youdao-dict depends on python3-opengl; however:
  Package python3-opengl is not installed.

dpkg: error processing package youdao-dict (--install):
 dependency problems - leaving unconfigured
Processing triggers for gnome-menus (3.13.3-11ubuntu1.1) ...
Processing triggers for desktop-file-utils (0.23-1ubuntu3.18.04.2) ...
Processing triggers for mime-support (3.60ubuntu1) ...
Processing triggers for hicolor-icon-theme (0.17-2) ...
Errors were encountered while processing:
 youdao-dict
 

这是因为有道词典的dep包缺少依赖

 

解决方法

安装依赖

sudo apt install -f

安装后重新安装有道词典

 

你可能感兴趣的:(Linux,Ubuntu)