On Fri, 2013-04-26 at 02:10 +0200, Andreas Beckmann wrote:
> libnss-ldap has been converted to Multi-Arch: same, but manages the
> configuration file /etc/libnss-ldap.conf that is now shared between all
> installed architectures of the libnss-ldap package.
> 
> The problem arises during purge: the configuration file is deleted even
> if there are still other architectures installed (or in
> config-files-remaining state) that share the ownership on that file.
> 
> From the attached log (scroll to the bottom), observed during the
> following sequence:
> 
>   apt-get install libnss-ldap:amd64
>   apt-get install libnss-ldap:i386
>   dpkg --purge libnss-ldap:i386
> 
> 0m25.8s ERROR: FAIL: After purging files have disappeared:
>   /etc/libnss-ldap.conf  not owned

I've been looking into how to fix this problem. I couldn't find a common
solution to this problem.

The idea I've come up so far is to run dpkg -s libnss-ldap in the postrm
and check the Status field of the output. Will have to run some tests to
see if this actually works and sensible status combinations.

Any input or pointers are more than welcome.

-- 
-- arthur - adej...@debian.org - http://people.debian.org/~adejong --

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to