Hi,
I had a similar issue (7.4 -> 8.3), DELL tells you to remove the old
installation before installing a new version. So they are somehow aware
of the broken update process.. :(
Actually, this particular issue was solved for me by removing all
srvadmin packages first.
~stephan
On 21.11.2016 09:48, Bjoern Laessig wrote:
> 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@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@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
>
_______________________________________________
Linux-PowerEdge mailing list
[email protected]
https://lists.us.dell.com/mailman/listinfo/linux-poweredge