Fedora 23 升级到Fedora 24

方法参考请看这里,https://fedoramagazine.org/upgrading-fedora-23-workstation-to-fedora-24/

简单说一下通过copr安装的第三方包,在升级之前需要将其block掉,因为网络和其他原因,很多包都无法正常升级,为避免问题,可以在系统升级后再更新这些第三方的包。
例如:

## 关闭第三方包
sudo dnf config-manager –set-disabled rpmfusion-free
sudo dnf config-manager –set-disabled rpmfusion-nonfree
sudo dnf config-manager –set-disabled rpmfusion-free-updates
sudo dnf config-manager –set-disabled rpmfusion-nonfree-updates

## 开启第三方包
sudo dnf config-manager –set-enabled rpmfusion-free
sudo dnf config-manager –set-enabled rpmfusion-nonfree
sudo dnf config-manager –set-enabled rpmfusion-free-updates
sudo dnf config-manager –set-enabled rpmfusion-nonfree-updates

另外rpmfusion也需要自己手动升级,国内可能被墙,自己找办法下载下来再更新。

dnf install http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-24.noarch.rpm

由于更新时disable了rpmfusion所以ffmpeg和gstreamer1-libav需要重新安装一次。

python包出现如下问题无法rpm更新时:
error: unpacking of archive failed on file /usr/lib/python3.4/site-packages/requests/packages/chardet: cpio: rename

原因是之前这些包是用pip install,现在需要将原来的包uninstall,重新更新即可,参考这里,https://bugzilla.redhat.com/show_bug.cgi?id=1207981

 

Advertisements

发表评论

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / 更改 )

Twitter picture

You are commenting using your Twitter account. Log Out / 更改 )

Facebook photo

You are commenting using your Facebook account. Log Out / 更改 )

Google+ photo

You are commenting using your Google+ account. Log Out / 更改 )

Connecting to %s