Vitor Abella Asked: 2016-04-22 22:33:04 +0800 CST2016-04-22 22:33:04 +0800 CST 2016-04-22 22:33:04 +0800 CST How to upgrade from 14.04 LTS or 15.10 to 16.04 from terminal [duplicate] 772 How to upgrade from 14.04 LTS or 15.10 to 16.04 from terminal. upgrade 3 Answers Voted Best Answer edwinksl 2016-04-23T00:24:47+08:002016-04-23T00:24:47+08:00 The easiest way is sudo do-release-upgrade. monitor35 2016-04-23T00:12:40+08:002016-04-23T00:12:40+08:00 You can use sed for editing your sources.list file. I suggest you to backup it first. To upgrade on 15.10: sed -i -e "s/trusty/wily/g" /etc/apt/sources.list apt-get update && apt-get dist-upgrade To upgrade on 16.04: sed -i -e "s/wily/xenial/g" /etc/apt/sources.list apt-get update && apt-get dist-upgrade patrick 2016-04-22T22:44:38+08:002016-04-22T22:44:38+08:00 Try this first do: sudo nano /etc/apt/sources.list then change everything with trusty in it to either xenial (for 16.04) or wily (for 15.10) then do: apt-get update;apt-get upgrade -y and then there you go, you have a fully upgraded 15.10/16.04 system, you do need to run apt-get autoremove --purge -y;apt-get clean afterwards
The easiest way is
sudo do-release-upgrade
.You can use sed for editing your
sources.list
file. I suggest you to backup it first.To upgrade on 15.10:
To upgrade on 16.04:
Try this first do:
then change everything with trusty in it to either xenial (for 16.04) or wily (for 15.10)
then do:
and then there you go, you have a fully upgraded 15.10/16.04 system, you do need to run
afterwards