mirror of
https://github.com/LCTT/TranslateProject.git
synced 2025-01-04 22:00:34 +08:00
Merge remote-tracking branch 'LCTT/master'
This commit is contained in:
commit
b4d291c8fd
@ -1,8 +1,8 @@
|
||||
[#]: collector: (lujun9972)
|
||||
[#]: translator: (geekpi)
|
||||
[#]: reviewer: ( )
|
||||
[#]: publisher: ( )
|
||||
[#]: url: ( )
|
||||
[#]: reviewer: (wxy)
|
||||
[#]: publisher: (wxy)
|
||||
[#]: url: (https://linux.cn/article-11541-1.html)
|
||||
[#]: subject: (Upgrading Fedora 30 to Fedora 31)
|
||||
[#]: via: (https://fedoramagazine.org/upgrading-fedora-30-to-fedora-31/)
|
||||
[#]: author: (Ben Cotton https://fedoramagazine.org/author/bcotton/)
|
||||
@ -12,25 +12,25 @@
|
||||
|
||||
![][1]
|
||||
|
||||
Fedora 31 [目前发布了][2]。你也许想要升级系统来获得 Fedora 中的最新功能。Fedora 工作站有图形化的升级方式。另外,Fedora 提供了一种命令行方式来将 Fedora 30 升级到 Fedora 31。
|
||||
Fedora 31 [日前发布了][2]。你也许想要升级系统来获得 Fedora 中的最新功能。Fedora 工作站有图形化的升级方式。另外,Fedora 提供了一种命令行方式来将 Fedora 30 升级到 Fedora 31。
|
||||
|
||||
### 将 Fedora 30 工作站升级到 Fedora 31
|
||||
|
||||
在发布不久之后,就会有通知告诉你有可用升级。你可以点击通知打开 **GNOME Software**。或者在 GNOME Shell 选择 Software。
|
||||
在该发布不久之后,就会有通知告诉你有可用升级。你可以点击通知打开 GNOME “软件”。或者在 GNOME Shell 选择“软件”。
|
||||
|
||||
在 GNOME Software 中选择_更新_,你应该会看到告诉你有 Fedora 31 更新的提示。
|
||||
在 GNOME 软件中选择*更新*,你应该会看到告诉你有 Fedora 31 更新的提示。
|
||||
|
||||
如果你在屏幕上看不到任何内容,请尝试使用左上方的重新加载按钮。在发布后,所有系统可能需要一段时间才能看到可用的升级。
|
||||
|
||||
选择_下载_以获取升级包。你可以继续工作,直到下载完成。然后使用 GNOME Software 重启系统并应用升级。升级需要时间,因此你可能需要喝杯咖啡,稍后再返回系统。
|
||||
选择*下载*以获取升级包。你可以继续工作,直到下载完成。然后使用 GNOME “软件”重启系统并应用升级。升级需要时间,因此你可能需要喝杯咖啡,稍后再返回系统。
|
||||
|
||||
### 使用命令行
|
||||
|
||||
如果你是从 Fedora 以前的版本升级的,那么你可能对 _dnf upgrade_ 插件很熟悉。这是推荐且支持的从 Fedora 30 升级到 Fedora 31 的方法。使用此插件能让你轻松地升级到 Fedora 31。
|
||||
如果你是从 Fedora 以前的版本升级的,那么你可能对 `dnf upgrade` 插件很熟悉。这是推荐且支持的从 Fedora 30 升级到 Fedora 31 的方法。使用此插件能让你轻松地升级到 Fedora 31。
|
||||
|
||||
#### 1\. 更新软件并备份系统
|
||||
#### 1、更新软件并备份系统
|
||||
|
||||
在开始升级之前,请确保你安装了 Fedora 30 的最新软件。如果你安装了模块化软件,这点尤为重要。dnf 和 GNOME Software 的最新版本对某些模块化流的升级过程进行了改进。要更新软件,请使用 _GNOME Software_ 或在终端中输入以下命令。
|
||||
在开始升级之前,请确保你安装了 Fedora 30 的最新软件。如果你安装了模块化软件,这点尤为重要。`dnf` 和 GNOME “软件”的最新版本对某些模块化流的升级过程进行了改进。要更新软件,请使用 GNOME “软件” 或在终端中输入以下命令:
|
||||
|
||||
```
|
||||
sudo dnf upgrade --refresh
|
||||
@ -38,7 +38,7 @@ sudo dnf upgrade --refresh
|
||||
|
||||
此外,在继续操作之前,请确保备份系统。有关备份的帮助,请参阅 Fedora Magazine 上的[备份系列][3]。
|
||||
|
||||
#### 2\. 安装 DNF 插件
|
||||
#### 2、安装 DNF 插件
|
||||
|
||||
接下来,打开终端并输入以下命令安装插件:
|
||||
|
||||
@ -46,7 +46,7 @@ sudo dnf upgrade --refresh
|
||||
sudo dnf install dnf-plugin-system-upgrade
|
||||
```
|
||||
|
||||
#### 3\. 使用 DNF 开始更新
|
||||
#### 3、使用 DNF 开始更新
|
||||
|
||||
现在,你的系统是最新的,已经备份并且安装了 DNF 插件,你可以通过在终端中使用以下命令来开始升级:
|
||||
|
||||
@ -54,9 +54,9 @@ sudo dnf install dnf-plugin-system-upgrade
|
||||
sudo dnf system-upgrade download --releasever=31
|
||||
```
|
||||
|
||||
该命令将开始在本地下载计算机的所有升级。如果由于缺乏更新包、损坏的依赖项或已淘汰的软件包而在升级时遇到问题,请在输入上面的命令时添加 _‐-allowerasing_ 标志。这将使 DNF 删除可能阻止系统升级的软件包。
|
||||
该命令将开始在本地下载计算机的所有升级。如果由于缺乏更新包、损坏的依赖项或已淘汰的软件包而在升级时遇到问题,请在输入上面的命令时添加 `‐-allowerasing` 标志。这将使 DNF 删除可能阻止系统升级的软件包。
|
||||
|
||||
#### 4\. 重启并升级
|
||||
#### 4、重启并升级
|
||||
|
||||
上面的命令下载更新完成后,你的系统就可以重启了。要将系统引导至升级过程,请在终端中输入以下命令:
|
||||
|
||||
@ -64,7 +64,7 @@ sudo dnf system-upgrade download --releasever=31
|
||||
sudo dnf system-upgrade reboot
|
||||
```
|
||||
|
||||
此后,你的系统将重启。在许多版本之前,_fedup_ 工具会在内核选择/引导页面上创建一个新选项。使用 _dnf-plugin-system-upgrade_ 软件包,你的系统将重新引导到当前 Fedora 30 使用的内核。这很正常。在内核选择页面之后不久,你的系统会开始升级过程。
|
||||
此后,你的系统将重启。在许多版本之前,`fedup` 工具会在内核选择/引导页面上创建一个新选项。使用 `dnf-plugin-system-upgrade` 软件包,你的系统将重新引导到当前 Fedora 30 使用的内核。这很正常。在内核选择页面之后不久,你的系统会开始升级过程。
|
||||
|
||||
现在也许可以喝杯咖啡休息下!升级完成后,系统将重启,你将能够登录到新升级的 Fedora 31 系统。
|
||||
|
||||
@ -83,14 +83,14 @@ via: https://fedoramagazine.org/upgrading-fedora-30-to-fedora-31/
|
||||
作者:[Ben Cotton][a]
|
||||
选题:[lujun9972][b]
|
||||
译者:[geekpi](https://github.com/geekpi)
|
||||
校对:[校对者ID](https://github.com/校对者ID)
|
||||
校对:[wxy](https://github.com/wxy)
|
||||
|
||||
本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
|
||||
|
||||
[a]: https://fedoramagazine.org/author/bcotton/
|
||||
[b]: https://github.com/lujun9972
|
||||
[1]: https://fedoramagazine.org/wp-content/uploads/2019/10/f30-f31-816x345.jpg
|
||||
[2]: https://fedoramagazine.org/announcing-fedora-31/
|
||||
[2]: https://linux.cn/article-11522-1.html
|
||||
[3]: https://fedoramagazine.org/taking-smart-backups-duplicity/
|
||||
[4]: https://cdn.fedoramagazine.org/wp-content/uploads/2016/06/Screenshot_f23-ws-upgrade-test_2016-06-10_110906-1024x768.png
|
||||
[5]: https://docs.fedoraproject.org/en-US/quick-docs/dnf-system-upgrade/#Resolving_post-upgrade_issues
|
@ -1,95 +0,0 @@
|
||||
[#]: collector: (lujun9972)
|
||||
[#]: translator: (Morisun029)
|
||||
[#]: reviewer: ( )
|
||||
[#]: publisher: ( )
|
||||
[#]: url: ( )
|
||||
[#]: subject: (How To Update a Fedora Linux System [Beginner’s Tutorial])
|
||||
[#]: via: (https://itsfoss.com/update-fedora/)
|
||||
[#]: author: (Ankush Das https://itsfoss.com/author/ankush/)
|
||||
|
||||
How To Update a Fedora Linux System [Beginner’s Tutorial]
|
||||
======
|
||||
|
||||
_**This quick tutorial shows various ways to update a Fedora Linux install.**_
|
||||
|
||||
So, the other day, I installed the [newly released Fedora 31][1]. I’ll be honest with you, it was my first time with a [non-Ubuntu distribution][2].
|
||||
|
||||
The first thing I did after installing Fedora was to try and install some software. I opened the software center and found that the software center was ‘broken’. I couldn’t install any application from it.
|
||||
|
||||
I wasn’t sure what went wrong with my installation. Discussing within the team, Abhishek advised me to update the system first. I did that and poof! everything was back to normal. After updating the [Fedora][3] system, the software center worked as it should.
|
||||
|
||||
Sometimes we just ignore the updates and keep troubleshooting the issue we face. No matter how big/small the issue is – to avoid them, you should keep your system up-to-date.
|
||||
|
||||
In this article, I’ll show you various possible methods to update your Fedora Linux system.
|
||||
|
||||
* [Update Fedora using software center][4]
|
||||
* [Update Fedora using command line][5]
|
||||
* [Update Fedora from system settings][6]
|
||||
|
||||
|
||||
|
||||
Keep in mind that updating Fedora means installing the security patches, kernel updates and software updates. If you want to update from one version of Fedora to another, it is called version upgrade and you can [read about Fedora version upgrade procedure here][7].
|
||||
|
||||
### Updating Fedora From The Software Center
|
||||
|
||||
![Software Center][8]
|
||||
|
||||
You will most likely be notified that you have some system updates to look at, you should end up launching the software center when you click on that notification.
|
||||
|
||||
All you have to do is – hit ‘Update’ and verify the root password to start updating.
|
||||
|
||||
In case you did not get a notification for the available updates, you can simply launch the software center and head to the “Updates” tab. Now, you just need to proceed with the updates listed.
|
||||
|
||||
### Updating Fedora Using The Terminal
|
||||
|
||||
If you cannot load up the software center for some reason, you can always utilize the dnf package managing commands to easily update your system.
|
||||
|
||||
Simply launch the terminal and type in the following command to start updating (you should be prompted to verify the root password):
|
||||
|
||||
```
|
||||
sudo dnf upgrade
|
||||
```
|
||||
|
||||
**dnf update vs dnf upgrade
|
||||
**
|
||||
You’ll find that there are two dnf commands available: dnf update and dnf upgrade.
|
||||
Both command do the same job and that is to install all the updates provided by Fedora.
|
||||
Then why there is dnf update and dnf upgrade and which one should you use?
|
||||
Well, dnf update is basically an alias to dnf upgrade. While dnf update may still work, the good practice is to use dnf upgrade because that is the real command.
|
||||
|
||||
### Updating Fedora From System Settings
|
||||
|
||||
![][9]
|
||||
|
||||
If nothing else works (or if you’re already in the System settings for a reason), navigate your way to the “Details” option at the bottom of your settings.
|
||||
|
||||
This should show up the details of your OS and hardware along with a “Check for Updates” button as shown in the image above. You just need to click on it and provide the root/admin password to proceed to install the available updates.
|
||||
|
||||
**Wrapping Up**
|
||||
|
||||
As explained above, it is quite easy to update your Fedora installation. You’ve got three available methods to choose from – so you have nothing to worry about.
|
||||
|
||||
If you notice any issue in following the instructions mentioned above, feel free to let me know in the comments below.
|
||||
|
||||
--------------------------------------------------------------------------------
|
||||
|
||||
via: https://itsfoss.com/update-fedora/
|
||||
|
||||
作者:[Ankush Das][a]
|
||||
选题:[lujun9972][b]
|
||||
译者:[译者ID](https://github.com/译者ID)
|
||||
校对:[校对者ID](https://github.com/校对者ID)
|
||||
|
||||
本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
|
||||
|
||||
[a]: https://itsfoss.com/author/ankush/
|
||||
[b]: https://github.com/lujun9972
|
||||
[1]: https://itsfoss.com/fedora-31-release/
|
||||
[2]: https://itsfoss.com/non-ubuntu-beginner-linux/
|
||||
[3]: https://getfedora.org/
|
||||
[4]: tmp.Lqr0HBqAd9#software-center
|
||||
[5]: tmp.Lqr0HBqAd9#command-line
|
||||
[6]: tmp.Lqr0HBqAd9#system-settings
|
||||
[7]: https://itsfoss.com/upgrade-fedora-version/
|
||||
[8]: https://i2.wp.com/itsfoss.com/wp-content/uploads/2019/11/software-center.png?ssl=1
|
||||
[9]: https://i1.wp.com/itsfoss.com/wp-content/uploads/2019/11/system-settings-fedora-1.png?ssl=1
|
@ -0,0 +1,95 @@
|
||||
[#]: collector: (lujun9972)
|
||||
[#]: translator: (Morisun029)
|
||||
[#]: reviewer: ( )
|
||||
[#]: publisher: ( )
|
||||
[#]: url: ( )
|
||||
[#]: subject: (How To Update a Fedora Linux System [Beginner’s Tutorial])
|
||||
[#]: via: (https://itsfoss.com/update-fedora/)
|
||||
[#]: author: (Ankush Das https://itsfoss.com/author/ankush/)
|
||||
|
||||
如何更新 Fedora Linux 系统[入门教程]
|
||||
======
|
||||
|
||||
_**本快速教程介绍了更新 Fedora Linux 安装的多种方法。**_
|
||||
|
||||
|
||||
前几天,我安装了[新发布的 Fedora 31][1]。老实说,这是我第一次使用[非 Ubuntu 发行版][2]。
|
||||
|
||||
安装 Fedora 之后,我做的第一件事就是尝试安装一些软件。 我打开软件中心,发现该软件中心已“损坏”。 我无法从中安装任何应用程序。
|
||||
|
||||
我不确定我的安装出了什么问题。 在团队内部讨论时,Abhishek 建议我先更新系统。 我更新了, 更新后一切恢复正常。 更新[Fedora][3]系统后,软件中心也能正常工作了。
|
||||
|
||||
有时我们只是忽略了对系统的更新,而继续对我们所面临的问题进行故障排除。 不管问题有多大或多小,为了避免它们,你都应该保持系统更新。
|
||||
|
||||
在本文中,我将向你展示更新Fedora Linux系统的多种方法。
|
||||
|
||||
* [使用软件中心更新 Fedora][4]
|
||||
* [使用命令行更新 Fedora][5]
|
||||
* [从系统设置更新 Fedora][6]
|
||||
|
||||
|
||||
|
||||
请记住,更新 Fedora 意味着安装安全补丁,更新内核和软件。 如果要从 Fedora 的一个版本更新到另一个版本,这称为版本升级,你可以[在此处阅读有关 Fedora 版本升级过程的信息][7]。
|
||||
|
||||
### 从软件中心更新 Fedora
|
||||
|
||||
![软件中心][8]
|
||||
|
||||
您很可能会收到通知,通知您有一些系统更新需要查看,您应该在单击该通知时启动软件中心。
|
||||
|
||||
您所要做的就是–点击“更新”,并验证 root 密码开始更新。
|
||||
|
||||
如果您没有收到更新的通知,则只需启动软件中心并转到“更新”选项卡即可。 现在,您只需要继续更新。
|
||||
|
||||
### 使用终端更新 Fedora
|
||||
|
||||
如果由于某种原因无法加载软件中心,则可以使用dnf 软件包管理命令轻松地更新系统。
|
||||
只需启动终端并输入以下命令即可开始更新(系统将提示你确认root密码):
|
||||
|
||||
|
||||
```
|
||||
sudo dnf upgrade
|
||||
```
|
||||
|
||||
**dnf 更新 vs dnf 升级
|
||||
**
|
||||
你会发现有两个可用的 dnf 命令:dnf 更新和 dnf 升级。 这两个命令执行相同的工作,即安装 Fedora 提供的所有更新。 那么,为什么要会有 dnf 更新和 dnf 升级,你应该使用哪一个呢? dnf 更新基本上是 dnf 升级的别名。 尽管 dnf 更新可能仍然有效,但最好使用 dnf 升级,因为这是真正的命令。
|
||||
|
||||
### 从系统设置中更新 Fedora
|
||||
|
||||
![][9]
|
||||
|
||||
如果其它方法都不行(或者由于某种原因已经进入系统设置),请导航至设置底部的“详细信息”选项。
|
||||
|
||||
如上图所示,改选项中显示操作系统和硬件的详细信息以及一个“检查更新”按钮,如上图中所示。 您只需要单击它并提供root / admin密码即可继续安装可用的更新。
|
||||
|
||||
|
||||
**总结**
|
||||
|
||||
如上所述,更新Fedora安装非常容易。 有三种方法供你选择,因此无需担心。
|
||||
|
||||
如果你按上述说明操作时发现任何问题,请随时在下面的评论部分告诉我。
|
||||
|
||||
|
||||
--------------------------------------------------------------------------------
|
||||
|
||||
via: https://itsfoss.com/update-fedora/
|
||||
|
||||
作者:[Ankush Das][a]
|
||||
选题:[lujun9972][b]
|
||||
译者:[Morisun029](https://github.com/译者ID)
|
||||
校对:[校对者ID](https://github.com/校对者ID)
|
||||
|
||||
本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
|
||||
|
||||
[a]: https://itsfoss.com/author/ankush/
|
||||
[b]: https://github.com/lujun9972
|
||||
[1]: https://itsfoss.com/fedora-31-release/
|
||||
[2]: https://itsfoss.com/non-ubuntu-beginner-linux/
|
||||
[3]: https://getfedora.org/
|
||||
[4]: tmp.Lqr0HBqAd9#software-center
|
||||
[5]: tmp.Lqr0HBqAd9#command-line
|
||||
[6]: tmp.Lqr0HBqAd9#system-settings
|
||||
[7]: https://itsfoss.com/upgrade-fedora-version/
|
||||
[8]: https://i2.wp.com/itsfoss.com/wp-content/uploads/2019/11/software-center.png?ssl=1
|
||||
[9]: https://i1.wp.com/itsfoss.com/wp-content/uploads/2019/11/system-settings-fedora-1.png?ssl=1
|
Loading…
Reference in New Issue
Block a user