[Bug 915423] [NEW] libnss-ldap and libnss-ldap:i386 can not be purged together

James Troup james.troup at canonical.com
Thu Jan 12 16:11:10 UTC 2012


Public bug reported:

libnss-ldap and libnss-ldap:i386 can not be purged together, one of
them will explode, because they both ship the /etc/init.d/libnss-ldap
file.

| root at ornery:~# apt-get --purge remove libnss-ldap:i386  libnss-ldap
| Reading package lists... Done
| Building dependency tree
| Reading state information... Done
| The following packages will be REMOVED
|   ldap-auth-client* ldap-auth-config* libnss-ldap* libnss-ldap:i386* libpam-ldap* libpam-ldap:i386*
| 0 upgraded, 0 newly installed, 6 to remove and 1 not upgraded.
| After this operation, 863 kB disk space will be freed.
| Do you want to continue [Y/n]? y
| (Reading database ... 220157 files and directories currently installed.)
| Removing libpam-ldap:i386 ...
| Removing libnss-ldap:i386 ...
|  * Running nssldap-update-ignoreusers...
|    ...done.
| Purging configuration files for libnss-ldap:i386 ...
| update-rc.d: /etc/init.d/libnss-ldap exists during rc.d purge (use -f to force)
| dpkg: error processing libnss-ldap:i386 (--purge):
|  subprocess installed post-removal script returned error exit status 1
| Removing libpam-ldap ...
| Removing libnss-ldap ...
|  * Running nssldap-update-ignoreusers...
|    ...done.
| Purging configuration files for libnss-ldap ...
| dpkg: warning: while removing libnss-ldap, directory '/var/lib/libnss-ldap' not empty so not removed.
| Removing ldap-auth-config ...
| Purging configuration files for ldap-auth-config ...
| Removing ldap-auth-client ...
| Processing triggers for man-db ...
| Processing triggers for ureadahead ...
| Errors were encountered while processing:
|  libnss-ldap:i386
| E: Sub-process /usr/bin/dpkg returned an error code (1)
| root at ornery:~#

** Affects: libnss-ldap (Ubuntu)
     Importance: High
     Assignee: Canonical Foundations Team (canonical-foundations)
         Status: Triaged


** Tags: rls-mgr-p-tracking

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to libnss-ldap in Ubuntu.
https://bugs.launchpad.net/bugs/915423

Title:
  libnss-ldap and libnss-ldap:i386 can not be purged together

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libnss-ldap/+bug/915423/+subscriptions



More information about the Ubuntu-server-bugs mailing list