Below is the commands I have triggered

```
sudo apt update
sudo apt ugprade
sudo reboot
sudo ufw allow 1022/tcp comment 'Temp open port ssh tcp port 1022 for upgrade'
sudo do-release-upgrade

```

After this system gives error. Below is the logs 

```
Checking for a new Ubuntu release
Get:1 Upgrade tool signature [819 B]                                           
Get:2 Upgrade tool [1,240 kB]                                                  
Fetched 1,241 kB in 0s (0 B/s)                                                 
authenticate 'bionic.tar.gz' against 'bionic.tar.gz.gpg' 
extracting 'bionic.tar.gz'

Reading cache

Checking package manager
Reading package lists... Done
Building dependency tree        
Reading state information... Done
Hit http://in.archive.ubuntu.com/ubuntu xenial InRelease                       
Hit https://download.docker.com/linux/ubuntu xenial InRelease                  
Hit http://in.archive.ubuntu.com/ubuntu xenial-updates InRelease               
Hit http://packages.microsoft.com/repos/vscode stable InRelease                
Hit http://in.archive.ubuntu.com/ubuntu xenial-backports InRelease             
Ign http://dl.google.com/linux/chrome/deb stable InRelease                     
Get:1 http://security.ubuntu.com/ubuntu xenial-security InRelease [109 kB]     
Hit http://ppa.launchpad.net/ondrej/php/ubuntu xenial InRelease                
Hit http://dl.google.com/linux/chrome/deb stable Release                       
Hit http://ppa.launchpad.net/slgobinath/safeeyes/ubuntu xenial InRelease       
Hit https://repo.skype.com/deb stable InRelease                                
Hit http://linux.teamviewer.com/deb stable InRelease                           
Hit https://packagecloud.io/slacktechnologies/slack/debian jessie InRelease                                                                                                                                   
Fetched 109 kB in 0s (0 B/s)                                                                                                                                                                                  
Reading package lists... Done    
Building dependency tree          
Reading state information... Done

Restoring original system state

Aborting
Reading package lists... Done    
Building dependency tree          
Reading state information... Done

```

Can someone help me for this?