Package: sane-utils
Version: 1.0.19-9
Followup-For: Bug #481442

Hi,

I've the same error.
I use xinetd, as before.

I've edited the postinst script to add "set -x"
Please find attached the output of the script.

Regards

Jean-Luc

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.25-k8-3 (SMP w/2 CPU cores; PREEMPT)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages sane-utils depends on:
ii  adduser                      3.107       add and remove users and groups
ii  debconf [debconf-2.0]        1.5.22      Debian configuration management sy
ii  libavahi-client3             0.6.22-3    Avahi client library
ii  libavahi-common3             0.6.22-3    Avahi common library
ii  libc6                        2.7-11      GNU C Library: Shared libraries
ii  libieee1284-3                0.2.11-4    cross-platform library for paralle
ii  libsane                      1.0.19-9    API library for scanners
ii  libusb-0.1-4                 2:0.1.12-11 userspace USB programming library
ii  update-inetd                 4.30        inetd configuration file updater

Versions of packages sane-utils recommends:
ii  avahi-daemon                  0.6.22-3   Avahi mDNS/DNS-SD daemon

-- debconf information:
  sane-utils/saned_run: false
  sane-utils/saned_scanner_group: true
[EMAIL PROTECTED] % sudo dpkg --configure -a
Setting up sane-utils (1.0.19-9) ...
+ '[' configure = configure ']'
+ getent passwd
+ grep -q '^saned:'
+ '[' -x /usr/sbin/update-inetd ']'
+ update-inetd --add '#<off># 
sane-port\tstream\ttcp\tnowait\tsaned:saned\t/usr/sbin/saned saned'
--------- IMPORTANT INFORMATION FOR XINETD USERS ----------
The following line will be added to your /etc/inetd.conf file:

#<off># sane-port\tstream\ttcp\tnowait\tsaned:saned\t/usr/sbin/saned saned

If you are indeed using xinetd, you will have to convert the
above into /etc/xinetd.conf format, and add it manually. See
/usr/share/doc/xinetd/README.Debian for more information.
Suggested entry (automatically converted using itox):

-----------------------------------------------------------

+ SANED_DEFAULT=/etc/default/saned
+ . /usr/share/debconf/confmodule
++ '[' '!' '' ']'
++ PERL_DL_NONLAZY=1
++ export PERL_DL_NONLAZY
++ '[' '' ']'
++ exec /usr/share/debconf/frontend /var/lib/dpkg/info/sane-utils.postinst 
configure 1.0.19-6
+ '[' configure = configure ']'
+ getent passwd
+ grep -q '^saned:'
+ '[' -x /usr/sbin/update-inetd ']'
+ update-inetd --add '#<off># 
sane-port\tstream\ttcp\tnowait\tsaned:saned\t/usr/sbin/saned saned'
--------- IMPORTANT INFORMATION FOR XINETD USERS ----------
The following line will be added to your /etc/inetd.conf file:

#<off># sane-port\tstream\ttcp\tnowait\tsaned:saned\t/usr/sbin/saned saned

If you are indeed using xinetd, you will have to convert the
above into /etc/xinetd.conf format, and add it manually. See
/usr/share/doc/xinetd/README.Debian for more information.
Suggested entry (automatically converted using itox):

-----------------------------------------------------------

+ SANED_DEFAULT=/etc/default/saned
+ . /usr/share/debconf/confmodule
++ '[' '!' 1 ']'
++ '[' -z '' ']'
++ exec
++ '[' '' ']'
++ exec
++ DEBCONF_REDIR=1
++ export DEBCONF_REDIR
+ db_get sane-utils/saned_run
+ _db_cmd 'GET sane-utils/saned_run'
+ IFS=' '
+ printf '%s\n' 'GET sane-utils/saned_run'
+ IFS='
'
+ read -r _db_internal_line
+ RET='20 Unsupported command "" (full line was "") received from confmodule.'
+ case ${_db_internal_line%%[   ]*} in
+ return 20
dpkg: error processing sane-utils (--configure):
 subprocess post-installation script returned error exit status 20
Errors were encountered while processing:
 sane-utils
[EMAIL PROTECTED] %


Reply via email to