dnf - どのミラーURLが選択されているかを表示する方法は?

dnf - どのミラーURLが選択されているかを表示する方法は?

以下はbashログの一部です。完全なログは以下にあります。https://gist.github.com/limkokhole/f2a423112aa005f10862:

[xiaobai@xiaobai hello]$ dnf --verbose download --source readline
cachedir: /var/cache/dnf
Loaded plugins: noroot, needs-restarting, reposync, copr, playground, kickstart, Query, generate_completion_cache, builddep, download, config-manager, protected_packages, system-upgrade, debuginfo-install
DNF version: 0.6.4
repo: using cache for: spot-chromium
not found deltainfo for: Copr repo for chromium owned by spot
not found updateinfo for: Copr repo for chromium owned by spot
repo: using cache for: rpmfusion-nonfree-updates-testing
not found deltainfo for: RPM Fusion for Fedora 21 - Nonfree - Test Updates
not found updateinfo for: RPM Fusion for Fedora 21 - Nonfree - Test Updates
repo: using cache for: updates-source
...
not found deltainfo for: RPM Fusion for Fedora 21 - Nonfree - Updates Source
not found updateinfo for: RPM Fusion for Fedora 21 - Nonfree - Updates Source
readline-6.3-5.fc21.src.rpm                                                                                                             623 kB/s | 2.4 MB     00:03    
[xiaobai@xiaobai hello]$ 

私もやってみたdnf info、URLhttp://cnswww.cns.cwru.edu/php/chet/readline/rltop.htmlリポジトリURLではありません:

[xiaobai@xiaobai hello]$ dnf info readline
[sudo] password for xiaobai: 
Using metadata from Thu Dec 31 19:18:09 2015 (6:13:33 hours old)
Installed Packages
Name        : readline
Arch        : i686
Epoch       : 0
Version     : 6.3
Release     : 5.fc21
Size        : 446 k
Repo        : @System
Summary     : A library for editing typed command lines
URL         : http://cnswww.cns.cwru.edu/php/chet/readline/rltop.html
License     : GPLv3+
Description : The Readline library provides a set of functions that allow users to
            : edit command lines. Both Emacs and vi editing modes are available. The
            : Readline library includes additional functions for maintaining a list
            : of previously-entered command lines for recalling or editing those
            : lines, and for performing csh-like history expansion on previous
            : commands.

Name        : readline
Arch        : x86_64
Epoch       : 0
Version     : 6.3
Release     : 5.fc21
Size        : 483 k
Repo        : @System
Summary     : A library for editing typed command lines
URL         : http://cnswww.cns.cwru.edu/php/chet/readline/rltop.html
License     : GPLv3+
Description : The Readline library provides a set of functions that allow users to
            : edit command lines. Both Emacs and vi editing modes are available. The
            : Readline library includes additional functions for maintaining a list
            : of previously-entered command lines for recalling or editing those
            : lines, and for performing csh-like history expansion on previous
            : commands.

[xiaobai@xiaobai hello]$ 

このreadline-6.3-5.fc21.src.rpmをダウンロードするためにどのURLまたはドメインが選択されているかをどうやって知ることができますか?--verboseリンクが表示されないようです。 bashセッションを終了した後、後でdnf履歴からこのURL情報をどのように取得できますか?

ベストアンサー1

それ自体、dnfこれ遅延機能要求。当然dnfURLがわからない。コメント4と5を参照してください。

動機を誤解してすみません。参考までに、DNFは実際にURLを知りません。 "metalink"のURLとパッケージのファイル名(および他のいくつかのメタデータ)だけがわかっています。基本ライブラリ librepo は、最高の画像選択、URL 作成、ファイルのダウンロードを担当します。ちなみに、これは、情報を提供するためにライブラリでいくつかのコールバックを実行する必要があることを意味します。参考のためだけに...


問題は、私たちがメタリンクのURLを知らないことです。 librepoによって下位レベルで処理されます。同じユースケースを共有し、この機能を見たい人がいる場合は、コメントを残すとこの機能を使用する可能性が高くなります。

おすすめ記事