我的最终目标是能够使用我的 amd64 VM 编译和运行 m68k 程序。我曾为 ppc64el、mips64el、sparc64 等做过这样的事情。只是 apt 出现了一个奇怪的问题,专门针对 g++-m68k-linux-gnu 包。
来源
https://github.com/mcandre/mucus/blob/issue-8/m68k/bootstrap.sh#L9-L13
痕迹
default: Fetched 20.1 MB in 4s (5,374 kB/s)
default: Reading package lists...
default: Reading package lists...
default: Building dependency tree...
default: Reading state information...
default: Some packages could not be installed. This may mean that you have
default: requested an impossible situation or if you are using the unstable
default: distribution that some required packages have not yet been created
default: or been moved out of Incoming.
default: The following information may help to resolve the situation:
default: The following packages have unmet dependencies:
default: g++-m68k-linux-gnu : Depends: cpp-m68k-linux-gnu (= 4:8.3.0-2.1) but it is not going to be installed
default: Depends: gcc-m68k-linux-gnu (= 4:8.3.0-2.1) but it is not going to be installed
default: Depends: g++-8-m68k-linux-gnu (>= 8.3.0-1~) but it is not going to be installed
default: E
default: :
default: Unable to correct problems, you have held broken packages.
有什么技巧可以解决这种依赖冲突吗?