Package: cvs
Version: 1:1.12.9-11
Severity: important

Whenever upgrading CVS from a script which has no controlling terminal
the postinst script of cvs always fails.  This is easily reproduced by
using at to run "apt-get --re-install install cvs" which fails:

Preparing to replace cvs 1:1.12.9-11 (using .../c/cvs/cvs_1.12.9-11_i386.deb) 
...
Unpacking replacement cvs ...
Setting up cvs (1.12.9-11) ...
debconf: unable to initialize frontend: Dialog
debconf: (TERM is not set, so the dialog frontend is not usable.)
debconf: falling back to frontend: Readline
debconf: unable to initialize frontend: Readline
debconf: (This frontend requires a controlling tty.)
debconf: falling back to frontend: Teletype
Couldn't reopen stdin at /usr/sbin/update-inetd line 29.
dpkg: error processing cvs (--configure):
 subprocess post-installation script returned error exit status 6
Errors were encountered while processing:
 cvs
E: Sub-process /usr/bin/dpkg returned an error code (1)

Running the same command from an interactive terminal works with no
problems.

I consider this bug important as it breaks automatic installation of
security updates via cron scripts whenever cvs is updated as it stops
the configure stage of other packages from running without some manual
intervention.

Regards
  Jon

PS: this bug exists in the version in woody as well where I first ran
into this problem.

-- System Information:
Debian Release: 3.1
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.6.8-2-686
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages cvs depends on:
ii  debconf                     1.4.30.11    Debian configuration management sy
ii  libc6                       2.3.2.ds1-20 GNU C Library: Shared libraries an
ii  libpam-runtime              0.76-22      Runtime support for the PAM librar
ii  libpam0g                    0.76-22      Pluggable Authentication Modules l
ii  zlib1g                      1:1.2.2-3    compression library - runtime

-- debconf information:
  cvs/pserver_repos_individual: true
  cvs/pserver_setspawnlimit: false
  cvs/rotatekeep: 7
* cvs/badrepositories: ignore
  cvs/pserver_warning:
  cvs/rotatekeep_individual: 7
  cvs/pserver_repos: all
* cvs/pserver: false
  cvs/cvs_conf_is_dead:
* cvs/repositories: /var/lib/cvs
  cvs/rotatekeep_nondefault: no
  cvs/rotate_individual: true
  cvs/pserver_spawnlimit: 400
  cvs/rotatehistory: no


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

Reply via email to