package hddtemp 0.3-beta15-51 failed to install/upgrade: subprocess installed post-installation script returned error exit status 2

Bug #1032820 reported by Erick Martinez
12
This bug affects 2 people
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@erickmartinez-desktop:~$ sudo apt-get install psensor
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://mx.archive.ubuntu.com/ubuntu/ precise/universe psensor-common all 0.6.2.16-1ubuntu4 [7,082 B]
Get:2 http://mx.archive.ubuntu.com/ubuntu/ precise/universe psensor amd64 0.6.2.16-1ubuntu4 [54.4 kB]
Get:3 http://mx.archive.ubuntu.com/ubuntu/ precise/universe hddtemp amd64 0.3-beta15-51 [52.0 kB]
Fetched 113 kB in 1s (111 kB/s)
Preconfiguring packages ...
debconf: Unable to load Debconf::Element::Dialog::Boolean. Failed because: Can't locate Debconf/Element/Dialog/Boolean.pm in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.14.2 /usr/local/share/perl/5.14.2 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.14 /usr/share/perl/5.14 /usr/local/lib/site_perl .) at (eval 31) line 2, <GEN1> line 4.
BEGIN failed--compilation aborted at (eval 31) line 2, <GEN1> line 4.

Can't locate object method "new" via package "Debconf::Element::Dialog::Boolean" (perhaps you forgot to load "Debconf::Element::Dialog::Boolean"?) at /usr/share/perl5/Debconf/FrontEnd.pm line 68, <GEN1> line 4.
Selecting previously unselected package psensor-common.
(Reading database ... 397351 files and directories currently installed.)
Unpacking psensor-common (from .../psensor-common_0.6.2.16-1ubuntu4_all.deb) ...
Selecting previously unselected package psensor.
Unpacking psensor (from .../psensor_0.6.2.16-1ubuntu4_amd64.deb) ...
Selecting previously unselected package hddtemp.
Unpacking hddtemp (from .../hddtemp_0.3-beta15-51_amd64.deb) ...
Processing triggers for desktop-file-utils ...
Processing triggers for bamfdaemon ...
Rebuilding /usr/share/applications/bamf.index...
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::Element::Dialog::Boolean. Failed because: Can't locate Debconf/Element/Dialog/Boolean.pm in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.14.2 /usr/local/share/perl/5.14.2 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.14 /usr/share/perl/5.14 /usr/local/lib/site_perl .) at (eval 30) line 2, <GEN1> line 4.
BEGIN failed--compilation aborted at (eval 30) line 2, <GEN1> line 4.

Can't locate object method "new" via package "Debconf::Element::Dialog::Boolean" (perhaps you forgot to load "Debconf::Element::Dialog::Boolean"?) at /usr/share/perl5/Debconf/FrontEnd.pm line 68, <GEN1> line 4.
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
ProcVersionSignature: Ubuntu 3.2.0-27.43-generic 3.2.21
Uname: Linux 3.2.0-27-generic x86_64
NonfreeKernelModules: nvidia
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)

Revision history for this message
Erick Martinez (erickrmartinez) wrote :
tags: removed: need-duplicate-check
Revision history for this message
Erick Martinez (erickrmartinez) wrote :

'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?

Revision history for this message
Erick Martinez (erickrmartinez) wrote :

I extrated '/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

The issues were fixed. Though I believe the current version of Debconf at ubuntu repositories is not working properly. I am replacing with the Debian Debconf.

Revision history for this message
Launchpad Janitor (janitor) wrote :

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

Changed in hddtemp (Ubuntu):
status: New → Confirmed
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.