Package: mailscanner
Version: 4.41.3-2
Severity: normal

The postinst script attempts to open /dev/tty in order to display a
message to the user.  This breaks when the package is installed
non-interactively since /dev/tty cannot be opened in that case.
You will get an error like:

/var/lib/dpkg/info/mailscanner.postinst: 417: cannot open /dev/tty: No such 
device or address
dpkg: error processing mailscanner (--configure):
 subprocess post-installation script returned error exit status 2

AFAIC it would be safe to simply remove the echoes into /dev/tty or
at least ignore any errors resulting from the redirection.  To do
the latter you'll need to enclose it in a subshell.

Cheers,
--
Visit Openswan at http://www.openswan.org/
Email: Herbert Xu ~{PmV>HI~} <[EMAIL PROTECTED]>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt


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

Reply via email to