Help us improve the AWS re:Post Knowledge Center by sharing your feedback in a brief survey. Your input can influence how we create and update our content to better support your AWS journey.
如何將 Amazon EC2 Linux 執行個體上的 Ubuntu 從一個 LTS 版本升級到另一個版本?
Do you want to start the upgrade?
3 packages are going to be removed. 90 new packages are going to be
installed. 567 packages are going to be upgraded.
You have to download a total of 356 M. This download will take about
1 minute with your connection.
Installing the upgrade can take several hours. Once the download has
finished, the process cannot be canceled.
Continue [yN] Details [d]
Configuration file '/etc/ssh/ssh_config' ==> 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.
*** ssh_config (Y/I/N/O/D/Z) [default=N] ?
若要移除過時套件,請在以下提示中按下 Y:
Searching for obsolete software
Reading state information... Done
Remove obsolete packages?
73 packages are going to be removed.
Continue [yN] Details [d]
若要重新啟動系統,請在以下提示中按下 Y:
System upgrade is complete.Restart required
To finish the upgrade, a restart is required.
If you select 'y' the system will be restarted.
Continue [yN]