diff options
-rwxr-xr-x | helpers/lh_chroot_sources | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/helpers/lh_chroot_sources b/helpers/lh_chroot_sources index f1bab8e9b..25713a150 100755 --- a/helpers/lh_chroot_sources +++ b/helpers/lh_chroot_sources @@ -151,6 +151,8 @@ case "${1}" in if [ "${LH_APT}" = "apt" ] || [ "${LH_APT}" = "apt-get" ] then Chroot "apt-get update" + Chroot "apt-get --yes upgrade" + Chroot "apt-get --yes dist-upgrade" elif [ "${LH_APT}" = "aptitude" ] then if [ ! -x /usr/bin/aptitude ] @@ -160,6 +162,8 @@ case "${1}" in fi Chroot "aptitude update" + Chroot "aptitude --assume-yes upgrade" + Chroot "aptitude --assume-yes dist-upgrade" fi # Installing keyring packages |