LoginSignup
0

More than 5 years have passed since last update.

centos7.6【yum updateが失敗する(2019-3-22時点)】

Last updated at Posted at 2019-03-22

環境(アップデート前)

OS : CentOS 7.6
Run Lev: 5 GNOME Desktop

$ uname -r
3.10.0-862.14.4.el7.x86_64

現象

2019-3-22 14:08時点で$ sudo yum updateでpolkitの取得時にHTTP416エラー

エラーメッセージ

$ sudo yum update -y

...中略

Some delta RPMs failed to download or rebuild. Retrying..|  33 MB     00:00 ETA 
polkit-0.112-18.el7_6.1.x86_64 FAILED                                          
http://ftp.jaist.ac.jp/pub/Linux/CentOS/7.6.1810/updates/x86_64/Packages/polkit-0.112-18.el7_6.1.x86_64.rpm: [Errno 14] HTTP Error 416 - Requested Range Not Satisfiable
他のミラーを試します。
polkit-0.112-18.el7_6.1.x86_64 FAILED                                          
http://ftp.yz.yamagata-u.ac.jp/pub/linux/centos/7.6.1810/updates/x86_64/Packages/polkit-0.112-18.el7_6.1.x86_64.rpm: [Errno 14] HTTP Error 416 - Requested Range Not Satisfiable
他のミラーを試します。
polkit-0.112-18.el7_6.1.x86_64 FAILED                                          
http://mirror.fairway.ne.jp/centos/7.6.1810/updates/x86_64/Packages/polkit-0.112-18.el7_6.1.x86_64.rpm: [Errno 14] HTTP Error 416 - Requested Range Not Satisfiable
他のミラーを試します。
polkit-0.112-18.el7_6.1.x86_64 FAILED                                          
http://ftp.riken.jp/Linux/centos/7.6.1810/updates/x86_64/Packages/polkit-0.112-18.el7_6.1.x86_64.rpm: [Errno 14] HTTP Error 416 - Requested Range Not Satisfiable
他のミラーを試します。
polkit-0.112-18.el7_6.1.x86_64 FAILED                                          
http://ftp.iij.ad.jp/pub/linux/centos/7.6.1810/updates/x86_64/Packages/polkit-0.112-18.el7_6.1.x86_64.rpm: [Errno 14] HTTP Error 416 - Requested Range Not Satisfiable
他のミラーを試します。
polkit-0.112-18.el7_6.1.x86_64 FAILED                                          
http://mirrors.cat.net/centos/7.6.1810/updates/x86_64/Packages/polkit-0.112-18.el7_6.1.x86_64.rpm: [Errno 14] HTTP Error 416 - Requested Range Not Satisfiable
他のミラーを試します。
polkit-0.112-18.el7_6.1.x86_64 FAILED                                          
http://ftp.tsukuba.wide.ad.jp/Linux/centos/7.6.1810/updates/x86_64/Packages/polkit-0.112-18.el7_6.1.x86_64.rpm: [Errno 14] HTTP Error 416 - Requested Range Not Satisfiable
他のミラーを試します。
polkit-0.112-18.el7_6.1.x86_64 FAILED                                          
http://mirror.0x.sg/centos/7.6.1810/updates/x86_64/Packages/polkit-0.112-18.el7_6.1.x86_64.rpm: [Errno 14] HTTP Error 416 - Requested Range Not Satisfiable
他のミラーを試します。
polkit-0.112-18.el7_6.1.x86_64 FAILED                                          
http://mirror.nus.edu.sg/centos/7.6.1810/updates/x86_64/Packages/polkit-0.112-18.el7_6.1.x86_64.rpm: [Errno 14] HTTP Error 416 - Requested Range Not Satisfiable
他のミラーを試します。
polkit-0.112-18.el7_6.1.x86_64 FAILED                                          
http://mirror.vodien.com/centos/7.6.1810/updates/x86_64/Packages/polkit-0.112-18.el7_6.1.x86_64.rpm: [Errno 14] HTTP Error 416 - Requested Range Not Satisfiable
他のミラーを試します。

Error downloading packages:
  polkit-0.112-18.el7_6.1.x86_64: [Errno 256] No more mirrors to try.

原因

不明

対処法

polkitだけ手動でwget等でダウンロードしてインストールする

$ wget http://mirror.centos.org/centos/7/updates/x86_64/Packages/polkit-0.112-18.el7_6.1.x86_64.rpm
$ sudo yum localinstall -y polkit-0.112-18.el7_6.1.x86_64.rpm

(もしくは、HTTPのエラーが出ると思って直接yumからURL指定はやらなかったのですが、コメントに記載いただいた以下の方法でもできました。)
$ sudo yum install http://mirror.centos.org/centos/7/updates/x86_64/Packages/polkit-0.112-18.el7_6.1.x86_64.rpm -y

polkitが入ったら$ sudo yum update -yでアップデート完了

参考

追記

2019-3-24
どうもCUIのcentosはこのエラーは出ない模様。
複数台のマシンでupdateをしたところGNOME Desktopを入れたマシンで上記エラーが発生した。

2019-3-26
下記のコメントによると昨日バグが修正されたようです。
https://bugs.centos.org/view.php?id=15952

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0