package hddtemp 0.3-beta15-51 failed to install/upgrade: subprocess installed post-installation script returned error exit status 2
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
hddtemp (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
Try to do:
$sudo apt-get install psensor
stop: Unknown instance:
module-init-tools stop/waiting
erickmartinez@
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
hddtemp psensor-common
Suggested packages:
ksensors
The following NEW packages will be installed:
hddtemp psensor psensor-common
0 upgraded, 3 newly installed, 0 to remove and 27 not upgraded.
Need to get 113 kB of archives.
After this operation, 681 kB of additional disk space will be used.
Do you want to continue [Y/n]? y
Get:1 http://
Get:2 http://
Get:3 http://
Fetched 113 kB in 1s (111 kB/s)
Preconfiguring packages ...
debconf: Unable to load Debconf:
BEGIN failed--compilation aborted at (eval 31) line 2, <GEN1> line 4.
Can't locate object method "new" via package "Debconf:
Selecting previously unselected package psensor-common.
(Reading database ... 397351 files and directories currently installed.)
Unpacking psensor-common (from .../psensor-
Selecting previously unselected package psensor.
Unpacking psensor (from .../psensor_
Selecting previously unselected package hddtemp.
Unpacking hddtemp (from .../hddtemp_
Processing triggers for desktop-file-utils ...
Processing triggers for bamfdaemon ...
Rebuilding /usr/share/
Processing triggers for gnome-menus ...
Processing triggers for hicolor-icon-theme ...
Processing triggers for man-db ...
Processing triggers for ureadahead ...
ureadahead will be reprofiled on next reboot
Setting up psensor-common (0.6.2.16-1ubuntu4) ...
Setting up psensor (0.6.2.16-1ubuntu4) ...
Setting up hddtemp (0.3-beta15-51) ...
debconf: Unable to load Debconf:
BEGIN failed--compilation aborted at (eval 30) line 2, <GEN1> line 4.
Can't locate object method "new" via package "Debconf:
dpkg: error processing hddtemp (--configure):
subprocess installed post-installation script returned error exit status 2
Errors were encountered while processing:
hddtemp
E: Sub-process /usr/bin/dpkg returned an error code (1)
ProblemType: Package
DistroRelease: Ubuntu 12.04
Package: hddtemp 0.3-beta15-51
ProcVersionSign
Uname: Linux 3.2.0-27-generic x86_64
NonfreeKernelMo
ApportVersion: 2.0.1-0ubuntu11
Architecture: amd64
Date: Fri Aug 3 15:19:41 2012
ErrorMessage: subprocess installed post-installation script returned error exit status 2
InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Release amd64 (20110427.1)
SourcePackage: hddtemp
Title: package hddtemp 0.3-beta15-51 failed to install/upgrade: subprocess installed post-installation script returned error exit status 2
UpgradeStatus: Upgraded to precise on 2012-04-27 (98 days ago)
tags: | removed: need-duplicate-check |
'debconf: Unable to load Debconf: :Element: :Dialog: :Boolean. Failed because: Can't locate Debconf/ Element/ Dialog/ Boolean. pm'
I extracted ' /usr/share/ perl5/Debconf/ Element/ Dialog/ ' from the latest realease of Debconf at:
http:// packages. debian. org/squeeze/ all/debconf/ download
And re-run:
$sudo apt-get install psensor
I thought Debconf was going to get automatically updated from Debian distribution. I've been extracting these scripts as needed but I think this shouldn't be fixed manually. Do these bugs happen only to me or is this a general issue?