dnf-plugin-system-upgrade

Fedora25に上げるには、system-upgradeが必要のようだ。

下記エラーを解決しないことには、先に進まない。


Failed to synchronize cache for repo 'winff' from '[u'http://winff.org/docs/rpm/fedora/release/20/i386/']': Cannot download repomd.xml: Curl error: Failure when receiving data from the peer for http://winff.org/docs/rpm/fedora/release/20/i386/repodata/repomd.xml, disabling.
Failed to synchronize cache for repo 'google-chrome' from '[u'http://dl.google.com/linux/chrome/rpm/stable/i386']': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried, disabling.
Failed to synchronize cache for repo 'winff-source' from '[u'http://winff.org/docs/rpm/fedora/release/20/source/']': repomd.xml parser error: Parse error at line: 40 (not well-formed (invalid token)), disabling.
パッケージ dnf-command(system-upgrade) は利用できません。
エラー: Nothing to do.


一端、FFMPEGをアンインストールすればよいのか?
また、いまだに、20のフォルダを見に行っているし。



# dnf clean all && dnf update --releasever=25
を実行



合計 3.6 MB/s | 873 MB 04:01
警告: /var/cache/dnf/i386/25/fedora/packages/ghc-JuicyPixels-3.2.7.1-1.fc25.i686.rpm: ヘッダー V3 RSA/SHA256 Signature、鍵 ID fdb19c98: NOKEY
file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-25-i386 から鍵を取得中です。
Importing GPG key 0xFDB19C98:
Userid     : "Fedora 25 Primary (25) <fedora-25-primary@fedoraproject.org>"
Fingerprint: c437 dccd 558a 66a3 7d6f 4372 4089 d8f2 fdb1 9c98
Package    : fedora-repos-23-2.noarch (@System)
From       : /etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-25-i386
これでいいですか? [y/N]y
鍵のインポートに成功しました
warning: /var/cache/dnf/i386/25/rpmfusion-free-updates/packages/rpmfusion-free-release-25-2.noarch.rpm: Header V4 RSA/SHA1 Signature, key ID 6806a9cb: NOKEY
file:///etc/pki/rpm-gpg/RPM-GPG-KEY-rpmfusion-free-fedora-25 から鍵を取得中です。
Importing GPG key 0x6806A9CB:
Userid     : "RPM Fusion free repository for Fedora (25) <rpmfusion-buildsys@lists.rpmfusion.org>"
Fingerprint: 286f 52f7 e9d4 7b46 3ead d8ab a1e5 4a0f 6806 a9cb
Package    : rpmfusion-free-release-23-1.noarch (@System)
From       : /etc/pki/rpm-gpg/RPM-GPG-KEY-rpmfusion-free-fedora-25
これでいいですか? [y/N]y
鍵のインポートに成功しました
Running transaction check
ERROR with transaction check vs depsolve:
python(abi) = 3.4 is needed by (installed) python3-six-1.9.0-3.fc23.noarch
python(abi) = 3.4 is needed by (installed) python3-html5lib-1:0.999-6.fc23.noarch
python(abi) = 3.4 is needed by (installed) python3-iniparse-0.4-16.fc23.noarch
python(abi) = 3.4 is needed by (installed) python3-rpmconf-1.0.12-1.fc23.noarch
python(abi) = 3.4 is needed by (installed) python3-ntplib-0.3.3-1.fc23.noarch
python(abi) = 3.4 is needed by (installed) python3-pid-2.0.1-2.fc23.noarch
python(abi) = 3.4 is needed by (installed) python3-humanize-0.5.1-2.fc23.noarch
python(abi) = 3.4 is needed by (installed) python-IPy-python3-0.81-13.fc23.noarch
To diagnose the problem, try running: 'rpm -Va --nofiles --nodigest'.
To fix inconsistent RPMDB, try running: 'rpm --rebuilddb'.
If the above doesn't help please report this error at 'https://bugzilla.redhat.com/enter_bug.cgi?product=Fedora&component=dnf'.


Pythonをインストールすることに

configure: error: C compiler cannot create executables

/usr/libexec/gcc/i686-redhat-linux/4.8.3/cc1: error while loading shared libraries: /lib/libmpfr.so.4: file too short

lrwxrwxrwx. 1 root root 16 10月 14 2016 libmpfr.so.4 -> libmpfr.so.4.1.5
  • rwxr-xr-x. 1 root root 378660 12月 13 2014 libmpfr.so.4.1.2
  • rwxr-xr-x. 1 root root 404544 11月 4 2015 libmpfr.so.4.1.3
  • rwxr-xr-x. 1 root root 0 10月 14 2016 libmpfr.so.4.1.5

リンクを張りなおしてみる?


ln コマンドの仕様を間違えて、
libmpfr.so.4.1.2を使うことになったが、なんとなくコンパイルが動いている。

Python3.4 をインストールしたが
Pathの設定の順位で、いつまでたっても、Python2が動いてしまう。

シンボリックリンクの張替えが必要

ところが、
dnfが動かなくなった。


File "/bin/dnf", line 35, in <module>
   from dnf.cli import main
ImportError: No module named 'dnf'


yum-deprecated が効かない

yum-3.4.3-20.mga7.noarch.rpm
dnf-2.5.1-2.mga6.noarch.rpm

をダウンロードしてrpmコマンドでインストールを試みるが、依存性の欠如でNG

一端 pythonを2に戻す必要があるかも。


lrwxrwxrwx. 1 root root 31 2月 24 18:49 python -> /usr/local/python/bin/python3.4
lrwxrwxrwx. 1 root root 7 6月 16 2015 python -> python2

に戻してみる。

こうすると、yum も dnf も、コマンドを受け付ける。
何が起こっている?

Python3をリンクで動かそうとしたのがダメ?


初心に立ち戻って

Fedora25にupgradeするには、
が必要のようだから、rpmをとってきてインストールしてみる。

python2-dnf-plugin-system-upgrade-0.7.1-1.fc22.noarch.rpm
をとってきてもうまくいかない。



  python-dnf >= 1.1.4 
が必要なようです。










  • 最終更新:2019-02-27 19:26:03

このWIKIを編集するにはパスワード入力が必要です

認証パスワード