Repository navigation
Conversation
[Medium impact] The PR appears safe to merge; no actionable issues were found. SummaryAdds a one-time migration to remove dependency-installed NVIDIA userspace from machines without an NVIDIA GPU or kernel driver.
|
|
Thanks for the careful write-up. Reviewed by Claude Opus 5.5 and, separately, by Codex Medium; the diff was read against This competes with #16055 on prevention, and #16055 is the one to keep for that half. Both stop The cleanup migration is the part neither PR has, and it stands on its own. One defect in the migration, found by Codex and confirmed by reading: if installing the 32-bit replacement fails (line 132), Codex also checked the hybrid case: Waiting on the maintainer to choose between the two approaches and decide on the cleanup. |
Exit non-zero when the 32-bit replacement install fails and the excluded 32-bit package is still installed, so a transient mirror or multilib failure stays pending instead of recording the cleanup as done.
f4f1ad5 to
fc9f99a
Compare
|
Reduced to the cleanup migration, as suggested: Fixed the 32-bit install defect: when the 32-bit replacement install fails, the migration now exits non-zero while the excluded 32-bit package is still installed, instead of letting The migration test asserts the new pending exit and adds that blocked-64-bit-without-32-bit case: 27 checks, all pass. |
|
Reviewed again at fc9f99a, now that it is the cleanup migration only. Reviewed by Claude Opus 5.5, with second opinions from Codex Medium and muse-spark-1.3 (thinking high). Both read it after the earlier review was on record, so their agreement is not guaranteed independent. It does what it says, on a disposable Omarchy ISO worker:
Left for the maintainer, nothing for you to change unless they ask:
Waiting on the maintainer. |
|
Confirming this on another AMD-only machine. Removing the same packages by hand fixed it there, and from reading the diff, this migration would have covered the case. Machine: HP OmniBook 5 16-cg0xxx, AMD Krackan2 iGPU ( From Omarchy was 4.0.1-1 at the time, so this is the Steam ordering from before #12569. Updates through 4.0.6 left both packages installed as dependencies ( Manual repair on 2026-11-05: That removed Based on the diff, this machine passes the migration's guards: no NVIDIA display device, no NVIDIA kernel driver package, both utils packages recorded as dependencies, and Can we get a maintainer review on this? Machines that installed Steam before #12569 still carry the stack after updating. |
Fixes #12392.
Cleanup-only follow-up. Prevention is #16055's half (older, claims the virtuals on demand in
omarchy-pkg-add, so it also coversomarchy pkg add steamon machines that are already installed), and #16046 fixes the gaming installers' ordering. This PR now carries only the one-time repair for machines that already have the stale userspace.Migration: remove the stale userspace from existing machines
migrations/1792478700.shrepairs machines that already carry NVIDIA's userspace as a dependency-installed provider:nvidia,nvidia-open,nvidia-lts,nvidia-open-lts, and the dkms variants).lib32-nvidia-utilsdepends on the exactnvidia-utilsversion.pacman -Rs --printdecides whether the removal is safe;opencl-nvidiaand its 580xx twins go in a second transaction so an OpenCL consumer cannot veto the Vulkan cleanup.No installer changes remain in the diff:
install/hardware/vulkan.sh,install/omarchy-other.packages, andtest/shell.d/vulkan-install-packages-test.share gone, leaving prevention to #16055.Validation
bash test/shell.d/nvidia-userspace-cleanup-migration-test.sh— 27 checks, all pass: official and 580xx names, both OpenCL generations, a blocked OpenCL transaction, combined Vulkan removal, mixed explicit/dependency installs, NVIDIA GPU and all seven kernel-driver names, a blocked removal, install/removal/query/preflight failures, a failed 32-bit install that now stays pending, a failed 32-bit install with a blocked 64-bit removal that is still left alone, another-provider, and aarch64../test/cli— passes../test/allis not re-run here:test/shelldrives the live compositor/desktop, and the only suite file this PR touches is the migration test above.