Comment 3 for bug 1103776

Revision history for this message
Brian Murray (brian-murray) wrote : Re: package sudo 1.8.5p2-1ubuntu1 failed to install/upgrade: le sous-processus script pre-removal installé a retourné une erreur de sortie d'état 1

The reporter tried to install sudo-ldap which conflicts with sudo which doesn't want to be removed.

Removing sudo (1.8.16-0ubuntu1.2) ...
You have asked that the sudo package be removed,
but no root password has been set.
Without sudo, you may not be able to gain administrative privileges.

If you would prefer to access the root account with su(1)
or by logging in directly,
you must set a root password with "sudo passwd".

If you have arranged other means to access the root account,
and you are sure this is what you want,
you may bypass this check by setting an environment variable
(export SUDO_FORCE_REMOVE=yes).

Refusing to remove sudo.
dpkg: error processing package sudo (--remove):
 subprocess installed pre-removal script returned error exit status 1
Errors were encountered while processing:
 sudo
E: Sub-process /usr/bin/dpkg returned an error code (1)