Ubuntuのアップグレードのやり方

提供: Ubuntu入門
2015年4月29日 (水) 15:53時点におけるDaemon (トーク | 投稿記録)による版

移動: 案内検索
スポンサーリンク

Ubuntuのバージョンアップ方法(アップグレード)について説明します。

読み方

do-release-upgrade
どぅ りりーす あっぷぐれーど

概要

Ubuntuのアップデート方法は、aptコマンドとdo-release-upgradeコマンドを利用して行います。

インストール

sudo apt install update-manager-core

設定の変更

この設定が変更されていないと、アップデートできないかもしれません。

  1. Software & Updates を開きます
  2. 3番目の Updates のタブを選択します
  3. 一番下の Notify me of a new Ubuntu version で「 For any new version 」を選択します。

使い方

まず、アップデートを行います。

sudo apt update

1回目のアップグレードを行います。

sudo do-release-upgrade

再起動します。

2回目のアップグレードを行います。

sudo do-release-upgrade -d

再起動します。

以上で、更新作業は終わりです。

バージョンについては、lsb_release コマンドで確認します。

$ lsb_release -a

アップデートするものがないときの表示

$ sudo do-release-upgrade
Checking for a new Ubuntu release
No new release found

関連項目




スポンサーリンク