Package: uw-imapd
Version: 7:2002edebian1-11
Severity: important

I regularly upgrade servers with scripts that dont use login shells.
Example below.

<snip>
#!/bin/sh
ssh -l root server.com '
export DEBIAN_FRONTEND=noninteractive
apt-get update
apt-get upgrade
'
</snip>

The debian postinst script with uw-imapd and ipopd uses /dev/stderr which isnt
present when a user doesnt have a login shell.

Below is an error i get when trying to upgrade uw-imapd.

Setting up uw-imapd (2002edebian1-11sarge1) ...
dpkg: dependency problems prevent configuration of ipopd-ssl:
 ipopd-ssl depends on ipopd (>= 4:2002.rc7debian); however:
  Package ipopd is not configured yet.
dpkg: error processing ipopd-ssl (--configure):
 dependency problems - leaving unconfigured
/var/lib/dpkg/info/uw-imapd.postinst: line 75: /dev/stderr: No such
device or address
dpkg: error processing uw-imapd (--configure):
 subprocess post-installation script returned error exit status 1


-- System Information:
Debian Release: 3.1
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.12-1-k7
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages uw-imapd depends on:
ii  debconf                1.4.58            Debian configuration management sy
ii  libc-client2002edebian 7:2002edebian1-11 UW c-client library for mail proto
ii  libc6                  2.3.5-6           GNU C Library: Shared libraries an
ii  libcomerr2             1.38-2            common error description library
ii  libkrb53               1.3.6-5           MIT Kerberos runtime libraries
ii  libpam-runtime         0.76-22           Runtime support for the PAM librar
ii  libpam0g               0.76-22           Pluggable Authentication Modules l
ii  libssl0.9.7            0.9.7g-4          SSL shared libraries
ii  netbase                4.22              Basic TCP/IP networking system
ii  openssl                0.9.8-2           Secure Socket Layer (SSL) binary a

Versions of packages uw-imapd recommends:
ii  sendmail-bin [mail-transport- 8.13.5-3   powerful, efficient, and scalable 

-- debconf information excluded


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

Reply via email to