[Linux-PowerEdge] Debian-Jessie-Upgrade srvadmin-hapi 8.3.0-1 -> 8.4.0-1 fails

Bjoern Laessig b.laessig at pengutronix.de
Mon Nov 21 02:48:10 CST 2016


Hi,

 while upgrading srvadmin-hapi from 8.3.0-1 to 8.4.0-1 the installation
fails on Debian Jessie with following output.

————————//——————————————
root at holodeck08:~# apt-get install -f 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Correcting dependencies... Done
The following extra packages will be installed:
  srvadmin-hapi
The following packages will be upgraded:
  srvadmin-hapi
1 upgraded, 0 newly installed, 0 to remove and 5 not upgraded.
9 not fully installed or removed.
Need to get 0 B/298 kB of archives.
After this operation, 7,168 B disk space will be freed.
Do you want to continue? [Y/n] 
Reading changelogs... Done
(Reading database ... 76268 files and directories currently installed.)
Preparing to unpack .../srvadmin-hapi_8.4.0-1_amd64.deb ...
dpkg: error processing
archive /var/cache/apt/archives/srvadmin-hapi_8.4.0-1_amd64.deb
(--unpack):
 subprocess new pre-installation script returned error exit status 127
Processing triggers for libc-bin (2.19-18+deb8u6) ...
Errors were encountered while processing:
 /var/cache/apt/archives/srvadmin-hapi_8.4.0-1_amd64.deb
—————————\\—————————————————

The preinstall script has changed:
—————————//—————————————————
--- /var/lib/dpkg/info/srvadmin-hapi.preinst	2016-11-21
09:30:57.542081214 +0100
+++ preinst	2016-10-28 12:25:06.000000000 +0200
@@ -1,10 +1,9 @@
 set -e
 
-sysconfdir=/etc/rc.d
+sysconfdir=/etc
 srvadmin_prefix=/opt/dell/srvadmin
 srvadmin_sysconfdir=/etc/${srvadmin_prefix}
 srvadmin_initscriptdir=${sysconfdir}/init.d
————————\\—————————————————
but there is no File /etc/init.d/instsvcdrv which leads to file not
found and exit code 127.

Workaround:

a symlink from /etc/init.d/instsvcdrv -> /etc/rc.d/init.d/instsvcdrv

After that, the installation succeeds, but omreport fails with:

———————//—————————
root at holodeck06:/var/lib/dpkg/info# omreport chassis memory 
Memory Information

Error : Memory object not found

———————\\—————————

I write another mail when i have found the reason for this.

Björn Lässig
-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |



More information about the Linux-PowerEdge mailing list