我正在尝试安装 Android 源代码,但一直出现此错误。我继续安装,但似乎这些软件包对于完整且成功的安装必不可少。
这是我的错误
Package lib32ncurses5-dev is not available, but is referred to by another package.
这可能意味着包丢失、已被淘汰或只能从其他来源获得
Package ia32-libs is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package 'lib32ncurses5-dev' has no installation candidate
E: Package 'ia32-libs' has no installation candidate
E: Unable to locate package lib32readline5-dev
E: Unable to locate package lib32z-dev
我有一个虚拟机,运行 Ubuntu,系统是 Intel® Core™ i5-2300 CPU @ 2.80GHz 和 32 位系统
答案1
答案2
该问题存在于 Ubuntu 11.10 上。
我通过打开终端并使用以下命令解决了该问题:
sudo apt-get install libncurses5-dev:i386
答案3
在 Ubuntu 20.04 中我需要执行以下命令,
sudo apt-get install libncurses5-dev:i386