Re: Change Proposal: replace dnf with dnf5

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Dne 10. 01. 23 v 23:44 Richard W.M. Jones napsal(a):
On Tue, Jan 10, 2023 at 02:13:37PM -0500, David Cantrell wrote:
https://pagure.io/fesco/issue/2870
https://fedoraproject.org/wiki/Changes/ReplaceDnfWithDnf5

This change proposal has been under discussion and revision for a while.  A
lot of work has gone in to this plan to minimize the disruption.  Still, dnf
is a core piece of software and we want to make sure everyone understands the
proposal and has an opportunity to discuss it.

The final revision of the proposal is available at the URL above.  FESCo is
waiting one more week for any remaining discussion on the change proposal.  We
plan to bring the proposal up for vote in the next meeting.
Can you check if:

  dnf5 download --destdir=<DIR> [list of pkgs] [-c configfile]

works as non-root?  eg:

  $ mkdir /var/tmp/test
  $ dnf5 download --destdir=/var/tmp/test bash glibc

Note the not needing root bit is vitally important.

I don't have a sacrificial machine to install dnf5 on right now.

Rich.

[msuchy@dri/~]$ mkdir /var/tmp/test
[msuchy@dri/~]$ dnf5 download --destdir=/var/tmp/test bash glibc
Unknown argument "--destdir=/var/tmp/test" for command "download"
Usage:
 dnf5 download [GLOBAL OPTIONS] [OPTIONS] [ARGUMENTS]
                                
Options:                         
 --resolve                     Resolve and download needed dependencies
 --alldeps                     When running with --resolve, download all dependencies (do not exclude already installed ones)
                                
Arguments:                       
 keys_to_match                 List of keys to match
[msuchy@dri/~]2$ cd /var/tmp/test
[msuchy@dri//var/tmp/test]$ dnf5 download  bash glibc
*** SNIP ****

Downloading Packages:
[1/7] bash-0:5.2.15-1.fc37.x86_64                                                                                                         100% |   2.5 MiB/s |   1.8 MiB |  00m01s
[2/7] glibc-0:2.36-8.fc37.i686                                                                                                            100% |   2.7 MiB/s |   1.9 MiB |  00m01s
[3/7] bash-0:5.2.15-1.fc37.i686                                                                                                           100% |   2.3 MiB/s |   1.8 MiB |  00m01s
[4/7] bash-0:5.1.16-4.fc37.x86_64                                                                                                         100% |   3.2 MiB/s |   1.7 MiB |  00m01s
[5/7] glibc-0:2.36-7.fc37.i686                                                                                                            100% |   2.8 MiB/s |   1.9 MiB |  00m01s
[6/7] glibc-0:2.36-7.fc37.x86_64                                                                                                          100% |   4.1 MiB/s |   2.1 MiB |  00m01s
[7/7] glibc-0:2.36-8.fc37.x86_64                                                                                                          100% | 991.7 KiB/s |   2.1 MiB |  00m02s
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
[7/7] Total                                                                                                                               100% |   3.5 MiB/s |  13.4 MiB |  00m04s
[ble: elapsed 35.177s (CPU 29.4%)] dnf5 download  bash glibc
[msuchy@dri//var/tmp/test]$ ls
bash-5.1.16-4.fc37.x86_64.rpm  bash-5.2.15-1.fc37.x86_64.rpm  glibc-2.36-7.fc37.x86_64.rpm  glibc-2.36-8.fc37.x86_64.rpm
bash-5.2.15-1.fc37.i686.rpm    glibc-2.36-7.fc37.i686.rpm     glibc-2.36-8.fc37.i686.rpm

So, beside missing option form destdir, yes, it works.

Miroslav

_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Users]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]

  Powered by Linux