package cups 1.5.2-8bzr2 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
debconf (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
ႊ့ႊ့This happens in the dist-upgrade process.
ProblemType: Package
DistroRelease: Ubuntu 12.04
Package: cups 1.5.2-8bzr2
Uname: Linux 3.3.0-999-
ApportVersion: 1.95-0ubuntu1
Architecture: i386
CupsErrorLog:
Date: Fri Mar 30 11:04:01 2012
ErrorMessage: subprocess installed post-installation script returned error exit status 1
InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Alpha i386 (20120201.1)
Lpstat: Error: command ['lpstat', '-v'] failed with exit code 1: lpstat: Connection refused
MachineType: SAMSUNG ELECTRONICS CO., LTD. N150/N210/N220
Papersize: letter
PpdFiles: HP-LaserJet-1022: HP LaserJet 1022 Foomatic/foo2zjs-z1 (recommended)
ProcKernelCmdLine: BOOT_IMAGE=
SourcePackage: cups
Title: package cups 1.5.2-8bzr2 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 03/25/2010
dmi.bios.vendor: Phoenix Technologies Ltd.
dmi.bios.version: 08JI.M073.
dmi.board.
dmi.board.name: N150/N210/N220
dmi.board.vendor: SAMSUNG ELECTRONICS CO., LTD.
dmi.board.version: Not Applicable
dmi.chassis.
dmi.chassis.type: 10
dmi.chassis.vendor: SAMSUNG ELECTRONICS CO., LTD.
dmi.chassis.
dmi.modalias: dmi:bvnPhoenixT
dmi.product.name: N150/N210/N220
dmi.product.
dmi.sys.vendor: SAMSUNG ELECTRONICS CO., LTD.
tags: | removed: need-duplicate-check |
The terminal log reads:
----------
Processing triggers for cups ...
debconf: unable to initialize frontend: Dialog
debconf: (Dialog frontend requires a screen at least 13 lines tall and 31 columns wide.)
debconf: falling back to frontend: Readline
start: Job failed to start
invoke-rc.d: initscript cups, action "start" failed.
dpkg: error processing cups (--unpack):
subprocess installed post-installation script returned error exit status 1
----------
It seems that the update is run on a too small terminal and debconf falls back to Readline then and Readline does not work. Not a problem of CUPS, but of debconf's fallback mechanism.