dbconfig-common should not fail if the root password is not asked (e.g. in noninteractive mode)
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
ProcVersionSign
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:
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)
PackageArchitec
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)
Related branches
information type: | Private Security → Public |
tags: | removed: need-duplicate-check |
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.