Package: dcmtk
Version: 3.5.4-1

While testing dcmtk with piuparts, I ran into the following problem:

  Setting up dcmtk (3.5.4-1) ...
  Adding `dcmtk' group to system ...
  Adding `dcmtk' user to system ...
  chown: `dcmtk:dcmtk': invalid user
  dpkg: error processing dcmtk (--configure):
   subprocess post-installation script returned error exit status 1

The actual error is that adduser failed (because of a bug in passwd), so
by the time chown runs, the error message it prints out is misleading.
The problem is this part of the postinst:

        addgroup --system dcmtk >/dev/null 2>&1 || true

If addgroup, or adduser a few lines later, fails, this hides the error
message. This is NOT acceptable. Use the --quiet option if you want to
reduce the amount of chatter that gets printed when the postinst runs,
but in no case should you hide error messages.

-- 
Client Exciting



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

Reply via email to