我一直在尝试在已经运行 22.04 的 PC 上安装新的 Ubuntu 24.04 (Nomble Numbat)。观察:
从 USB 启动时,它会很快出错(如果我没记错的话,“哦,不行,出错了!”但我不记得具体情况了)。
似乎新安装程序对我的磁盘分区有些不满(三重启动:Windows、Debian 和 Ubuntu,后两者共享 LUKS 和 LVM 卷)。如果我解锁 LUKS 分区并重新启动安装程序,我会看到第一个屏幕来选择我的语言,单击“下一步”,然后它就开始旋转了。
经过多次反复尝试后,我发现如果我启动一个新的安装程序并快速终止它(大概是在它缓存导致错误的一些数据之前),然后解锁 LUKS 分区,安装程序会继续运行但最终仍会挂起。通过四处寻找,我发现了
subiquity-server-info.log
,其中包含:
2024-04-27 00:59:23,292 INFO subiquity:201 Starting Subiquity server revision 171 of snap /snap/ubuntu-desktop-bootstrap/171 of version 0+git.2d119e1b3
2024-04-27 00:59:23,292 INFO subiquity:205 Arguments passed: ['/snap/ubuntu-desktop-bootstrap/171/bin/subiquity/subiquity/cmd/server.py', '--use-os-prober', '--storage-version=2', '--postinst-hooks-dir=/snap/ubuntu-desktop-bootstrap/171/etc/subiquity/postinst.d']
2024-04-27 00:59:25,292 INFO root:38 start: subiquity/apply_autoinstall_config:
2024-04-27 00:59:25,295 INFO root:38 finish: subiquity/apply_autoinstall_config: SUCCESS:
2024-04-27 00:59:25,559 ERROR root:38 finish: subiquity/Refresh/check_for_update: FAIL: cancelled
2024-04-27 00:59:25,598 INFO root:38 start: subiquity/Meta/status_GET:
2024-04-27 00:59:25,599 INFO root:38 finish: subiquity/Meta/status_GET: SUCCESS: 200 {"state": "WAITING", "confirming_tty": "", "error": null, "nonreportable_erro...
2024-04-27 00:59:25,602 INFO root:38 start: subiquity/Meta/client_variant_POST:
2024-04-27 00:59:25,602 INFO root:38 finish: subiquity/Meta/client_variant_POST: SUCCESS: 200 null
2024-04-27 00:59:25,603 INFO root:38 start: subiquity/Meta/status_GET:
2024-04-27 00:59:25,603 INFO root:38 finish: subiquity/Meta/status_GET: SUCCESS: 200 {"state": "WAITING", "confirming_tty": "", "error": null, "nonreportable_erro...
2024-04-27 00:59:25,604 INFO root:38 start: subiquity/Meta/mark_configured_POST:
2024-04-27 00:59:25,605 INFO root:38 finish: subiquity/Meta/mark_configured_POST: SUCCESS: 200 null
2024-04-27 00:59:25,636 ERROR probert.multipath:38 Failed to run cmd: ['multipathd', 'show', 'maps', 'raw', 'format', '%w,%d,%N']
2024-04-27 00:59:25,636 ERROR probert.multipath:38 Failed to run cmd: ['multipathd', 'show', 'paths', 'raw', 'format', '%d,%z,%m,%N,%n,%R,%r,%a']
2024-04-27 00:59:26,190 INFO probert.lvm:120 b' 9 logical volume(s) in volume group "ubuntu-vg" now active\n'
2024-04-27 00:59:26,266 ERROR probert.lvm:225 Found duplicate volume group: ubuntu-vg
2024-04-27 00:59:26,266 ERROR probert.lvm:225 Found duplicate volume group: ubuntu-vg
2024-04-27 00:59:26,266 ERROR probert.lvm:225 Found duplicate volume group: ubuntu-vg
2024-04-27 00:59:26,267 ERROR probert.lvm:225 Found duplicate volume group: ubuntu-vg
2024-04-27 00:59:26,267 ERROR probert.lvm:225 Found duplicate volume group: ubuntu-vg
2024-04-27 00:59:26,267 ERROR probert.lvm:225 Found duplicate volume group: ubuntu-vg
2024-04-27 00:59:26,268 ERROR probert.lvm:225 Found duplicate volume group: ubuntu-vg
2024-04-27 00:59:26,268 ERROR probert.lvm:225 Found duplicate volume group: ubuntu-vg
2024-04-27 00:59:26,364 INFO root:38 start: subiquity/Meta/status_GET:
2024-04-27 00:59:26,364 INFO root:38 finish: subiquity/Meta/status_GET: SUCCESS: 200 {"state": "WAITING", "confirming_tty": "", "error": null, "nonreportable_erro...
2024-04-27 00:59:26,365 INFO root:38 start: subiquity/Meta/status_GET:
2024-04-27 00:59:26,365 INFO root:38 finish: subiquity/Meta/status_GET: SUCCESS: 200 {"state": "WAITING", "confirming_tty": "", "error": null, "nonreportable_erro...
2024-04-27 00:59:26,366 INFO root:38 start: subiquity/Meta/status_GET:
2024-04-27 00:59:26,366 INFO root:38 start: subiquity/Meta/interactive_sections_GET:
2024-04-27 00:59:26,366 INFO root:38 finish: subiquity/Meta/interactive_sections_GET: SUCCESS: 200 null
关于如何进一步调试和/或解决这个问题有什么建议吗?无论如何,我打算将它安装在现有卷上(例如,擦除我的 Debian 卷),因此,如果我可以例如从我的 22.04 卷运行安装程序,这至少可以加快我的调试周期,并使将安装程序中的日志和屏幕截图更容易地放入错误报告中。