如何從 Ubuntu-12.04 LTS 升級到最新的 Ubuntu 版本

如何從 Ubuntu-12.04 LTS 升級到最新的 Ubuntu 版本

如何從 Ubuntu-12.04 LTS 升級到最新的穩定 Ubuntu 版本,有人可以幫我完成這個過程嗎? ?先感謝您。

答案1

這些步驟必須是漸進的,即:

12.04 to 14.04 to 16.04 to 16.10 to 17.04

步驟1:

1a. 12.04 至 14.04:

  • Alt+F2並在指令方塊中輸入「update-manager」(不含引號)

  • 更新管理器應該會開啟並告訴您:新發行版「14.04 LTS」可用。

  • 按一下升級並按照螢幕上的指示進行操作。

1b.伺服器版本:

  • 如果尚未安裝 update-manager-core 軟體包,請安裝它。

  • 使用指令 sudo do-release-upgrade 啟動升級工具。

  • 請按照螢幕上的指示進行操作。

步驟 2:14.04 至 16.04:

  1. 確保您完全了解最新情況。

  2. 觸發更新:sudo update-manager -d

  3. 更新管理器應用程式將在幾秒鐘後開啟。它將再次檢查您是否是最新的。它將顯示一個提示,詢問您是否要升級。只需單擊“升級”按鈕即可開始該過程。

  4. 等待更新管理器完成其工作。

步驟3:

1a. 16.04 至 16.10(桌面版)

  • 首先務必備份重要資料、書籤等。

    • 停用或刪除「其他軟體」標籤上的所有第三方儲存庫。
    • 在附加驅動程式中選擇開源圖形驅動程序,並在應用變更後重新啟動。
  • Software & Updates使用 Unity Dash打開

  • 選擇選項Updates

  • 找到標題為Notify me of a new Ubuntu version

  • For long-term support versions to對於任何新版本,請更改此設定`

  • 點選Close

  • 跑步:sudo apt update && sudo apt full-upgrade

  • 開啟終端機並運行:sudo update-manager -d,當software updater出現時選擇upgrade

1b. 16.04 至 16.10(伺服器):

  • sudo apt install update-manager-core

  • sudo nano /etc/update-manager/release-upgrades

    • 將行“Prompt=LTS”更改為“Prompt=normal”(不含引號)並儲存檔案。
  • sudo do-release-upgrade -d

步驟 4 16.10 至 17.04:

  1. 請務必備份重要資料、書籤和其他使用者文件。

  2. 刪除或停用第三方儲存庫:

    • 啟動軟體和更新實用程序,導航到其他軟體選項卡,然後刪除/停用所有第三方儲存庫。
  3. 恢復到開源驅動程式:

    • 另外,在「軟體和更新」實用程式的「其他驅動程式」標籤中,如果正在使用專有驅動程序,請切換到開源驅動程式。 (應用更改後需要恢復)
    • 最好選擇從軟體和更新實用程式中的「主伺服器」下載。
  4. 透過在終端機中運行命令使您的系統保持最新狀態:

    sudo apt update && sudo apt full-upgrade
    
  5. 畢竟,透過以下命令啟動更新管理器,檢查更新後會提示 Ubuntu 17.04 可用:

    sudo update-manager -d
    

來源:

http://ubuntuhandbook.org/index.php/2017/04/upgrade-to-ubuntu-17-04-from-ubuntu-16-10/

http://www.omgubuntu.co.uk/2016/10/how-to-upgrade-to-ubuntu-16-10

http://ubuntuhandbook.org/index.php/2016/10/upgrade-ubuntu-16-10-from-ubuntu-16-04/

https://wiki.ubuntu.com/TrustyTahr/ReleaseNotes#Upgrading_from_Ubuntu_12.04_LTS_or_Ubuntu_13.10

https://help.ubuntu.com/community/UpgradeNotes

相關內容