diff --git a/lib/distributions.sh b/lib/distributions.sh index 68ccbac4fd..492c2b1b1c 100644 --- a/lib/distributions.sh +++ b/lib/distributions.sh @@ -212,8 +212,7 @@ install_common() EOF display_alert "Updating" "package lists" - chroot "${SDCARD}" /bin/bash -c "apt-get update &>/dev/null" - [[ $? -ne 0 ]] && exit_with_error "Updating packages failed" + chroot "${SDCARD}" /bin/bash -c "apt-get update" "${DEST}"/debug/install.log 2>&1 # install family packages if [[ -n ${PACKAGE_LIST_FAMILY} ]]; then