Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Unable to install or uninstall hptraidconf RAID command-line mgmt util for RocketRaid 622

151 views
Skip to first unread message

Andrew Phillips

unread,
Dec 17, 2011, 8:50:02 PM12/17/11
to
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


--
To UNSUBSCRIBE, email to debian-us...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org
Archive: http://lists.debian.org/CACkBDmSVE2gGYzGRVXPCYvw2...@mail.gmail.com

Camaleón

unread,
Dec 18, 2011, 6:50:02 AM12/18/11
to
On Sat, 17 Dec 2011 20:41:53 -0500, Andrew Phillips wrote:

> 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

Those packages are targeted for lenny, are you running lenny?

> 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

(...)

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

Google returned a similar situation in this thread, not sure if it will
help:

http://ubuntuforums.org/showthread.php?t=1608698

Anyway, have you considered in using linux raid (software raid "md")
instead? The card seems (not sure about this, though) to use what is
called a fakeraid chipset which is synonym of problems in the near
future...

Greetings,

--
Camaleón


--
To UNSUBSCRIBE, email to debian-us...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org
Archive: http://lists.debian.org/pan.2011.12...@gmail.com

Andrew Phillips

unread,
Dec 18, 2011, 9:30:01 PM12/18/11
to
On Sun, Dec 18, 2011 at 6:45 AM, Camaleón <noel...@gmail.com> wrote:
>
> Those packages are targeted for lenny, are you running lenny?

Actually, I'm using squeeze and feeling adventurous...

> Google returned a similar situation in this thread, not sure if it will
> help:
>
> http://ubuntuforums.org/showthread.php?t=1608698
>

Thanks, this worked. A good introduction to advanced package troubleshooting. :)

> Anyway, have you considered in using linux raid (software raid "md")
> instead? The card seems (not sure about this, though) to use what is
> called a fakeraid chipset which is synonym of problems in the near
> future...

Yes, absolutely. But in this case I need to recover some of the data
managed by this rr220. It's a JBOD, so I'm curious if I'd have any
luck having mdadm recreate the JBOD without data loss.


--
To UNSUBSCRIBE, email to debian-us...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org
Archive: http://lists.debian.org/CACkBDmT4PWp5So7_X1kTb1mB...@mail.gmail.com

Bob Proulx

unread,
Dec 18, 2011, 11:30:02 PM12/18/11
to
Andrew Phillips wrote:
> Yes, absolutely. But in this case I need to recover some of the data
> managed by this rr220. It's a JBOD, so I'm curious if I'd have any
> luck having mdadm recreate the JBOD without data loss.

You may have to grab an empty scratch disk, unplug your jbod to keep
the data there safe and install the fresh scratch disk, install lenny
on it, install the HighPoint raid management software you need to talk
to the disks, then using that recover the data from the jbod, then
with data recovered evaluate where you want to go in the future,
probably by going with software raid.

Bob
signature.asc

Christopher Perry

unread,
Jul 10, 2012, 5:10:02 PM7/10/12
to
>>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 know this is an old thread but I have been banging my head against the
wall for the last half hour on this and thought I would share what I
found. The problem with Highpoint's scripts are that they edited them
with a DOS editor, the extra linefeeds cause the shell to choke on the
post/pre scripts. Clearly, they never actually installed their own
software from their packages.

-- Chris Perry


--
To UNSUBSCRIBE, email to debian-us...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org
Archive: http://lists.debian.org/4FFC93F2...@gis.msu.edu
0 new messages