Bug#389979: pdns-server: purging the package fails (ucf and adduser unavailable)

2006-09-30 Thread Vincent Zweije
On Thu, Sep 28, 2006 at 07:32:41PM +0200, Bill Allombert wrote:

||  There is an error when attempting to purge pdns-server:
||Removing pdns-server ...
||Purging configuration files for pdns-server ...
||/var/lib/dpkg/info/pdns-server.postrm: line 25: deluser: command not found
||/var/lib/dpkg/info/pdns-server.postrm: line 36: ucf: command not found
||dpkg: error processing pdns-server (--purge):
|| subprocess post-removal script returned error exit status 127
||
||  The postrm script cannot rely on ucf and adduser to be available when 
purging.

Additional info on the deluser issue:

Over here at the BSP[1], the consensus seems to be that:

 a) There is no consensus on a system user should be removed at all,
because when file systems are not mounted at the time the user is
removed, files may be left that do no longer belong to any user.

 b) In absence of other information, there is a preference to leave the
system user on the system.  My take on this: judge for yourself as
package manager if it is likely that there are any files on
unmounted file systems.

 c) If you want to remove the system user, and deluser is gone, you're
pretty much out of luck.  It's a best effort thing.

For additional info on the ucf issue, see bug #389756.

Ciao.  Vincent.

[1] http://wiki.debian.org/BSP_Utrecht_2006


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



Bug#389979: pdns-server: purging the package fails (ucf and adduser unavailable)

2006-09-28 Thread Bill Allombert
Package: pdns-server
Version: 2.9.20-5
Severity: serious

Hello Debian PowerDNS Maintainers,

There is an error when attempting to purge pdns-server:
  Removing pdns-server ...
  Purging configuration files for pdns-server ...
  /var/lib/dpkg/info/pdns-server.postrm: line 25: deluser: command not found
  /var/lib/dpkg/info/pdns-server.postrm: line 36: ucf: command not found
  dpkg: error processing pdns-server (--purge):
   subprocess post-removal script returned error exit status 127

The postrm script cannot rely on ucf and adduser to be available when purging.

See Policy 7.2:
  Note, however, that the `postrm' cannot rely on any non-essential packages to
  be present during the `purge' phase.

Cheers,
-- 
Bill. [EMAIL PROTECTED]

Imagine a large red swirl here. 


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