Update apt-get before trying to install python3.