Hello, I have Ubuntu 16 instance under AWS and on login to its console I see message: New release '18.04.2 LTS' available. Run 'do-release-upgrade' to upgrade to it. Code (markup): I tried to run it following messages in commands : Last login: Fri Sep 6 06:39:22 2019 from 213.109.234.130 ubuntu@ip-NN-NNN-NN-NNN:~$ clear ubuntu@ip-NN-NNN-NN-NNN:~$ sudo apt-get update Hit:1 http://us-east-2.ec2.archive.ubuntu.com/ubuntu xenial InRelease Hit:2 http://us-east-2.ec2.archive.ubuntu.com/ubuntu xenial-updates InRelease Hit:3 http://us-east-2.ec2.archive.ubuntu.com/ubuntu xenial-backports InRelease Hit:4 http://security.ubuntu.com/ubuntu xenial-security InRelease Hit:5 http://ppa.launchpad.net/ondrej/php/ubuntu xenial InRelease Reading package lists... Done ubuntu@ip-NN-NNN-NN-NNN:~$ sudo apt-get upgrade Reading package lists... Done Building dependency tree Reading state information... Done Calculating upgrade... Done The following packages were automatically installed and are no longer required: linux-aws-headers-4.4.0-1084 linux-aws-headers-4.4.0-1085 linux-aws-headers-4.4.0-1087 linux-aws-headers-4.4.0-1088 Use 'sudo apt autoremove' to remove them. The following packages have been kept back: libgd3 libxml2 php-fpm php-gd php-mbstring php-mysql php-zip 0 upgraded, 0 newly installed, 0 to remove and 7 not upgraded. ubuntu@ip-NN-NNN-NN-NNN:~$ do-release-upgrade Checking for a new Ubuntu release Please install all available updates for your release before upgrading. ubuntu@ip-NN-NNN-NN-NNN:~$ sudo apt autoremove Reading package lists... Done Building dependency tree Reading state information... Done The following packages will be REMOVED: linux-aws-headers-4.4.0-1084 linux-aws-headers-4.4.0-1085 linux-aws-headers-4.4.0-1087 linux-aws-headers-4.4.0-1088 0 upgraded, 0 newly installed, 4 to remove and 7 not upgraded. After this operation, 289 MB disk space will be freed. Do you want to continue? [Y/n] Y perl: warning: Setting locale failed. perl: warning: Please check that your locale settings: LANGUAGE = (unset), LC_ALL = (unset), LC_TIME = "uk_UA.UTF-8", LC_MONETARY = "uk_UA.UTF-8", LC_ADDRESS = "uk_UA.UTF-8", LC_TELEPHONE = "uk_UA.UTF-8", LC_NAME = "uk_UA.UTF-8", LC_MEASUREMENT = "uk_UA.UTF-8", LC_IDENTIFICATION = "uk_UA.UTF-8", LC_NUMERIC = "uk_UA.UTF-8", LC_PAPER = "uk_UA.UTF-8", LANG = "en_US.UTF-8" are supported and installed on your system. perl: warning: Falling back to a fallback locale ("en_US.UTF-8"). locale: Cannot set LC_ALL to default locale: No such file or directory (Reading database ... 178090 files and directories currently installed.) Removing linux-aws-headers-4.4.0-1084 (4.4.0-1084.94) ... Removing linux-aws-headers-4.4.0-1085 (4.4.0-1085.96) ... Removing linux-aws-headers-4.4.0-1087 (4.4.0-1087.98) ... Removing linux-aws-headers-4.4.0-1088 (4.4.0-1088.99) ... ubuntu@ip-NN-NNN-NN-NNN:~$ sudo apt-get update Hit:1 http://us-east-2.ec2.archive.ubuntu.com/ubuntu xenial InRelease Hit:2 http://us-east-2.ec2.archive.ubuntu.com/ubuntu xenial-updates InRelease Hit:3 http://us-east-2.ec2.archive.ubuntu.com/ubuntu xenial-backports InRelease Hit:4 http://ppa.launchpad.net/ondrej/php/ubuntu xenial InRelease Hit:5 http://security.ubuntu.com/ubuntu xenial-security InRelease Reading package lists... Done ubuntu@ip-NN-NNN-NN-NNN:~$ sudo apt-get upgrade Reading package lists... Done Building dependency tree Reading state information... Done Calculating upgrade... Done The following packages have been kept back: libgd3 libxml2 php-fpm php-gd php-mbstring php-mysql php-zip 0 upgraded, 0 newly installed, 0 to remove and 7 not upgraded. ubuntu@ip-NN-NNN-NN-NNN:~$ do-release-upgrade Checking for a new Ubuntu release Please install all available updates for your release before upgrading. Code (markup): I see error message at bottom of commands and I wonder what else have I to make to upgrade to 18 ? Thanks!