当我尝试安装离线 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