*** This bug is a duplicate of bug 1103776 ***
    https://bugs.launchpad.net/bugs/1103776

** This bug has been marked a duplicate of bug 1103776
   installing sudo-ldap causes dpkg error removing sudo

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to sudo in Ubuntu.
https://bugs.launchpad.net/bugs/140467

Title:
  sudo-ldap not installable

Status in sudo package in Ubuntu:
  Triaged

Bug description:
  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.

  =====================================
  ubuntu@gutsy-i386-packaging:~$ 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)
  ubuntu@gutsy-i386-packaging:~$

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/sudo/+bug/140467/+subscriptions

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to