Advertisement
para_bellum

Upgrade old Ubuntu

Jul 25th, 2017
104
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.56 KB | None | 0 0
  1. If it's really old and not supported anymore, you'll need to first change the repositories in /etc/sources.lst:
  2. $ sudo sed -i -re 's/([a-z]{2}\.)?archive.ubuntu.com|security.ubuntu.com/old-releases.ubuntu.com/g' /etc/apt/sources.list
  3.  
  4. Then update and upgrade:
  5. $ sudo apt-get update; sudo apt-get upgrade
  6.  
  7. Then do the release upgrade:
  8. $ sudo do-release-upgrade
  9.  
  10. References:
  11. https://askubuntu.com/questions/779189/how-to-upgrade-a-server-from-12-04-to-16-04
  12. https://askubuntu.com/questions/91815/how-to-install-software-or-upgrade-from-an-old-unsupported-release
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement