I have two Debian Servers, each with a LSI MegaRaid 9240-8i raid controllers in them and a Windows box with an LSI MegaRaid 9240-4i controller in it.
I was trying to upgrade the megaraid-storage-manager on one of the servers (running Buster) and tried removing the v14 first.
Here is the error from the removal process (some parts removed):
Shutting down Framework:
/sbin/insserv: No such file or directory
vivaldiframeworkd 0:off 1:off 2:on 3:on 4:on 5:on 6:off
dpkg: error processing package megaraid-storage-manager (--remove):
installed megaraid-storage-manager package pre-removal script subprocess returned error exit status 1
dpkg: too many errors, stopping
The messages above were from apt-get --purge remove command.
The one below is from dpkg -r megaraid-storage-manager:
(Reading database ... 217717 files and directories currently installed.)
Removing megaraid-storage-manager (14.11.01-00) ...
/
Framework is already stopped.....
/sbin/insserv: No such file or directory
vivaldiframeworkd 0:off 1:off 2:on 3:on 4:on 5:on 6:off
dpkg: error processing package megaraid-storage-manager (--remove):
installed megaraid-storage-manager package pre-removal script subprocess returned error exit status 1
Tried just install in V17, but it has the same problem.
Also upgraded to Bullseye, then tried, but same problem.
Anybody have any ideas how to get this removed?
TIA
Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230
[Solved] Unable to remove MegaRaid-Storage-Manager
[Solved] Unable to remove MegaRaid-Storage-Manager
Last edited by 02ebz06 on 2021-10-01 19:12, edited 1 time in total.
-
- df -h | grep > 20TiB
- Posts: 1418
- Joined: 2012-10-06 05:31
- Location: /dev/chair
- Has thanked: 80 times
- Been thanked: 191 times
Re: Unable to remove MegaRaid-Storage-Manager
Is likely the cause of the problem, since Debian has switched to systemd(isaster) the sysvinit maintenance binaries are probably no longer installed by default.
Options, off the top of my head:
Remove or fix the pre-removal script (/var/lib/dpkg/info/$pkgname.prerm, IIRC)
Install insserv, it appears it's still in the repos.
Link /sbin/insserv to /bin/true temporarily so the command returns 0.
Once is happenstance. Twice is coincidence. Three times is enemy action. Four times is Official GNOME Policy.
Re: Unable to remove MegaRaid-Storage-Manager
Thank you very much!!!
Installing insserv solved the problem.
Installing insserv solved the problem.