package halevt 0.1.6.2-1.3 failed to install/upgrade: ErrorMessage: subprocess installed post-installation script returned error exit status 100

Bug #777514 reported by Paulh-222
4
This bug affects 1 person
Affects Status Importance Assigned to Milestone
halevt (Ubuntu)
New
Undecided
Unassigned

Bug Description

Binary package hint: halevt

Near end of ubuntu 11.04 upgrade from 10.10 error apeared

ProblemType: Package
DistroRelease: Ubuntu 11.04
Package: halevt 0.1.6.2-1.3
ProcVersionSignature: Ubuntu 2.6.35-29.51-generic 2.6.35.12
Uname: Linux 2.6.35-29-generic i686
Architecture: i386
Date: Wed May 4 21:07:37 2011
ErrorMessage: ErrorMessage: subprocess installed post-installation script returned error exit status 100
InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Release i386 (20101007)
SourcePackage: halevt
Title: package halevt 0.1.6.2-1.3 failed to install/upgrade: ErrorMessage: subprocess installed post-installation script returned error exit status 100
UpgradeStatus: Upgraded to natty on 2011-05-04 (0 days ago)

Revision history for this message
Paulh-222 (paulh-222) wrote :
Revision history for this message
Simon Rycroft (sdrycroft) wrote :

This appears to be down to a change in the postinst script included in halevt-0.1.6.2-1.3. The script attempts to restart the hal daemon:

invoke-rc.d --quiet hal restart

This fails as "/etc/init.d/hal" does not exist.

The following fixed this for me:

mkdir halevt_replace
cd halevt_replace
cp /var/cache/apt/archives/halevt_0.1.6.2-1.3_amd64.deb .
ar -p halevt_0.1.6.2-1.3_amd64.deb control.tar.gz | tar xz
sed "s/invoke-rc.d --quiet hal restart/# invoke-rc.d --quiet hal restart/" postinst -i
tar cfz control.tar.gz ./config ./templates ./postinst ./prerm ./postrm ./conffiles ./md5sums ./control
ar r halevt_0.1.6.2-1.3_amd64.deb control.tar.gz
dpkg -i halevt_0.1.6.2-1.3_amd64.deb
# Finally clean up
cd ..
rm -rf halevt_replace

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.