我正在嘗試在我的 Ubuntu 22.04.1 機器上安裝 libglib2.0-dev arm64 版本(用於交叉編譯目的)。我已經按照以下說明設定了 amd64 和 arm64 的儲存庫https://askubuntu.com/a/1323570。但是,當我運行命令時sudo apt-get install libglib2.0-dev:arm64
,出現以下錯誤。我怎樣才能解決這個問題?
The following packages have unmet dependencies:
libglib2.0-bin:arm64 : Depends: libglib2.0-0:arm64 (= 2.64.6-1~ubuntu20.04.4) but it is not going to be installed
Depends: libc6:arm64 (>= 2.17) but it is not installable
Depends: libelf1:arm64 (>= 0.142) but it is not going to be installed
libglib2.0-dev:arm64 : Depends: libffi-dev:arm64 (>= 3.3) but it is not going to be installed
Depends: libglib2.0-0:arm64 (= 2.64.6-1~ubuntu20.04.4) but it is not going to be installed
Depends: libmount-dev:arm64 (>= 2.28) but it is not going to be installed
Depends: libpcre3-dev:arm64 (>= 1:8.31) but it is not going to be installed
Depends: libselinux1-dev:arm64 but it is not going to be installed
Depends: zlib1g-dev:arm64 but it is not going to be installed
libglib2.0-dev-bin:arm64 : Depends: libc6:arm64 (>= 2.28) but it is not installable
Depends: libglib2.0-0:arm64 (>= 2.39.4) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.