gpt4 book ai didi

linux - 在 10.04 lucid 上离线安装 g++ 会产生循环依赖

转载 作者:太空宇宙 更新时间:2023-11-04 11:29:56 24 4
gpt4 key购买 nike

当我尝试安装离线 g++-4.4 包时,它提供了对 libstdc++6-4.4-dev 的依赖,而当我尝试安装 libstdc++6-4.4-dev 时,它提供了对 g++-4.4 的依赖。

ocpe@blrkec241972d:~/Download/g++$ sudo dpkg -i g++-4.4_4.4.3-4ubuntu5.1_amd64.deb
(Reading database ... 45040 files and directories currently installed.)
Preparing to replace g++-4.4 4.4.3-4ubuntu5.1 (using g++-4.4_4.4.3-4ubuntu5.1_amd64.deb) ...
Unpacking replacement g++-4.4 ...
dpkg: dependency problems prevent configuration of g++-4.4:
g++-4.4 depends on libstdc++6-4.4-dev (= 4.4.3-4ubuntu5.1); however:
Package libstdc++6-4.4-dev is not configured yet.
dpkg: error processing g++-4.4 (--install):
dependency problems - leaving unconfigured
Processing triggers for man-db ...
Errors were encountered while processing:
g++-4.4
ocpe@blrkec241972d:~/Download/g++$ sudo dpkg -i libstdc++6-4.4-dev_4.4.3-4ubuntu5.1_amd64.deb
(Reading database ... 45040 files and directories currently installed.)
Preparing to replace libstdc++6-4.4-dev 4.4.3-4ubuntu5.1 (using libstdc++6-4.4-dev_4.4.3-4ubuntu5.1_amd64.deb) ...
Unpacking replacement libstdc++6-4.4-dev ...
dpkg: dependency problems prevent configuration of libstdc++6-4.4-dev:
libstdc++6-4.4-dev depends on g++-4.4 (= 4.4.3-4ubuntu5.1); however:
Package g++-4.4 is not configured yet.
dpkg: error processing libstdc++6-4.4-dev (--install):
dependency problems - leaving unconfigured
Errors were encountered while processing:
libstdc++6-4.4-dev

最佳答案

尝试同时安装它们:

sudo dpkg -i ./*.deb

关于linux - 在 10.04 lucid 上离线安装 g++ 会产生循环依赖,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/11946404/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com