[Baruwa] mailscanner.postinst: 477: cannot open /dev/tty

7 views
Skip to first unread message

Stefan Reuter

unread,
Mar 2, 2012, 7:55:50 PM3/2/12
to bar...@lists.baruwa.org
Hi,

I get an error when trying to install the mailscanner package for
oneiric (4.84.3-2~oneiric) without a control terminal, e.g. via puppet:

/var/lib/dpkg/info/mailscanner.postinst: 477: cannot open /dev/tty: No
such device or address

The problematic line is:

([ ! -c /dev/tty ] || echo Checking/installing report files ... <
/dev/tty >/dev/tty)

If that line is removed from the postinst script the installation works
fine.

Maybe you could fix this and provide an updated package.

Thanks,

Stefan
_______________________________________________
Keep Baruwa FREE - http://pledgie.com/campaigns/12056

Reply all
Reply to author
Forward
0 new messages