The officially official Devuan Forum!

You are not logged in.

#1 2024-01-07 14:54:54

Dutch_Master
Member
Registered: 2018-05-31
Posts: 271  

[SOLVED] Apt/dpkg error for ipmiutil package

Since weeks I get this error when (attempting) updating my system.

#root: dpkg --configure ipmiutil
Setting up ipmiutil (3.1.7-1) ...
insserv: warning: script 'S02dpms.sh' missing LSB tags
insserv: warning: script 'cgroups' missing LSB tags
insserv: Default-Start undefined, assuming empty start runlevel(s) for script `cgroups'
insserv: Default-Stop  undefined, assuming empty stop runlevel(s) for script `cgroups'
insserv: warning: script 'dpms.sh' missing LSB tags
insserv: Default-Stop  undefined, assuming empty stop runlevel(s) for script `dpms.sh'
Starting /usr/bin/ipmiutil wdt: 
Cannot open an IPMI driver: /dev/imb, /dev/ipmi0, /dev/ipmi/0, 
	 or direct driverless.
Cannot open an IPMI driver: /dev/imb, /dev/ipmi0, /dev/ipmi/0, 
	 or direct driverless.

invoke-rc.d: initscript ipmiutil_wdt, action "start" failed.
dpkg: error processing package ipmiutil (--configure):
 installed ipmiutil package post-installation script subprocess returned error exit status 1
Errors were encountered while processing:
 ipmiutil

I tried purging the package, but it still wants to install it, open a ipmi driver (which there aren't) before anything else. I'm actually pretty close to a full reinstall >:(

Any suggestions?

Offline

#2 2024-01-07 15:14:22

Dutch_Master
Member
Registered: 2018-05-31
Posts: 271  

Re: [SOLVED] Apt/dpkg error for ipmiutil package

OK, I found an answer. Bit of a dirty work-around, but the errors are gone now.

As root, open /var/lib/dpkg/status in nano (or editor of choice) then search for the ipmitool package listing. The 2nd line reports its status, change this to

Status: purge ok config-files

Reload sources.list in your package manager then update your system. If all is well, no more errors!

As said, a dirty work-around as it doesn't address the issue of how that package got into that state in the first place and it's likely remnants of this packages remain on my system.

Offline

Board footer