Thread View: linux.debian.bugs.dist
1 messages
1 total messages
Started by Luke Yasuda
Thu, 08 Oct 2026 03:30
Bug#1150288: ceph-common is uninstallable because of failure in postinst
Author: Luke Yasuda
Date: Thu, 08 Oct 2026 03:30
Date: Thu, 08 Oct 2026 03:30
45 lines
3037 bytes
3037 bytes
Package: ceph-common Version: 20.2.4+ds-1 Severity: serious Justification: 6 Dear maintainer, ceph-common cannot be configured by dpkg as it fails on postinst. -------8<--------8<-------- Setting up librbd1 (20.2.4+ds-1) ... Setting up python3-rbd (20.2.4+ds-1) ... Setting up ceph-common (20.2.4+ds-1) ... usermod: unlocking the user's password would result in a passwordless account. You should set a password with usermod -p to unlock this user's password. dpkg: error processing package ceph-common (--configure): old ceph-common package postinst maintainer script subprocess failed with exit status 20 Processing triggers for libc-bin (2.43-7) ... Processing triggers for ca-certificates (20260816) ... Updating certificates in /etc/ssl/certs... 0 added, 0 removed; done. Running hooks in /etc/ca-certificates/update.d... done. Errors were encountered while processing: ceph-common Error: Sub-process /usr/bin/dpkg returned an error code (1) -------8<--------8<-------- This is because usermod returns 20 when unlocking a user, a recent behavior change, I believe. -------8<--------8<-------- #Unlock $SERVER_USER in case it is locked from an uninstall if [ -f /etc/shadow ]; then usermod -U -e '' $SERVER_USER else usermod -U $SERVER_USER fi -------8<--------8<-------- IMO this should be a warning, not an error that stops postinst from being processed further. After a bug number is generated, I'm sending a patch and a merge request on salsa, whichever you prefer.
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads