Package: distcc
Version: 2.18.1-5
Severity: normal

On one machine (NIS server), "apt-get --purge remove distcc" fails:

        # apt-get remove distcc
        Reading Package Lists... Done
        Building Dependency Tree... Done
        The following packages will be REMOVED:
          distcc*
        0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
        Need to get 0B of archives.
        After unpacking 365kB disk space will be freed.
        Do you want to continue? [Y/n]
        (Reading database ... 135599 files and directories currently installed.)
        Removing distcc ...
        Purging configuration files for distcc ...
        make: Entering directory `/var/yp'
        make[1]: Entering directory `/var/yp/XXX'
        make[1]: Nothing to be done for `all'.
        make[1]: Leaving directory `/var/yp/XXX'
        make: Leaving directory `/var/yp'
        dpkg: error processing distcc (--purge):
         subprocess post-removal script returned error exit status 128
        Errors were encountered while processing:
         distcc
        E: Sub-process /usr/bin/dpkg returned an error code (1)

Also trying to reinstall (apt-get --reinstall install distcc) fails:

        # apt-get install --reinstall distcc
        Reading Package Lists... Done
        Building Dependency Tree... Done
        0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 0 not 
upgraded.
        Need to get 141kB of archives.
        After unpacking 0B of additional disk space will be used.
        Do you want to continue? [Y/n]
        Get:1 http://my.server.local sarge/main distcc 2.18.1-5 [141kB]
        Fetched 141kB in 0s (808kB/s)
        Preconfiguring packages ...
        Selecting previously deselected package distcc.
        (Reading database ... 135599 files and directories currently installed.)
        Preparing to replace distcc 2.18.1-5 (using 
.../distcc_2.18.1-5_i386.deb) ...
        Unpacking replacement distcc ...
        Setting up distcc (2.18.1-5) ...
        chown: `distccd:adm': invalid user
        dpkg: error processing distcc (--configure):
         subprocess post-installation script returned error exit status 1
        Errors were encountered while processing:
         distcc
        E: Sub-process /usr/bin/dpkg returned an error code (1)

Seems somehow the distccd user has disappeared, but is necessary to
remove/reinstall ...

Adding the user manually with
        adduser --quiet --system --ingroup nogroup --home / --no-create-home 
distccd
doesn't help on removing distcc, but at least reinstall is possible now.

Seems to be related to NIS ... stopping the NIS server, and *then*
removing distcc works!

Would be nice if the pre-/post-install/rm-scripts could be more robust
regarding the user database.



-- System Information:
Debian Release: 3.1
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.10-1-686
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages distcc depends on:
ii  adduser                     3.63         Add and remove users and groups
ii  debconf                     1.4.30.11    Debian configuration management sy
ii  libc6                       2.3.2.ds1-20 GNU C Library: Shared libraries an
ii  libpopt0                    1.7-5        lib for parsing cmdline parameters
ii  netbase                     4.20         Basic TCP/IP networking system

-- debconf information excluded


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to