package halevt 0.1.6.2-1.3 failed to install/upgrade: ErrorMessage: subprocess installed post-installation script returned error exit status 100
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
ProcVersionSign
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)
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 apt/archives/ halevt_ 0.1.6.2- 1.3_amd64. deb . 0.1.6.2- 1.3_amd64. deb control.tar.gz | tar xz 0.1.6.2- 1.3_amd64. deb control.tar.gz 0.1.6.2- 1.3_amd64. deb
cd halevt_replace
cp /var/cache/
ar -p halevt_
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_
dpkg -i halevt_
# Finally clean up
cd ..
rm -rf halevt_replace