diff --git a/libraries/update/ubuntu.sh b/libraries/update/ubuntu.sh index 8e52e94..8f94280 100644 --- a/libraries/update/ubuntu.sh +++ b/libraries/update/ubuntu.sh @@ -34,7 +34,7 @@ update_non_root() { count=$(apt list --upgradeable | wc -l) # Count, with 1 additional line if [[ $count -ne 1 ]]; then info "Updating $(expr $count - 1) packets..." - run_as_root "apt-get dist-upgrade -y" + run_as_root "apt-get dist-upgrade -y -o Dpkg::Options::='--force-confdef' -o Dpkg::Options::='--force-confold'" success "System has been updated!" else success "System up to date." @@ -49,7 +49,7 @@ update_as_root() { count=$(apt list --upgradeable | wc -l) # Count, with 1 additional line if [[ $count -ne 1 ]]; then info "Updating $(expr $count - 1) packets..." - apt-get dist-upgrade -y + apt-get dist-upgrade -y -o Dpkg::Options::='--force-confdef' -o Dpkg::Options::='--force-confold' success "System has been updated!" else success "System up to date."