On Mon, Jul 18, 2016 at 11:30:33AM +0200, Thomas Lange wrote: > > sed -i "s#aptitude#apt-get#" /usr/lib/fai/updatebase > Ouch! Modifying code during execution time. (not during execution… but that's a minor and unrelated point for this bug.)
> I'm sure your fix does not work, because
> apt-get does not support the operation full-upgrade. See this line:
hmpf, right, thanks for pointing this out. I'll replace it with
dist-upgrade then…
> $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.
# apt-get install aptitude
[...]
The following NEW packages will be installed:
aptitude aptitude-common aptitude-doc-en libclass-accessor-perl
libcwidget3
libio-string-perl libparse-debianchangelog-perl libsub-name-perl
libtimedate-perl libxapian22
0 upgraded, 10 newly installed, 0 to remove and 0 not upgraded.
[...]
After this operation, 21.0 MB of additional disk space will be used.
made me choose not to install aptitude on every system…
--
cheers,
Holger
signature.asc
Description: Digital signature

