Atualizando o Ubuntu 20.04 para o Ubuntu 22.04

Para atualizar o Ubuntu da distribuição 20.04 para a distribuição 22.04, executar os seguintes comandos:

Primeiro, atualizar todos os pacotes:

 sudo apt update -y && apt upgrade -y

Depois realizar o full-upgrade:

 sudo apt full-upgrade -y

O próximo passo, é executar o do-release-upgrade:

 sudo do-release-upgrade
  Configuration file '/etc/crontab'
   ==> Modified (by you or by a script) since installation.
   ==> Package distributor has shipped an updated version.
     What would you like to do about it ?  Your options are:
      Y or I  : install the package maintainer's version
      N or O  : keep your currently-installed version
        D     : show the differences between the versions
        Z     : start a shell to examine the situation
   The default action is to keep your current version.
  *** crontab (Y/I/N/O/D/Z) [default=N] ?