16
Installation issues / Re: apt-get issues
« on: January 20, 2016, 06:49:35 am »
Here's the code:
ps my version
I'll have a look tomorrow how to forcibly remove and re-install the eibd-package.... Hope I don't break to much...
Code: [Select]
cat /var/lib/dpkg/info/lmce-diskless-tools.postinst
#!/bin/bash
#!/bin/sh
# postinst script for lmce-diskless-tools
#
# see: dh_installdeb(1)
set -e
# summary of how this script can be called:
# * <postinst> `configure' <most-recently-configured-version>
# * <old-postinst> `abort-upgrade' <new version>
# * <conflictor's-postinst> `abort-remove' `in-favour' <package>
# <new-version>
# * <postinst> `abort-remove'
# * <deconfigured's-postinst> `abort-deconfigure' `in-favour'
# <failed-install-package> <version> `removing'
# <conflicting-package> <version>
# for details, see http://www.debian.org/doc/debian-policy/ or
# the debian-policy package
case "$1" in
configure)
# /var/lmce-build/svn/trunk/src/UbuntuDiskless/mkr_postinst.sh
#!/bin/bash
# summary of how this script can be called:
# * <postinst> `configure' <most-recently-configured-version>
#if [[ "$2" != "" ]] ;then
# /usr/pluto/bin/Diskless_CreateTBZ.sh || echo "WARNING: Diskless_CreateTBZ.sh returned an error!"
#fi
if [ -x /usr/pluto/bin/Debug_LogKernelModules.sh ]; then
/usr/pluto/bin/Debug_LogKernelModules.sh "$0" || :
fi
#################################################################
## move deb-cache to newer multi-arch friendly location
## update sourcs.list on core and all MDs to reflect new locations
if [ ! -d /usr/pluto/deb-cache ]; then
exit 0
fi
LastVersion="$2"
# TODO: check if ver <= 20.0.0.45 (1004), only run this if it's that old
if [[ -n "$LastVersion" ]] ; then
/usr/pluto/bin/UpdateDebCache.sh
fi
;;
abort-upgrade|abort-remove|abort-deconfigure)
;;
*)
echo "postinst called with unknown argument \`$1'" >&2
exit 1
;;
esac
# dh_installdeb will replace this with shell code automatically
# generated by other debhelper scripts.
exit 0
ps my version
Quote from: cat /proc/version
Linux version 3.16.0-36-generic (buildd@roseapple) (gcc version 4.8.2 (Ubuntu 4.8.2-19ubuntu1) ) #48~14.04.1-Ubuntu SMP Wed Apr 15 13:12:28 UTC 2015
I'll have a look tomorrow how to forcibly remove and re-install the eibd-package.... Hope I don't break to much...