Add/Fix Synchronising package index files with debian repositories.
This commit is contained in:
@ -731,6 +731,18 @@ tmp_err_msg=$(mktemp)
|
||||
echo
|
||||
echo -e "\033[37m\033[1mSome pre-installation tasks..\033[m"
|
||||
echo
|
||||
|
||||
# - Synchronise package index files with the repository
|
||||
# -
|
||||
echononl " Synchronise package index files with the repository.."
|
||||
apt-get update > "$tmp_err_msg" 2>&1
|
||||
if [[ $? -eq 0 ]] ; then
|
||||
echo_ok
|
||||
else
|
||||
echo_failed
|
||||
error "$(cat $tmp_err_msg)"
|
||||
fi
|
||||
|
||||
# - Install Prerequisites from debian package system
|
||||
# -
|
||||
echononl " Install prerequisites from debian package system"
|
||||
|
Reference in New Issue
Block a user