标签归档:fedora 23

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

fedora 23验证码check用sha256sum

如题。以为是md5sum,其实是sha256sum

#!/bin/bash 
DIR=https://dl.fedoraproject.org/pub/fedora/linux/releases/23/Workstation/x86_64/iso
wget -c $DIR/Fedora-Workstation-23-x86_64-CHECKSUM
wget -c $DIR/Fedora-Workstation-netinst-x86_64-23.iso
wget -c $DIR/Fedora-Live-Workstation-x86_64-23-10.iso
echo "Running sha256sum to validate the Downloads"
sha256sum -c Fedora-Workstation-23-x86_64-CHECKSUM > showme

cat showme


http://www.forums.fedoraforum.org/showthread.php?p=1747172