Public bug reported:

Binary package hint: sudo-ldap

There is a failsafe built in the sudo package that prevent sudo-ldap
(which Replace/Provide sudo) from being installed.  See the output
transcript below .

Setting SUDO_FORCE_REMOVE=yes work just as expected.

=====================================
[EMAIL PROTECTED]:~$ sudo apt-get install sudo-ldap
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages were automatically installed and are no longer required:
  python-debian python-deb822 linux-headers-2.6.22-10 
linux-headers-2.6.22-10-generic
Use 'apt-get autoremove' to remove them.
The following packages will be REMOVED:
  sudo
The following NEW packages will be installed:
  sudo-ldap
0 upgraded, 1 newly installed, 1 to remove and 182 not upgraded.
Need to get 0B/179kB of archives.
After unpacking 16.4kB of additional disk space will be used.
Do you want to continue [Y/n]? y
dpkg: sudo: dependency problems, but removing anyway as you request:
 ubuntu-minimal depends on sudo.
 gksu depends on sudo.
(Reading database ... 136124 files and directories currently installed.)
Removing sudo ...
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 sudo (--remove):
 subprocess 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)
[EMAIL PROTECTED]:~$

** Affects: sudo (Ubuntu)
     Importance: Undecided
         Status: New

-- 
sudo-ldap not installable
https://bugs.launchpad.net/bugs/140467
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to