Wednesday, February 3, 2016

How to upgrade the Ubuntu version 13.10 with the updated package repository archives to 14.04


I have been using ubuntu version 13.10 for a while. After some time, ubuntu stops supporting the older version and it keeps throwing error while trying to update the 13.10 packages. 

Therefore in order to fix this issue, you can either update the OS version to the latest one or you can update the package repository archives of archive.ubuntu.com  and  security.ubuntu.compackage repository domain names with  old-releases.ubuntu.com

This has been explained in the post to isolate the Ubuntu update error.

But not it's time to update the Ubutnu to 14.04. In order to perform the update you have to follow the following steps.

The semicolon differentiates each individual commands to let us paste together in the terminal.

sudo apt-get clean ;
cd /var/lib/apt ;
sudo mv lists lists.old_`date '+%Y%m%d_%H%M%S'`   ;
sudo mkdir -p lists/partial ;
sudo apt-get clean ;
sudo apt-get update

Sometimes the above commands may fail. In that case you can execute the following set of commands.
sudo sed -i 's/saucy/trusty/g' /etc/apt/sources.list ; sudo apt-get update ; sudo apt-get upgrade ;

No comments:

Post a Comment