ミライハック
  • Home
  • Categories
  • About

>> Home / LInux

CentOS6系がredhat-upgrade-tool-cliでCentOS7にできない

∵ Takayoshi Saito ∴ 2017-02-23 ∞ 1'

CentOSのredhat-upgrade-tool-cliでエラー

CentOS6.8のサーバーをCentOS7にしようとした。

$ sudo yum install openscap pcre-devel libxml2-devel libxslt-devel m2crypto python-simplejson mod_wsgi redhat-upgrade-tool preupgrade-assistant-contents
preupg --list
sudo preupg -s CentOS6_7
sudo rpm --import http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-7
sudo redhat-upgrade-tool-cli --network 7 --instrepo http://mirror.centos.org/centos/7/os/x86_64/ --force

ここで以下のエラーになった。

setting up repos...
YumRepo Error: All mirror URLs are not using ftp, http or file.
 Eg. Invalid release/
removing mirrorlist with no valid mirrors: /var/tmp/system-upgrade/base/mirrorlist.txt
YumRepo Error: All mirror URLs are not using ftp, http or file.
 Eg. Invalid release/
removing mirrorlist with no valid mirrors: /var/tmp/system-upgrade/extras/mirrorlist.txt
YumRepo Error: All mirror URLs are not using ftp, http or file.
 Eg. Invalid release/
removing mirrorlist with no valid mirrors: /var/tmp/system-upgrade/updates/mirrorlist.txt
No upgrade available for the following repos: base extras updates
.treeinfo                                                                                                                                          |  946 B     00:00     
getting boot images...

Downloading failed: invalid data in .treeinfo: No option 'upgrade' in section: 'images-x86_64'

centos-upgrade-tool-cliでも駄目。

ミラーリストが正しく取得できていないみたい。海外の情報を見てもこのエラーの対処法はなし。centos-upgrade-tool-cliがしばらくメンテナンスされていないらしく、その間にミラーリストも更新されているので、しばらくはアップグレードは無理っぽい。

インフラエンジニアの教科書posted with カエレバ佐野 裕 シーアンドアール研究所 2013-10-26

Search

Categories
  • LInux
  • インターネット
  • インフラ
  • エッセイ
  • ゲーム
  • システム開発
  • セキュリティ
  • データサイエンス
  • 国際関係
  • 政治
  • 歴史
  • 社会学
  • 自己紹介
  • 行ってきた

Pages
  • 齊藤貴義
  • 職務経歴
  • スクレイピング・ハッキング・ラボ サポートページ
  • 『爆速開発を支えるClaude Code上級者テクニック』サポートページ

2026 © Takayoshi Saito | Twitter GitHub | Built on Zola