Installing apt and dpkg updates (if any) first in derivatives mode, then doing dist-upgrade.

This commit is contained in:
Daniel Baumann 2015-05-23 12:42:16 +02:00
parent 50794b1de1
commit ca1a31dec6
1 changed files with 6 additions and 0 deletions

View File

@ -264,6 +264,12 @@ fi
rm -rf chroot/var/cache/apt/*.bin rm -rf chroot/var/cache/apt/*.bin
Apt chroot update Apt chroot update
if [ "${LB_DERIVATIVE}" = "true" ]
then
Apt chroot install apt dpkg
fi
Apt chroot "upgrade" Apt chroot "upgrade"
Apt chroot "dist-upgrade" Apt chroot "dist-upgrade"