update_package_dependencies="bootstrap" update() { ME=update echo " Refresh apt sources" chroot-exec aptitude update > $DEBUG.$ME 2>&1 echo -n " Running system update " chroot-exec aptitude -y safe-upgrade | tee -a - $DEBUG.$ME | awk '{printf "."}' 2>&1 echo "done" }