Translated

This commit is contained in:
2019-08-29 22:47:21 +08:00 committed by GitHub
parent 2cd9c138c0
commit 61efe9cc5d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 245 additions and 245 deletions

View File

@ -1,245 +0,0 @@
[#]: collector: (lujun9972)
[#]: translator: (robsean)
[#]: reviewer: ( )
[#]: publisher: ( )
[#]: url: ( )
[#]: subject: (How to Upgrade Linux Mint 19.1 (Tessa) to Linux Mint 19.2 (Tina)?)
[#]: via: (https://www.2daygeek.com/upgrade-linux-mint-19-1-tessa-to-linux-mint-19-2-tina/)
[#]: author: (2daygeek http://www.2daygeek.com/author/2daygeek/)
How to Upgrade Linux Mint 19.1 (Tessa) to Linux Mint 19.2 (Tina)?
======
Linux Mint 19.2 “Tina” was released on Aug 02nd 2019, it is a long term support release, which is based on Ubuntu 18.04 LTS (Bionic Beaver).
It will be supported until 2023. It comes with updated software and brings refinements and many new features to make your desktop even more comfortable to use.
Linux Mint 19.2 features with Cinnamon 4.2, Linux kernel 4.15, and Ubuntu 18.04 package base.
**`Note:`**` ` Dont forget to take backup of your important data. If something goes wrong you can restore the data from the backup after fresh installation.
Backup can be done either rsnapshot or timeshift.
Linux Mint 19.2 “Tina” Release notes can be found in the following link.
* **[Linux Mint 19.2 (Tina) Release Notes][1]**
There are three ways that we can upgrade to Linux Mint 19.2 “Tina”.
* Upgrade Linux Mint 19.2 (Tina) Using Native Method
* Upgrade Linux Mint 19.2 (Tina) Using Mintupgrade Utility
* Upgrade Linux Mint 19.2 (Tina) Using GUI
### How to Perform The Upgrade from Linux Mint 19.1 (Tessa) to Linux Mint 19.2 (Tina)?
Upgrading the Linux Mint system is an easy and painless task. It can be done three ways.
### Method-1: Upgrade Linux Mint 19.2 (Tina) Using Native Method
This is one of the native and standard method to perform the upgrade for Linux Mint system.
To do so, follow the below procedures.
Make sure that your current Linux Mint system is up-to-date.
Update your existing software to latest available version using the following commands.
### Step-1:
Refresh the repositories index by running the following command.
```
$ sudo apt update
```
Run the following command to install the available updates on system.
```
$ sudo apt upgrade
```
Run the following command to perform the available minor upgrade with in version.
```
$ sudo apt full-upgrade
```
By default, it will remove obsolete packages by running the above command. However, i advise you to run the below commands.
```
$ sudo apt autoremove
$ sudo apt clean
```
You may need to reboot the system, if a new kernel is installed. If so, run the following command.
```
$ sudo shutdown -r now
```
Finally check the currently installed version.
```
$ lsb_release -a
No LSB modules are available.
Distributor ID: Linux Mint
Description: Linux Mint 19.1 (Tessa)
Release: 19.1
Codename: Tessa
```
### Step-2: Update/Modify the /etc/apt/sources.list file
After reboot, modify the sources.list file and point from Linux Mint 19.1 (Tessa) to Linux Mint 19.2 (Tina).
First backup the below config files using the cp command.
```
$ sudo cp /etc/apt/sources.list /root
$ sudo cp -r /etc/apt/sources.list.d/ /root
```
Modify the “sources.list” file and point to Linux Mint 19.1 (Tina).
```
$ sudo sed -i 's/tessa/tina/g' /etc/apt/sources.list
$ sudo sed -i 's/tessa/tina/g' /etc/apt/sources.list.d/*
```
Refresh the repositories index by running the following command.
```
$ sudo apt update
```
Run the following command to install the available updates on system. During the upgrade you may need to confirm for service restart and config file replace so, just follow on-screen instructions.
The upgrade may take some time depending on the number of updates and your Internet speed.
```
$ sudo apt upgrade
```
Run the following command to perform a complete upgrade of the system.
```
$ sudo apt full-upgrade
```
By default, the above command will remove obsolete packages. However, i advise you to run the below commands once again.
```
$ sudo apt autoremove
$ sudo apt clean
```
Finally reboot the system to boot with Linux Mint 19.2 (Tina).
```
$ sudo shutdown -r now
```
The upgraded Linux Mint version can be verified by running the following command.
```
$ lsb_release -a
No LSB modules are available.
Distributor ID: Linux Mint
Description: Linux Mint 19.2 (Tina)
Release: 19.2
Codename: Tina
```
### Method-2: Upgrade Linux Mint 19.2 (Tina) Using Mintupgrade Utility
This is Mint official utility that allow us to perform the smooth upgrade for Linux Mint system.
Use the below command to install mintupgrade package.
```
$ sudo apt install mintupgrade
```
Make sure you have installed the latest version of mintupgrade package.
```
$ apt version mintupgrade
```
Run the below command as a normal user to simulate an upgrade and follow on-screen instructions.
```
$ mintupgrade check
```
Use the below command to download the packages necessary to upgrade to Linux Mint 19.2 (Tina) and follow on screen instructions.
```
$ mintupgrade download
```
Run the following command to apply the upgrades and follow on-screen instructions.
```
$ mintupgrade upgrade
```
Once upgrade done successfully, Reboot the system and check the upgraded version.
```
$ lsb_release -a
No LSB modules are available.
Distributor ID: Linux Mint
Description: Linux Mint 19.2 (Tina)
Release: 19.2
Codename: Tina
```
### Method-3: Upgrade Linux Mint 19.2 (Tina) Using GUI
Alternatively, we can perform the upgrade through GUI.
### Step-1:
Create a system snapshot through Timeshift. If anything goes wrong, you can easily restore your operating system to its previous state.
### Step-2:
Open the Update Manager, click on the Refresh button to check for any new version of mintupdate and mint-upgrade-info. If there are updates for these packages, apply them.
Launch the System Upgrade by clicking on “Edit->Upgrade to Linux Mint 19.2 Tina”.
[![][2]![][2]][3]
Follow the instructions on the screen. If asked whether to keep or replace configuration files, choose to replace them.
[![][2]![][2]][4]
### Step-3:
Once the upgrade is finished, reboot your computer.
--------------------------------------------------------------------------------
via: https://www.2daygeek.com/upgrade-linux-mint-19-1-tessa-to-linux-mint-19-2-tina/
作者:[2daygeek][a]
选题:[lujun9972][b]
译者:[译者ID](https://github.com/译者ID)
校对:[校对者ID](https://github.com/校对者ID)
本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
[a]: http://www.2daygeek.com/author/2daygeek/
[b]: https://github.com/lujun9972
[1]: https://www.linuxtechnews.com/linux-mint-19-2-tina-released-check-what-is-new-feature/
[2]: data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7
[3]: https://www.2daygeek.com/wp-content/uploads/2019/08/linux-mint-19-2-tina-mintupgrade.png
[4]: https://www.2daygeek.com/wp-content/uploads/2019/08/linux-mint-19-2-tina-mintupgrade-1.png

View File

@ -0,0 +1,245 @@
[#]: collector: (lujun9972)
[#]: translator: (robsean)
[#]: reviewer: ( )
[#]: publisher: ( )
[#]: url: ( )
[#]: subject: (How to Upgrade Linux Mint 19.1 (Tessa) to Linux Mint 19.2 (Tina)?)
[#]: via: (https://www.2daygeek.com/upgrade-linux-mint-19-1-tessa-to-linux-mint-19-2-tina/)
[#]: author: (2daygeek http://www.2daygeek.com/author/2daygeek/)
如何升级 Linux Mint 19.1 (Tessa) 为 Linux Mint 19.2 (Tina)
======
Linux Mint 19.2 “Tina” 在2019年8月2日发布它是一个基于 Ubuntu 18.04 LTS (Bionic Beaver) 的长期支持版本。
它将被支持到2023年。它带来更新过的软件和精细的改进和很多新的特色来使你的桌面使用地更舒适。
Linux Mint 19.2 特色有 Cinnamon 4.2 Linux 内核 4.15 ,和 Ubuntu 18.04 软件包基础。
**`注意:`**` ` 不要忘记备份你的重要数据。如果一些东西出错,在最新的安装后,你可以从备份中恢复数据。
备份可以通过 rsnapshot 或 timeshift 完成。
Linux Mint 19.2 “Tina” 发布日志可以在下面的链接中找到。
* **[Linux Mint 19.2 (Tina) 发布日志][1]**
这里有三种方法,能让我们升级为 Linux Mint 19.2 “Tina”。
* 使用本地方法升级 Linux Mint 19.2 (Tina)
* 使用 Mintupgrade 实用程序方法升级 Linux Mint 19.2 (Tina)
* 使用 GUI 升级 Linux Mint 19.2 (Tina)
### 如何从 Linux Mint 19.1 (Tessa) 升级为 Linux Mint 19.2 (Tina)
升级 Linux Mint 系统是一项简单轻松的任务。有三种方法可以完成。
### 方法-1: 使用本地方法升级 Linux Mint 19.2 (Tina)
这是执行升级 Linux Mint 系统的本地和标准的方法之一。
为做到这点,遵循下面的程序步骤。
确保你当前 Linux Mint 系统是最新的。
使用下面的命令来更新你现在的软件为最新可用版本。
### Step-1:
通过运行下面的命令来刷新存储库索引。
```
$ sudo apt update
```
运行下面的命令来在系统上安装可用的更新。
```
$ sudo apt upgrade
```
运行下面的命令来在版本中执行可用的次要更新。
```
$ sudo apt full-upgrade
```
默认情况下,它将通过上面的命令来移除过时的软件包。但是,我建议你运行下面的命令。
```
$ sudo apt autoremove
$ sudo apt clean
```
如果安装一个新的内核,你可能需要重启系统。如果是这样,运行下面的命令。
```
$ sudo shutdown -r now
```
最后检查当前安装的版本。
```
$ lsb_release -a
No LSB modules are available.
Distributor ID: Linux Mint
Description: Linux Mint 19.1 (Tessa)
Release: 19.1
Codename: Tessa
```
### 步骤-2: 更新/修改 /etc/apt/sources.list 文件
在重启后,修改 sources.list 文件,并从 Linux Mint 19.1 (Tessa) 指向 Linux Mint 19.2 (Tina)。
首先,使用 cp 命令备份下面的配置文件。
```
$ sudo cp /etc/apt/sources.list /root
$ sudo cp -r /etc/apt/sources.list.d/ /root
```
修改 “sources.list” 文件,并指向 Linux Mint 19.2 (Tina)。
```
$ sudo sed -i 's/tessa/tina/g' /etc/apt/sources.list
$ sudo sed -i 's/tessa/tina/g' /etc/apt/sources.list.d/*
```
通过运行下面的命令来刷新存储库索引。
```
$ sudo apt update
```
运行下面的命令来在系统上安装可用的更新。在升级过程中,你可用需要确认服务重启和配置文件替换,因此,只需遵循屏幕上的指令。
升级可能花费一些时间,具体依赖于更新的数量和你的网络速度。
```
$ sudo apt upgrade
```
运行下面的命令来执行一次完整的系统升级。
```
$ sudo apt full-upgrade
```
默认情况下,上面的命令将移除过时的软件包。但是,我建议你再次运行下面的命令。
```
$ sudo apt autoremove
$ sudo apt clean
```
最后重启系统来启动 Linux Mint 19.2 (Tina)。
```
$ sudo shutdown -r now
```
升级后的 Linux Mint 版本可以通过运行下面的命令验证。
```
$ lsb_release -a
No LSB modules are available.
Distributor ID: Linux Mint
Description: Linux Mint 19.2 (Tina)
Release: 19.2
Codename: Tina
```
### 方法-2: 使用 Mintupgrade 实用程序升级 Linux Mint 19.2 (Tina)
这是 Mint 官方实用程序,它允许我们对 Linux Mint 系统执行平滑升级。
使用下面的命令来安装 mintupgrade 软件包。
```
$ sudo apt install mintupgrade
```
确保你已经安装 mintupgrade 软件包的最新版本。
```
$ apt version mintupgrade
```
以一个普通用户来运行下面的命令以模拟一次升级,遵循屏幕上的指令。
```
$ mintupgrade check
```
使用下面的命令来下载需要的软件包来升级为 Linux Mint 19.2 (Tina) ,遵循屏幕上的指令。
```
$ mintupgrade download
```
运行下面的命令来运用升级,最新屏幕上的指令。
```
$ mintupgrade upgrade
```
在成功升级后,重启系统,并检查升级后的版本。
```
$ lsb_release -a
No LSB modules are available.
Distributor ID: Linux Mint
Description: Linux Mint 19.2 (Tina)
Release: 19.2
Codename: Tina
```
### 方法-3: 使用 GUI 升级 Linux Mint 19.2 (Tina)
或者,我们可以通过 GUI 执行升级。
### 步骤-1:
通过 Timeshift 创建一个系统快照。如果一些东西出错,你可以简单地恢复你的操作系统到它先前状态。
### 步骤-2:
打开更新管理器,单击刷新按钮来检查 mintupdate 和 mint-upgrade-info 的任何新版本。如果有这些软件包的更新,应用它们。
通过单击 “编辑-> 升级到 Linux Mint 19.2 Tina”来启动系统升级。
[![][2]![][2]][3]
遵循屏幕上的指令。如果被询问是否保留或替换配置文件,选择替换它们。
[![][2]![][2]][4]
### 步骤-3:
在升级完成后,重启你的电脑。
--------------------------------------------------------------------------------
via: https://www.2daygeek.com/upgrade-linux-mint-19-1-tessa-to-linux-mint-19-2-tina/
作者:[2daygeek][a]
选题:[lujun9972][b]
译者:[robsean](https://github.com/robsean)
校对:[校对者ID](https://github.com/校对者ID)
本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
[a]: http://www.2daygeek.com/author/2daygeek/
[b]: https://github.com/lujun9972
[1]: https://www.linuxtechnews.com/linux-mint-19-2-tina-released-check-what-is-new-feature/
[2]: data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7
[3]: https://www.2daygeek.com/wp-content/uploads/2019/08/linux-mint-19-2-tina-mintupgrade.png
[4]: https://www.2daygeek.com/wp-content/uploads/2019/08/linux-mint-19-2-tina-mintupgrade-1.png