[docs] fix outdated and missing apt packages in QEMU Linux quick start - #11789
[docs] fix outdated and missing apt packages in QEMU Linux quick start#11789shiptux wants to merge 1 commit into
Conversation
The dependency list in the QEMU (Ubuntu) quick start no longer works on current Debian/Ubuntu releases: - gdb-arm-none-eabi no longer exists (dropped since Debian 11 / Ubuntu 22.04); gdb-multiarch replaces it - the qemu meta-package has been split up and can no longer be installed - libncurses5-dev has been removed; libncurses-dev replaces it - libstdc++-arm-none-eabi-newlib was missing, so linking fails with "cannot find -lsupc++", which does not point at the missing package - kconfiglib was not mentioned at all, although scons --menuconfig needs it; python3-kconfiglib is packaged, and pip install kconfiglib is rejected by PEP 668 on recent releases Merge the eleven single-package commands into one, add a table mapping the old package names to the current ones, and note the kconfiglib requirement where menuconfig is first used. Verified with apt-get -s install on Debian 13.
|
👋 感谢您对 RT-Thread 的贡献!Thank you for your contribution to RT-Thread! 为确保代码符合 RT-Thread 的编码规范,请在你的仓库中执行以下步骤运行代码格式化工作流(如果格式化CI运行失败)。 🛠 操作步骤 | Steps
完成后,提交将自动更新至 如有问题欢迎联系我们,再次感谢您的贡献!💐 |
📌 Code Review Assignment🏷️ Tag: documentationReviewers: @CXSforHPU @GorrayLi @lianux-mm Changed Files (Click to expand)
📊 Current Review Status (Last Updated: 2026-09-08 22:06 CST)
📝 Review Instructions
|
|
Cheng Li seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account. You have signed the CLA already but the status is still pending? Let us recheck it. |
Problem
The dependency list in
documentation/2.quick-start/quick_start_qemu/quick_start_qemu_linux.mdno longer works on current Debian/Ubuntu releases:gdb-arm-none-eabino longer exists (dropped since Debian 11 / Ubuntu 22.04)qemumeta-package has been split up and can no longer be installedlibncurses5-devhas been removed;libncurses-devreplaces itlibstdc++-arm-none-eabi-newlibis missing, so linking fails withcannot find -lsupc++, which does not point at the missing packagekconfiglibis not mentioned at all, althoughscons --menuconfigneeds it;python3-kconfiglibis packaged, whilepip install kconfiglibis rejected by PEP 668 on recent releasesThe list is also given as eleven separate
sudo apt installcommands.Change
apt-get -s installon Debian 13)kconfiglibrequirement wherescons --menuconfigis first used, and why pip is not the way to install itVerified on Debian 13 (trixie): the merged command resolves cleanly, and a from-scratch build of
bsp/qemu-vexpress-a9with these packages succeeds.