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

Bug #915423 reported by James Troup
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
libnss-ldap (Ubuntu)
Triaged
High
Canonical Foundations Team

Bug Description

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@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@ornery:~#

Steve Langasek (vorlon)
Changed in libnss-ldap (Ubuntu):
status: New → Triaged
importance: Undecided → High
assignee: nobody → Canonical Foundations Team (canonical-foundations)
tags: added: rls-mgr-p-tracking
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.