I am testing installing our server RPM in clean Amazon Linux 1 and 2 distros and ran into an issue:
/var/tmp/rpm-tmp.VPEB9d: line 2: /usr/sbin/groupadd: No such file or directory
error: %pre(mongodb-org-server-4.4.15-1.amzn2.x86_64) scriptlet failed, exit status 127
Installing : qrencode-libs-3.4.1-3.amzn2.0.2.x86_64
error: mongodb-org-server-4.4.15-1.amzn2.x86_64: install failed
You can reproduce by trying to build this image with an OCI builder of your choice. It seems like shadow-utils is not detected as a dependency correctly? I found this ticket from ages ago which should have fixed this, but perhaps there’s something funny going on in Amazon Linux 2 and Amazon Linux 1? Note: This only impacts 4.2 and 4.4 for Amazon Linux 2 and 4.2 for Amazon Linux 1; 5.0+ seems OK.
- is related to
-
SERVER-69982 packaging broken (missing systemd) for amazon linux 1.
- Closed
-
SERVER-70181 Ubuntu and Debian package tests failing in Server master
- Closed
-
SERVER-69870 Test package installs on all supported linux images
- Closed