这是输出sudo apt install erlang
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
erlang-base : Depends: libc6 (>= 2.38) but 2.35-0ubuntu3.9 is to be installed
Conflicts: erlang (< 1:27.2.2-1) but 1:24.2.1+dfsg-1ubuntu0.1 is to be installed
erlang-crypto : Depends: libssl3t64 (>= 3.0.0) but it is not installable
erlang-odbc : Depends: libc6 (>= 2.38) but 2.35-0ubuntu3.9 is to be installed
erlang-os-mon : Depends: libc6 (>= 2.38) but 2.35-0ubuntu3.9 is to be installed
erlang-runtime-tools : Depends: libc6 (>= 2.38) but 2.35-0ubuntu3.9 is to be installed
erlang-wx : Depends: libstdc++6 (>= 13.1) but 12.3.0-1ubuntu1~22.04 is to be installed
Depends: libwxbase3.2-1t64 (>= 3.2.4+dfsg) but it is not installable
Depends: libwxgtk-gl3.2-1t64 (>= 3.2.4+dfsg) but it is not installable
Depends: libwxgtk-webview3.2-1t64 (>= 3.2.4+dfsg) but it is not installable
Depends: libwxgtk3.2-1t64 (>= 3.2.4+dfsg) but it is not installable
E: Unable to correct problems, you have held broken packages.
据我所知,libc6 与您的 Ubuntu 版本相关。我使用的是 PopOS,目前使用的是 Jammy Jellyfish,这是 PopOS 的最新版本,因此2.35
我的系统上有 libc6。Erlang 依赖于 libc62.38
及更高版本,但不建议将 libc6 升级到更高版本,因为它会破坏我的系统。我有哪些选项可以下载 Erlang 并使用 RabbitMQ?除了等待 PopOS 发布 Noble Numbat 升级之外。