translated

This commit is contained in:
geekpi 2020-11-30 08:40:58 +08:00
parent 3b75edc888
commit 17b7e02f28
2 changed files with 93 additions and 93 deletions

View File

@ -1,93 +0,0 @@
[#]: collector: (lujun9972)
[#]: translator: (geekpi)
[#]: reviewer: ( )
[#]: publisher: ( )
[#]: url: ( )
[#]: subject: (How to rebase to Fedora 33 on Silverblue)
[#]: via: (https://fedoramagazine.org/how-to-rebase-to-fedora-33-on-silverblue/)
[#]: author: (Michal Konečný https://fedoramagazine.org/author/zlopez/)
How to rebase to Fedora 33 on Silverblue
======
![][1]
Silverblue is [an operating system for your desktop built on Fedora][2]. Its excellent for daily use, development, and container-based workflows. It offers [numerous advantages][3] such as being able to roll back in case of any problems. If you want to update to Fedora 33 on your Silverblue system, this article tells you how. It not only shows you what to do, but also how to revert things if something unforeseen happens.
Prior to actually doing the rebase to Fedora 33, you should apply any pending updates. Enter the following in the terminal:
```
$ rpm-ostree update
```
or install updates through GNOME Software and reboot.
### Rebasing using GNOME Software
The GNOME Software shows you that there is new version of Fedora available on the Updates screen.
![Fedora 33 is available][4]
First thing you need to do is to download the new image, so click on the _Download_ button. This will take some time and after its done you will see that the update is ready to install.
![Fedora 33 is ready for installation][5]
Click on the _Install_ button. This step will take only a few moments and then you will be prompted to restart your computer.
![Restart is needed to rebase to Fedora 33 Silverblue][6]
Click on _Restart_ button and you are done. After restart you will end up in new and shiny release of Fedora 33. Easy, isnt it?
### Rebasing using terminal
If you prefer to do everything in a terminal, than this next guide is for you.
Rebasing to Fedora 33 using terminal is easy. First, check if the 33 branch is available:
```
$ ostree remote refs fedora
```
You should see the following in the output:
```
fedora:fedora/33/x86_64/silverblue
```
Next, rebase your system to the Fedora 33 branch.
```
$ rpm-ostree rebase fedora:fedora/33/x86_64/silverblue
```
Finally, the last thing to do is restart your computer and boot to Fedora 33.
### How to roll back
If anything bad happens—for instance, if you cant boot to Fedora 33 at all—its easy to go back. Pick the previous entry in the GRUB menu at boot, and your system will start in its previous state before switching to Fedora 33. To make this change permanent, use the following command:
```
$ rpm-ostree rollback
```
Thats it. Now you know how to rebase Silverblue to Fedora 33 and roll back. So why not do it today?
--------------------------------------------------------------------------------
via: https://fedoramagazine.org/how-to-rebase-to-fedora-33-on-silverblue/
作者:[Michal Konečný][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://fedoramagazine.org/author/zlopez/
[b]: https://github.com/lujun9972
[1]: https://fedoramagazine.org/wp-content/uploads/2020/02/fedora-silverblue-logo.png
[2]: https://docs.fedoraproject.org/en-US/fedora-silverblue/
[3]: https://fedoramagazine.org/give-fedora-silverblue-a-test-drive/
[4]: https://fedoramagazine.org/wp-content/uploads/2020/10/Screenshot-from-2020-10-29-12-53-37-1024x725.png
[5]: https://fedoramagazine.org/wp-content/uploads/2020/10/Screenshot-from-2020-10-29-13-00-15-1024x722.png
[6]: https://fedoramagazine.org/wp-content/uploads/2020/10/Screenshot-from-2020-10-29-13-01-32-1024x727.png

View File

@ -0,0 +1,93 @@
[#]: collector: (lujun9972)
[#]: translator: (geekpi)
[#]: reviewer: ( )
[#]: publisher: ( )
[#]: url: ( )
[#]: subject: (How to rebase to Fedora 33 on Silverblue)
[#]: via: (https://fedoramagazine.org/how-to-rebase-to-fedora-33-on-silverblue/)
[#]: author: (Michal Konečný https://fedoramagazine.org/author/zlopez/)
如何在 Silverblue 上变基到 Fedora 33
======
![][1]
Silverblue 是[一个建立在 Fedora 上的桌面操作系统][2]。它非常适合日常使用、开发和基于容器的工作流程。它提供了[众多的优势][3],例如在出现任何问题时能够回滚。如果你想在你的 Silverblue 系统上更新到 Fedora 33这篇文章会告诉你如何做。它不仅告诉你该怎么做还告诉你如果发生了不可预见的事情时该如何回退。
在实际做变基到 Fedora 33 之前,你应该应用任何挂起的更新。在终端中输入以下内容:
```
$ rpm-ostree update
```
或通过 GNOME 软件中心安装更新并重启。
### 使用 GNOME 软件中心变基
GNOME 软件中心会在更新界面显示有新版本的 Fedora 可用。
![Fedora 33 is available][4]
首先你需要做的是下载新镜像,点击 _Download_ 按钮。这将需要一些时间,完成后你会看到更新已经准备好安装了。
![Fedora 33 is ready for installation][5]
点击 _Install_ 按钮。这一步只需要几分钟,然后会提示你重启电脑。
![Restart is needed to rebase to Fedora 33 Silverblue][6]
点击 _Restart_ 按钮就可以了。重启后,你将进入新的 Fedora 33 版本。很简单,不是吗?
### 使用终端变基
如果你喜欢在终端上做所有的事情,那么接下来的指南就适合你。
使用终端变基到 Fedora 33 很简单。首先,检查 33 版本分支是否可用:
```
$ ostree remote refs fedora
```
你应该在输出中看到以下内容:
```
fedora:fedora/33/x86_64/silverblue
```
接下来,将你的系统变基到 Fedora 33 分支。
```
$ rpm-ostree rebase fedora:fedora/33/x86_64/silverblue
```
最后要做的是重启你的电脑并启动到 Fedora 33。
### 如何回滚
如果有什么不好的事情发生。例如,如果你无法启动到 Fedora 33那很容易回滚回去。在启动时选择 GRUB 菜单中的前一个条目,你的系统就会以切换到 Fedora 33 之前的状态启动。要使这一改变永久化,请使用以下命令:
```
$ rpm-ostree rollback
```
就是这样了。现在你知道如何将 Silverblue 变基为 Fedora 33 并回滚了。那为什么不在今天就做呢?
--------------------------------------------------------------------------------
via: https://fedoramagazine.org/how-to-rebase-to-fedora-33-on-silverblue/
作者:[Michal Konečný][a]
选题:[lujun9972][b]
译者:[geekpi](https://github.com/geekpi)
校对:[校对者ID](https://github.com/校对者ID)
本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
[a]: https://fedoramagazine.org/author/zlopez/
[b]: https://github.com/lujun9972
[1]: https://fedoramagazine.org/wp-content/uploads/2020/02/fedora-silverblue-logo.png
[2]: https://docs.fedoraproject.org/en-US/fedora-silverblue/
[3]: https://fedoramagazine.org/give-fedora-silverblue-a-test-drive/
[4]: https://fedoramagazine.org/wp-content/uploads/2020/10/Screenshot-from-2020-10-29-12-53-37-1024x725.png
[5]: https://fedoramagazine.org/wp-content/uploads/2020/10/Screenshot-from-2020-10-29-13-00-15-1024x722.png
[6]: https://fedoramagazine.org/wp-content/uploads/2020/10/Screenshot-from-2020-10-29-13-01-32-1024x727.png