From ffdb03bf0f87e15ca7dbcca4a3eacb267e07ac43 Mon Sep 17 00:00:00 2001 From: Robert Eckelmann <longnoserob@postmarketos.org> Date: Sun, 1 Dec 2024 14:22:50 +0900 Subject: [PATCH] edge post about the apk issue with sudo & doas-sudo-shim (MR 337) Signed-off-by: Robert Eckelmann <longnoserob@postmarketos.org> Co-authored-by: Aster Boese <asterboese@mailbox.org> Co-authored-by: Oliver Smith <ollieparanoid@postmarketos.org> --- ...onflict-between-sudo-and-doas-sudo-shim.md | 34 +++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 content/edge/2024-12-01-APK-conflict-between-sudo-and-doas-sudo-shim.md diff --git a/content/edge/2024-12-01-APK-conflict-between-sudo-and-doas-sudo-shim.md b/content/edge/2024-12-01-APK-conflict-between-sudo-and-doas-sudo-shim.md new file mode 100644 index 00000000..ca3e64ce --- /dev/null +++ b/content/edge/2024-12-01-APK-conflict-between-sudo-and-doas-sudo-shim.md @@ -0,0 +1,34 @@ +title: "Conflict between sudo and doas-sudo-shim" +date: 2024-12-01 +--- + +During the install step, a dependency-resolution conflict between sudo and +doas-sudo-shim occurs. The cause of the problem is still under investigation. +It appeared with the latest apk-tools-static in Alpine edge (2.14.6-r0). + +``` +ERROR: unable to select packages: + sudo-1.9.16_p1-r1: + conflicts: doas-sudo-shim-0.1.1-r1[cmd:sudo=1.9.16_p1-r1] + breaks: doas-sudo-shim-0.1.1-r1[!sudo] + satisfies: postmarketos-base-38-r0[sudo-virt] + postmarketos-base-nofde-38-r0[sudo-virt] + doas-sudo-shim-0.1.1-r1: + conflicts: sudo-1.9.16_p1-r1[cmd:sudo=0.1.1-r1] + satisfies: postmarketos-base-doas-38-r0[doas-sudo-shim] + postmarketos-base-38-r0[sudo-virt] + postmarketos-base-nofde-38-r0[sudo-virt] +``` + +Building images for v24.06 still works. + +We are looking into this, see links below if you want to read more about it or +help with fixing it. + +If you have problems and need help, please +[reach out to us on chat](https://wiki.postmarketos.org/wiki/Matrix_and_IRC). + +## Related links: + +* {{issue|3340|pmaports}} +* [apk-tools#11045](https://gitlab.alpinelinux.org/alpine/apk-tools/-/issues/11045) -- GitLab