Comment 3 for bug 979399

Revision history for this message
Mª Jesús Alvarez (chus-alvarez) wrote :

same problem here:

$sudo dpkg --configure cups
Configurando cups (1.5.3-0ubuntu4) ...
CONFFILE /etc/modprobe.d/blacklist-cups-usblp.conf
LASTVERSION 1.5.3-0ubuntu1
PACLAGE --
finlocal
dpkg: error al procesar cups (--configure):
 el subproceso instalado el script post-installation devolvió el código de salida de error 20
Se encontraron errores al procesar:
 cups

adding set -x to /var/lib/dpkg/info/cups.postinst :

$ sudo dpkg --configure cups
Configurando cups (1.5.3-0ubuntu4) ...
+ dpkg-maintscript-helper rm_conffile /etc/modprobe.d/blacklist-cups-usblp.conf 1.5.3-0ubuntu1 -- configure ''
CONFFILE /etc/modprobe.d/blacklist-cups-usblp.conf
LASTVERSION 1.5.3-0ubuntu1
PACLAGE --
finlocal
+ . /usr/share/debconf/confmodule
++ '[' '!' '' ']'
++ PERL_DL_NONLAZY=1
++ export PERL_DL_NONLAZY
++ '[' '' ']'
++ exec /usr/share/debconf/frontend /var/lib/dpkg/info/cups.postinst configure ''
+ dpkg-maintscript-helper rm_conffile /etc/modprobe.d/blacklist-cups-usblp.conf 1.5.3-0ubuntu1 -- configure ''
+ . /usr/share/debconf/confmodule
++ '[' '!' 1 ']'
++ '[' -z '' ']'
++ exec
++ '[' '' ']'
++ 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:116:chus ']'
+ 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='20 Unsupported command "conffile" (full line was "CONFFILE /etc/modprobe.d/blacklist-cups-usblp.conf") received from confmodule.'
+ case ${_db_internal_line%%[ ]*} in
+ return 20
dpkg: error al procesar cups (--configure):
 el subproceso instalado el script post-installation devolvió el código de salida de error 20
Se encontraron errores al procesar:
 cups
chus@chu