mercoledì 4 giugno 2014

Use apt-get in outdated Ubuntu release

When an Ubuntu release is outdated, all source files are moved from archive.ubuntu.com to old-releases.ubuntu.com.
In order to continue to use the apt-get command, you have to update the source list (see /etc/apt/sources.list)

# replace the source list automatically
sudo sed -i -e 's/archive.ubuntu.com\|security.ubuntu.com/old-releases.ubuntu.com/g' /etc/apt/sources.list

# resynchronize the package index files from their sources
sudo apt-get update 

# install the newest versions of all packages currently installed on the system from the sources
sudo apt-get dist-upgrade

Nessun commento:

Posta un commento