Unable to install or uninstall hptraidconf RAID command-line mgmt util for RocketRaid 622
I am trying to install the command-line RAID management utility
available at HighPoint-Tech's website:
http://highpoint-tech.com/BIOS_Driver/page/rr622_U.htm
I have installed the hptsvr utility, and I am trying to install the
hptraidconf utility, but when I execute "dpkg -i hptraidconf" I get
the following error messages:
Selecting previously deselected package hptraidconf.
(Reading database ... 103059 files and directories currently installed.)
Preparing to replace hptraidconf 3.5 (using hptraidconf_3.5_amd64.deb) ...
dpkg (subprocess): unable to execute old pre-removal script
(/var/lib/dpkg/info/hptraidconf.prerm): No such file or directory
dpkg: warning: subprocess old pre-removal script returned error exit status 2
dpkg - trying script from the new package instead ...
dpkg (subprocess): unable to execute new pre-removal script
(/var/lib/dpkg/tmp.ci/prerm): No such file or directory
dpkg: error processing hptraidconf_3.5_amd64.deb (--install):
subprocess new pre-removal script returned error exit status 2
dpkg (subprocess): unable to execute installed post-installation
script (/var/lib/dpkg/info/hptraidconf.postinst): No such file or
directory
dpkg: error while cleaning up:
subprocess installed post-installation script returned error exit status 2
Errors were encountered while processing:
hptraidconf_3.5_amd64.deb
I have followed the instructions here:
http://www.debian.org/doc/manuals/debian-reference/ch02.en.html#_fixing_broken_package_script
and modified hptraidconf.prem and hptraidconf.postinst to force an
install so later I could uninstall this package.
$ cat /var/lib/dpkg/info/hptraidconf.prerm
#!/bin/sh
#rm -f /usr/bin/hptraidconf
#rm -f /usr/share/man/man1/hptraidconf.1
#rm -rf /usr/share/doc/hpt/hptraidconf-*/
true
I am still getting the errors about the files not existing when trying
to install. Any ideas how to uninstall this as cleanly as possible?
- Andrew Phillips
Reply to: