2019-06-11 14:59:58 +00:00
|
|
|
#!/bin/bash
|
2019-08-14 15:34:54 +00:00
|
|
|
source /installers/config
|
2019-06-11 14:59:58 +00:00
|
|
|
echo "force-unsafe-io" > /etc/dpkg/dpkg.cfg.d/force-unsafe-io
|
|
|
|
|
# swap http://archive.ubuntu.com for the new mirror://mirrors.ubuntu.com/mirrors.txt mirror-router.
|
|
|
|
|
sed -i 's/http\:\/\/archive\.ubuntu\.com\/ubuntu\//mirror\:\/\/mirrors.ubuntu.com\/mirrors.txt/g' /etc/apt/sources.list
|
|
|
|
|
|
|
|
|
|
# Update apt repos
|
|
|
|
|
apt-get -qq update
|
|
|
|
|
|
|
|
|
|
# System upgrade
|
|
|
|
|
apt-get -yq upgrade
|
2019-07-23 11:37:27 +00:00
|
|
|
|
|
|
|
|
# Install apt-utils to prevent some screaming.
|
2019-08-15 16:47:11 +00:00
|
|
|
$APT_GET apt apt-utils
|