dbconfig-common should not fail if the root password is not asked (e.g. in noninteractive mode)

Bug #1406700 reported by Devdatta
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
dbconfig-common (Debian)
Fix Released
Undecided
Unassigned
dbconfig-common (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

cacti install freezes system

ProblemType: Package
DistroRelease: Ubuntu 14.04
Package: cacti 0.8.8b+dfsg-5
ProcVersionSignature: Ubuntu 3.13.0-43.72-generic 3.13.11.11
Uname: Linux 3.13.0-43-generic x86_64
ApportVersion: 2.14.1-0ubuntu3.6
Architecture: amd64
Date: Mon Dec 29 18:51:44 2014
DuplicateSignature: package:cacti:0.8.8b+dfsg-5:subprocess installed post-installation script returned error exit status 1
ErrorMessage: subprocess installed post-installation script returned error exit status 1
InstallationDate: Installed on 2014-10-09 (82 days ago)
InstallationMedia: Ubuntu 14.04 LTS "Trusty Tahr" - Release amd64 (20140417)
PackageArchitecture: all
SourcePackage: cacti
Title: package cacti 0.8.8b+dfsg-5 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
Devdatta (devdatta) wrote :
information type: Public → Private Security
information type: Private Security → Public
tags: removed: need-duplicate-check
Revision history for this message
Paul Gevers (paul-climbing) wrote :

Hi,

You dpkgTerminalLog.txt file shows a lot of errors. One of them being that debconf questions could not be asked. This results in failure of dbconfig-common to ask you the root password to log into the mysql database.

For you to work around this, is to fix the issue with debconf not being allowed to ask questions and reconfigure cacti:
dpkg-reconfigure cacti.

dbconfig-common should be improved to not FAIL in such cases, so reassigning there.

affects: cacti (Ubuntu) → dbconfig-common (Ubuntu)
summary: - package cacti 0.8.8b+dfsg-5 failed to install/upgrade: subprocess
- installed post-installation script returned error exit status 1
+ dbconfig-common should not fail if the root password is not asked (e.g.
+ in noninteractive mode)
Revision history for this message
Paul Gevers (paul-climbing) wrote :

From the changelog in 1.8.50:
  * Make check for DEBIAN_FRONTEND case insensitive (LP: #1406700)

Changed in dbconfig-common (Debian):
status: New → Fix Released
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package dbconfig-common - 1.8.52

---------------
dbconfig-common (1.8.52) unstable; urgency=medium

  * Forgot to install dbconfig-common for the CI tests
  * Update French translation by Julien Patriarca (Closes: #789908)

 -- Paul Gevers <email address hidden> Fri, 26 Jun 2015 13:42:50 +0200

Changed in dbconfig-common (Ubuntu):
status: New → Fix Released
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.