GitHub

dnf-plugin-system-upgrade

を実行時の最初のエラー
repoが取れない。

このURLにアクセスすると、GitHubが現れる。
いったいどういうこと?

Failed to synchronize cache for repo 'winff' from '[u'http://winff.org/docs/rpm/fedora/release/20/i386/']':


Gitは分散型バージョン管理システムで、GitHubは、Gitを使ったソフトウェア開発プロジェクトのためのソースコード管理サービス

rpmをとりに行こうとして、GitHubに誘導されているようだ。
WinFFのrpmはGitHubにしかないのであろうか?


WinFF は、FFmpeg のクロスプラット フォーム バッチ GUI
FFmpegをGUIで使うために必要だが、なくてもよい気がする。


は、サイトが見つけ出せない。

WinFFとChromeのリポジトリが見つからないエラーは、dnf-plugin-system-upgradeをインストールできないことと直接は関係ないように思われる。



から
A DNF plugin for system upgrades (moved to dnf-plugins-extras!)
をダウンロードしてmake install してみた。

$ sudo dnf system-upgrade download --releasever=25

Failed loading plugin: system_upgrade
コマンド「system-upgrade」が見つかりません。「/bin/dnf --help」を実行してください。

pluginだけ入れても、本体が対応していないのではないか。

dnf-master.zipを取得してBuild


$ PYTHONPATH=`readlink -f .` bin/dnf-2
Traceback (most recent call last):
File "bin/dnf-2", line 57, in <module>
   from dnf.cli import main
 File "/home/osamu_gt/dnf-master/dnf/__init__.py", line 30, in <module>
   import dnf.base
 File "/home/osamu_gt/dnf-master/dnf/base.py", line 29, in <module>
   import libdnf.transaction
ImportError: No module named libdnf.transaction


libdnfを入れる。

$ unzip libdnf.zip

finishing deferred symbolic links:
libdnf-master/data/tests/gpg-no-asc/repodata/repomd.xml -> ../../gpg-asc/repodata/repomd.xml
lchmod (file attributes) error: Function not implemented
libdnf-master/data/tests/gpg-wrong-asc/repodata/repomd.xml -> ../../gpg-asc/repodata/repomd.xml
lchmod (file attributes) error: Function not implemented
libdnf-master/data/tests/modules/specs/base-runtime-f26-2/basesystem.spec -> ../base-runtime-f26-1/basesystem.spec
lchmod (file attributes) error: Function not implemented
libdnf-master/data/tests/modules/specs/base-runtime-f26-2/bash.spec -> ../base-runtime-f26-1/bash.spec
lchmod (file attributes) error: Function not implemented
libdnf-master/data/tests/modules/specs/base-runtime-f26-2/filesystem.spec -> ../base-runtime-f26-1/filesystem.spec
lchmod (file attributes) error: Function not implemented
libdnf-master/data/tests/modules/specs/base-runtime-f26-2/kernel.spec -> ../base-runtime-f26-1/kernel.spec
lchmod (file attributes) error: Function not implemented
libdnf-master/data/tests/modules/specs/base-runtime-f26-2/profiles.json -> ../base-runtime-f26-1/profiles.json
lchmod (file attributes) error: Function not implemented
libdnf-master/data/tests/modules/specs/base-runtime-f26-2/systemd.spec -> ../base-runtime-f26-1/systemd.spec
lchmod (file attributes) error: Function not implemented
libdnf-master/data/tests/modules/specs/base-runtime-rhel73-1/profiles.json -> ../base-runtime-f26-1/profiles.json
lchmod (file attributes) error: Function not implemented
libdnf-master/data/tests/modules/specs/httpd-2.4-1/profiles.json -> ../httpd-2.2-1/profiles.json
lchmod (file attributes) error: Function not implemented
libdnf-master/data/tests/modules/specs/httpd-2.4-2/libnghttp2.spec -> ../httpd-2.4-1/libnghttp2.spec
lchmod (file attributes) error: Function not implemented
libdnf-master/data/tests/modules/specs/httpd-2.4-2/profiles.json -> ../httpd-2.2-1/profiles.json
lchmod (file attributes) error: Function not implemented


強行して
$ dnf install check-devel cmake cppunit-devel gcc gcc-c++ glib2-devel gpgme-devel gtk-doc json-c-devel libmodulemd-devel librepo-devel libsolv-devel libsolv-tools make python2-devel python3-devel python2-nose python3-nose python2-sphinx python3-sphinx python2-breathe python3-breathe rpm-devel sqlite-devel swig libsmartcols-devel

を実行

Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
Failed to obtain the transaction lock (logged in as: osamu_gt).
エラー: トランザクションを実行できません。

Buldの手順にしたがって処理すると

Could not find a package configuration file provided by "LibSolv"
 (requested version 0.6.30) with any of the following names:

  LibSolvConfig.cmake
   libsolv-config.cmake

Add the installation prefix of "LibSolv" to CMAKE_PREFIX_PATH or set
 "LibSolv_DIR" to a directory containing one of the above files.  If
 "LibSolv" provides a separate development package or SDK, be sure it has
 been installed.


    • Configuring incomplete, errors occurred!

忠度半端な。。。




  • 最終更新:2019-03-01 20:22:21

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

認証パスワード