[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#666530: cups fails to configure under cdebconf



Package: cdebconf
Version: 0.160
Severity: normal

Dear Maintainer,

When cdebconf is enabled, the cups postinst script dies with exit
status 15 (confirmed against cups versions 1.5.2-5, 1.5.2-8, and
1.5.2-9).  Unsetting DEBCONF_USE_CDEBCONF to fall back to debconf
allows the package to install correctly.  I locally repackaged cups
to add "set -x" to the postinst script and obtained the following
output, which may be useful in debugging:

> Setting up cups (1.5.2-9~debug0) ...
> + dpkg-maintscript-helper rm_conffile
> /etc/modprobe.d/blacklist-cups-usblp.conf 1.5.2-3 -- configure
> 1.5.2-9
> + . /usr/share/debconf/confmodule
> ++ '[' '!' '' ']'
> ++ PERL_DL_NONLAZY=1
> ++ export PERL_DL_NONLAZY
> ++ '[' 1 ']'
> ++ exec /usr/lib/cdebconf/debconf /var/lib/dpkg/info/cups.postinst
> configure 1.5.2-9
> + dpkg-maintscript-helper rm_conffile
> /etc/modprobe.d/blacklist-cups-usblp.conf 1.5.2-3 -- configure
> 1.5.2-9
> + . /usr/share/debconf/confmodule
> ++ '[' '!' 1 ']'
> ++ '[' -z '' ']'
> ++ exec
> ++ '[' 1 ']'
> ++ exec
> ++ DEBCONF_REDIR=1
> ++ export DEBCONF_REDIR
> + '[' -e /etc/default/cups ']'
> + . /etc/default/cups
> ++ LOAD_LP_MODULE=yes
> + '[' configure = configure ']'
> ++ getent group lpadmin
> + '[' -z lpadmin:x:112: ']'
> + chown root:lpadmin /usr/share/ppd/custom
> + chmod 3775 /usr/share/ppd/custom
> + '[' '!' -e /etc/cups/raw.types ']'
> + '[' '!' -e /etc/cups/raw.convs ']'
> + db_fget cupsys/raw-print changed
> + _db_cmd 'FGET cupsys/raw-print' changed
> + _db_internal_IFS='			  
> '
> + IFS=' '
> + printf '%s\n' 'FGET cupsys/raw-print changed'
> + IFS='  
> '
> + IFS='
> '
> + read -r _db_internal_line
> + RET='15 changed does not exist'
> + case ${_db_internal_line%%[	]*} in
> + return 15
> dpkg: error processing cups (--configure):
>  subprocess installed post-installation script returned error exit
>  status 15
> Errors were encountered while processing:
>  cups

My apologies if this would be more appropriately filed under the cups
package; feel free to reassign if that is the case.

-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (700, 'unstable'), (500, 'testing'), (300,
'experimental') Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-13.dmz.2-liquorix-amd64 (SMP w/4 CPU cores;
PREEMPT) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8
(charmap=UTF-8) Shell: /bin/sh linked to /bin/dash

Versions of packages cdebconf depends on:
ii  debconf               1.5.42
ii  dpkg                  1.16.2
ii  libc6                 2.13-27
ii  libdebian-installer4  0.80
ii  libnewt0.52           0.52.14-8
ii  libslang2             2.2.4-7
ii  libtextwrap1          0.1-13

cdebconf recommends no packages.

Versions of packages cdebconf suggests:
pn  cdebconf-gtk  <none>

-- debconf information:
  cdebconf/frontend/text:
  cdebconf/frontend/newt:
* cdebconf/frontend: text


-- 
Jacob Emmert-Aronson <jre21@case.edu>
Case Western Reserve University
Department of Physics (class 2012)
|_|0|_|
|_|_|0|
|0|0|0|

Attachment: pgpR43QJJpheZ.pgp
Description: PGP signature


Reply to: