package man-db 2.6.1-2 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1

Bug #1166129 reported by Kabir Roy Chowdhury
This bug report is a duplicate of:  Bug #1372673: excessive debconf use when triggered. Edit Remove
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
man-db (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

1. while executing "sudo apt-get install audacity" the first time I got a window with EULA for Microsoft terms/conditions, however the <ok> btton did not work - I killed the window.

2. On re-running, I had to remove some locks using "sudo rm ..."

3. Then running "sudo apt-get install audacity" I got following errors:

-- dpkg: warning: files list file for package `ttf-mscorefonts-installer' missing, assuming package has no files currently installed.

-- dpkg: error processing /var/cache/apt/archives/ttf-mscorefonts-installer_3.4ubuntu3_all.deb (--unpack):
 subprocess new pre-installation script returned error exit status 1

-- dpkg: error processing man-db (--unpack):
 subprocess installed post-installation script returned error exit status 1

-- Errors were encountered while processing:
 /var/cache/apt/archives/ttf-mscorefonts-installer_3.4ubuntu3_all.deb

and finally:

 man-db
E: Sub-process /usr/bin/dpkg returned an error code (1)

ProblemType: Package
DistroRelease: Ubuntu 12.04
Package: man-db 2.6.1-2
ProcVersionSignature: Ubuntu 3.2.0-31.50-generic 3.2.28
Uname: Linux 3.2.0-31-generic x86_64
ApportVersion: 2.0.1-0ubuntu13
Architecture: amd64
Date: Mon Apr 8 12:05:08 2013
ErrorMessage: subprocess installed post-installation script returned error exit status 1
InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Release amd64 (20120425)
SourcePackage: man-db
Title: package man-db 2.6.1-2 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Kabir Roy Chowdhury (kabir-rc) wrote :
tags: removed: need-duplicate-check
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in man-db (Ubuntu):
status: New → Confirmed
Revision history for this message
Colin Watson (cjwatson) wrote :

Thanks for your report. The basic problem here is that man-db's trigger uses debconf to decide whether to update the manual page database, but debconf is not always reliably usable in triggers. I finally figured out a simple way to avoid this problem, which I'm tracking as bug 1372673. If you are still affected by this locally (which I realise is unlikely in the case of some of the older bugs of this type), then running "sudo dpkg --configure -a && sudo apt-get -f install" in a terminal should normally be enough to get the package management system back to a sensible state.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.