>>>>> On Sun, 17 Jul 2016 11:43:33 +0200, Holger Levsen <[email protected]>
>>>>> said:
> is the trivial fix, but to be safe I'm actually using this:
> if ! ifclass JESSIE ; then
> exit 0
> elif [ ! -f /usr/bin/aptitude] && grep -q aptitude /usr/lib/fai/updatebase
> ; then
> sed -i "s#aptitude#apt-get#" /usr/lib/fai/updatebase
> fi
Ouch! Modifying code during execution time.
I'm sure your fix does not work, because
apt-get does not support the operation full-upgrade. See this line:
$ROOTCMD aptitude $aptopt -f -y full-upgrade </dev/null
I'm not sure if we can move from aptitude full-upgrade to apt-get dist-upgrade.
--
regards Thomas