[Feature Requests & Feedback] libgdal-dev软件源中依赖关系错误
Tofloor
poster avatar
MeGusta
deepin
2025-02-13 18:16
Author

安装libgdal-dev时,软件源中的libicu-dev,libtiff-dev这两个包的依赖关系貌似是错的,依赖了libicu74和libicu74的特定版本,但是实际上包版本不符,希望官方修复。

sudo apt install libgdal-dev
请输入密码:
验证成功
...
...

The following packages have unmet dependencies:
 libicu-dev : Depends: libicu74 (= 74.2-1deepin0) but 74.2-1deepin1 is to be installed
 libtiff-dev : Depends: libtiff6 (= 4.5.1+git230720-1deepin0) but 4.5.1+git230720-5 is to be installed
E: Unable to correct problems, you have held broken packages.
Error: failed to call exec command: failed to build with cumulative mode: failed to execute function: failed to prepare Debian packages: failed to execute command: unmet dependencies
Reply Favorite View the author
All Replies
MeGusta
deepin
2025-02-13 18:29
#1

使用下列命令解决:

sudo apt install libicu74=74.2-1deepin0
sudo apt install libtiff6=4.5.1+git230720-1deepin0
Reply View the author