Hi there
I run kali linux with a bootable live usb persistence and I am trying to get the last upgrade (kernel 3.18 + other).
To this end I run:
apt-get update && apt-get dist-upgrade
which works well along most of the upgrade untill I receive the following error:
Processing triggers for gconf2 ...
Processing triggers for python-support ...
Errors were encountered while processing:
/var/cache/apt/archives/live-tools_4.0.2-1_all.deb
Error: GDBus.Errorrg.freedesktop.DBus.Error.Spawn.PermissionsInvalid : The permission of the setuid helper is not correct
E: Sub-process /usr/bin/dpkg returned an error code (1)
I made several searches over the internet but unfortunately I couldn't find a great deal about this type of issue that made much sense to me.
The only thing I found could be this post:
https://bugs.debian.org/cgi-bin/bugr...cgi?bug=774915
reference a resolved bug on the upgrade in wheezy of live-tools Version: 4.0.2-1
I would need some help to understand if this is the right direction to find a solution to this error.
If it is I would be grateful if someone could help me to compile the live-tools.preinst accordingly to that post.
Currently the content shown of my live-tools.preinst is
#!/bin/sh
set -e
case "${1}" in
install|upgrade)
# removing old diversions from live-tools <= 3.0.8
_PACKAGE="$(dpkg-divert --listpackage /usr/bin/uptime)"
_DIVERSION="$(dpkg-divert --truename /usr/bin/uptime)"
if [ "${_PACKAGE}" = "live-tools" ] && [ "${_DIVERSION}" = "/us$
then
dpkg-divert --package live-tools --quiet --remove --div$
fi
# initramfs-tools: update-initramfs
dpkg-divert --package live-tools --quiet --add --rename --diver$
dpkg-divert --package live-tools --quiet --add --rename --diver$
# procps: uptime
dpkg-divert --package live-tools --quiet --add --rename --diver$
dpkg-divert --package live-tools --quiet --add --rename --diver$
# renaming old diversions from live-tools <= 3.0.8
if [ "${_PACKAGE}" = "live-tools" ] && [ "${_DIVERSION}" = "/us$
then
mv /usr/bin/uptime.procps /usr/bin/uptime.orig.procps
fi
;;
abort-upgrade)
;;
*)
echo "preinst called with unknown argument \`$1'" >&2
exit 1
;;
esac
Any Idea?
Thanks in advance for all the hel you can give
Stefano