apt relocation error after upgrade ubuntu from 12 to 16 (Solution)
apt relocation error on ubuntu 1604 (Solution)
If you have an ubuntu server with version 12.04LTS and you going to upgrade to the latest version of operating system with Long Term Support which is Ubuntu 16.04.02LTS for now.
Run below Command to update and upgrade first:
do-release-upgrade (Now we update to Ubuntu 14.04LTS)
Wait for sometime and you will get ubuntu 14.04LTS, and now we can update to 16.04LTS
and check os version by using below command:
and when you try to install something via apt u will get an apt relocation error on your ubuntu.
Here the solution:
wget http://launchpadlibrarian.net/259210936/libstdc++6_5.3.1-14ubuntu2.1_amd64.deb sudo dpkg -i libstdc++6_5.3.1-14ubuntu2.1_amd64.deb apt-get -f install reboot
Congratulation, Your ubuntu is updated are apt is back.
Leave a ReplyWant to join the discussion?
Feel free to contribute!