Here in our office we have 200+ servers which are located in different weird locations like deserts, mountains, cities which are serving as receivers for our data. Our server are bit old which are running 10.04 Ubuntu(Lucid Lynx). As this version of OS is no more supported by Ubuntu we want to move from this version in two steps. First step is to upgrade from 10.04 to 12.04 and second step is to upgrade 12.04 to 14.04.

Normally when we try to upgrade Ubuntu using 'do-release-upgrade command' it will ask hell a lot of questions when restarting service, updating config files. If we are installing on a single machine that is fine, if we try to upgrade two machines it is also fine. But if you want to upgrade OS on 100's of headless remote machines it is a tedious job. 

The solution for this issue is choose a different "front end" which is having ability to provide default answers on it’s own for the questions arises at the time of upgrade. The front end which will not ask any question and do a silent upgrade is "DistUpgradeViewNonInteractive". Issue below command for complete unattended installation.

	do-release-upgrade -f DistUpgradeViewNonInteractive 
	We have other front end options as well and they are self explanatory and full list of front ends are given below.

	DistUpgradeViewGtk3

	DistUpgradeViewGtk

	DistUpgradeViewKDE
	The below two work on SSH connection:

	DistUpgradeViewText

	DistUpgradeViewNonInteractive
The following two tabs change content below.
Mr Surendra Anne is from Vijayawada, Andhra Pradesh, India. He is a Linux/Open source supporter who believes in Hard work, A down to earth person, Likes to share knowledge with others, Loves dogs, Likes photography. He works as Devops Engineer with Taggle systems, an IOT automatic water metering company, Sydney . You can contact him at surendra (@) linuxnix dot com.