After upgrading a server from Debian Lenny to Squeeze, I have a problem with the updates of dbus and vsftpd.
I get the following error message (translated from German by Google Translate):
dbus (1.2.24-4 + squeeze1) is set up ... adduser: No program called "groupadd" in $ PATH directory listing found. dpkg: error processing dbus (- configure): Subprocess post-installation script returned error exit status 1 vsftpd (2.3.2-3 + squeeze2) is set up ... configured to not write apport reports addgroup: no program named "groupadd" in $ PATH directory listing found. dpkg: error processing vsftpd (- configure): Subprocess post-installation script returned error exit status 1 configured to not write apport reports Errors were encountered while processing: dbus vsftpd E: Sub-process / usr / bin / dpkg returned an error code (1)
groupadd can't be found in $PATH. My PATH Variable is:
-bash: /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin: No such file or directory
But groupadd is /usr/sbin/groupadd so according to PATH it should be found. But the echo also show that a file or directory could not be found but which one?