<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>系统更新相关文章列表 | 皇家元林</title>
	<atom:link href="https://hjyl.org/tags/%e7%b3%bb%e7%bb%9f%e6%9b%b4%e6%96%b0/feed/" rel="self" type="application/rss+xml" />
	<link>https://hjyl.org</link>
	<description>刘元林的个人博客</description>
	<lastBuildDate>Wed, 11 May 2022 17:05:26 +0000</lastBuildDate>
	<language>zh-Hans</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9.4</generator>

<image>
	<url>https://img.hjyl.org/uploads/2019/10/cropped-about-me-32x32.png</url>
	<title>系统更新相关文章列表 | 皇家元林</title>
	<link>https://hjyl.org</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>Welcome to Fedora 36</title>
		<link>https://hjyl.org/welcome-to-fedora-36/</link>
					<comments>https://hjyl.org/welcome-to-fedora-36/#comments</comments>
		
		<dc:creator><![CDATA[皇家元林]]></dc:creator>
		<pubDate>Wed, 11 May 2022 17:05:23 +0000</pubDate>
				<category><![CDATA[元林手札]]></category>
		<category><![CDATA[fedora]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[系统更新]]></category>
		<guid isPermaLink="false">https://hjyl.org/?p=4284</guid>

					<description><![CDATA[今天打开我的笔记本,发现系统推送Fedora36,之前关注过,查了一下,原本在上个月发布的fedora36,延 [&#8230;]]]></description>
										<content:encoded><![CDATA[
<figure class="wp-block-image size-full is-resized"><img fetchpriority="high" decoding="async" src="https://img.hjyl.org/uploads/2022/05/IMG_4156-scaled.jpg"  class="wp-image-4286" width="640" height="480" srcset="https://img.hjyl.org/uploads/2022/05/IMG_4156-scaled.jpg 2560w, https://img.hjyl.org/uploads/2022/05/IMG_4156-1536x1152.jpg 1536w, https://img.hjyl.org/uploads/2022/05/IMG_4156-2048x1536.jpg 2048w" sizes="(max-width: 640px) 100vw, 640px" title="IMG_4156 scaled.jpg" alt="IMG_4156 scaled.jpg" /><figcaption>更新Fedora 36</figcaption></figure>



<p>今天打开我的笔记本,发现系统推送Fedora36,之前关注过,查了一下,原本在上个月发布的fedora36,延迟到这个月了,正巧我今天遇到了.迫不及待点击升级.....但是意外发生了,重启之后还是fedora35,也不知道咋回事,貌似系统有问题.话说linux最大的优点我觉得是终端命令.没有它解决不了的.于是到<a href="https://hjyl.org/go/aHR0cHM6Ly9pdHNmb3NzLmNvbS91cGdyYWRlLWZlZG9yYS12ZXJzaW9uLw==" rel="nofollow" target="_blank">官方网站寻求答案</a>.</p>



<p>总结一下,先这样:</p>



<pre class="wp-block-code"><code>sudo dnf upgrade --refresh</code></pre>



<p>再这样:</p>



<pre class="wp-block-code"><code>sudo dnf system-upgrade download --releasever=36</code></pre>



<p>嗯嗯,对,如你所愿,意外又出现了,显示没有匹配到元素.经过我深思熟虑,发现阿里云和清华大学的源都没有fedora36,而<a href="https://hjyl.org/go/aHR0cDovL21pcnJvcnMuMTYzLmNvbS8uaGVscC9mZWRvcmEuaHRtbA==" rel="nofollow" target="_blank">163</a>却有,于是我对163有了改观.</p>



<p>然而经过一段跑码,下载2G的数据,速度很快,却还是遇到问题:</p>



<pre class="wp-block-code"><code>Curl error (37): Couldn‘t read a file:// file for file:///etc/pki/rpm-gpg/RPM-GPG-KEY.....Couldn't open file /etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-x86_64</code></pre>



<p>在网上也有类似的解决方法(来自于<a href="https://hjyl.org/go/aHR0cHM6Ly93d3cuY25ibG9ncy5jb20vbGludXgyMzQvcC83MjM1NDY3Lmh0bWw=" rel="nofollow" target="_blank">cnblog</a>):</p>



<pre class="wp-block-code"><code>一:    rpmkeys --import /etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-26-x86_64
或
二:  1.   rpmkeys --import /etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-26-primary
     2.   rpmkeys --import /etc/pki/rpm-gpg/RPM-GPG-KEY-rpmfusion-nonfree-fedora-26
两种方式解决,</code></pre>



<p>我选择了第一种,因为我现在是fedora35,所以把其中的fedora-26改为fedora-35,但问题没有解决,改成fedora-36才搞定.</p>



<p>最后再执行第二段代码更新,一切正常.</p>



<p>然后执行:</p>



<pre class="wp-block-code"><code>sudo dnf system-upgrade reboot</code></pre>



<p>自动重启安装更新,接着便来到Fedora 36......</p>



<p>用过很多版本的linux系统,Fedora是我用过最好的一个版本,国产deepin也是很不错的,但是很吃硬件资源.而Fedora无论在桌面版还是服务器版都还是很好用的.只不过匹配的软件很少.</p>
<div id="content-copyright"><span style="font-weight:bold;text-shadow:0 1px 0 #ddd;font-size: 13px;">版权声明: </span><span style="font-size: 13px;">本文采用 <a href="https://hjyl.org/go/aHR0cHM6Ly9jcmVhdGl2ZWNvbW1vbnMub3JnL2xpY2Vuc2VzL2J5LW5jLXNhLzMuMC8=" rel="nofollow" target="_blank">BY-NC-SA</a> 协议进行授权，如无注明均为原创，转载请注明转自 <a href="https://hjyl.org">皇家元林</a><br>本文链接: <a rel="bookmark" title="Welcome to Fedora 36" href="https://hjyl.org/welcome-to-fedora-36/">Welcome to Fedora 36</a></span></div>]]></content:encoded>
					
					<wfw:commentRss>https://hjyl.org/welcome-to-fedora-36/feed/</wfw:commentRss>
			<slash:comments>5</slash:comments>
		
		
			</item>
	</channel>
</rss>
