Description of problem: # dnf list updates ArgumentError: argument --obsoletes: conflicting option string: --obsoletes # dnf list dnf ArgumentError: argument --obsoletes: conflicting option string: --obsoletes Version-Release number of selected component (if applicable): # rpm -q dnf dnf-2.0.1-2.fc26.noarch Additional info: dnf clean all dnf update works
There is PR https://github.com/rpm-software-management/dnf/pull/736 that should fix it
*** Bug 1422568 has been marked as a duplicate of this bug. ***
Ahoj, Jaroslav, I have the same problem with # rpm -q dnf => dnf-2.0.1-2.fc26.noarch I checked the link you provided, and recompiled python scripts (did git clone ...), was able to fix with this broken rawhide upgrade. Please, let us know the release date of fixed version (dnf-2.1.0-1.fc26). Also, adding myself to list of watchers. ;-) _nobody_
dnf-2.1.0-1.fc26 is in koji and waits for successful compose of rawhide. Hope that it will be available soon, but I cannot speedup it. But it is possible to directly download rpms from koji: https://koji.fedoraproject.org/koji/buildinfo?buildID=859607 Hope that it helps Jaroslav
Jaroslav, you are failing?! Does not help! :-( [root@localhost Downloads]# rpm -i dnf-2.1.0-1.fc26.noarch.rpm error: Failed dependencies: python3-dnf = 2.1.0-1.fc26 is needed by dnf-2.1.0-1.fc26.noarch [root@localhost Downloads]# yum install python3-dnf Last metadata expiration check: 1:30:58 ago on Fri Feb 17 09:43:31 2017 CET. Package python3-dnf-2.0.1-2.fc26.noarch is already installed, skipping. Dependencies resolved. Nothing to do. Complete! [root@localhost Downloads]# (could you, please, correctly identify ALL dependencies here)?! QA is not helping here, not at all... Thank you, _nobody_
You need more than just dnf, but also subpackages like python3-dnf from the same build.
Privet Igor, Ne srabotalo. Ja sdelal vse, daze bolee... No eto... Vasa (Fedora rawhide maintainers) osibka. Pozaluista, bud6te bolee vnimatel6ni, mozno poprisit6?! ;-) _______ Transcript from CLI follows: [root@localhost Downloads]# rpm -i dnf-conf-2.1.0-1.fc26.noarch.rpm file /usr/share/man/man5/dnf.conf.5.gz from install of dnf-conf-2.1.0-1.fc26.noarch conflicts with file from package dnf-conf-2.0.1-2.fc26.noarch [root@localhost Downloads]# dnf remove dnf-conf-2.0.1-2.fc26.noarch Error: package python3-dnf-2.0.1-2.fc26.noarch requires dnf-conf = 2.0.1-2.fc26, but none of the providers can be installed - package dnf-2.0.1-2.fc26.noarch requires python3-dnf = 2.0.1-2.fc26, but none of the providers can be installed - conflicting requests - problem with installed package dnf-2.0.1-2.fc26.noarch [root@localhost Downloads]# yum remove dnf-2.0.1-2.fc26.noarch Error: The operation would result in removing the following protected packages: dnf [root@localhost Downloads]# yum upgrade Last metadata expiration check: 0:00:00 ago on Fri Feb 17 11:32:35 2017 CET. Dependencies resolved. Nothing to do. Complete! [root@localhost Downloads]# yum clean all 38 files removed [root@localhost Downloads]# yum upgrade Fedora - Rawhide - Developmental packages for the next Fedora releas 5.6 MB/s | 52 MB 00:09 google-chrome-unstable 49 kB/s | 3.8 kB 00:00 google-chrome 45 kB/s | 3.8 kB 00:00 RPM Fusion for Fedora Rawhide - Free 949 kB/s | 532 kB 00:00 RPM Fusion for Fedora Rawhide - Nonfree 182 kB/s | 157 kB 00:00 Last metadata expiration check: 0:00:00 ago on Fri Feb 17 11:33:34 2017 CET. Dependencies resolved. Nothing to do. Complete! [root@localhost Downloads]# yum remove dnf-conf-2.0.1-2.fc26.noarch Error: package python3-dnf-2.0.1-2.fc26.noarch requires dnf-conf = 2.0.1-2.fc26, but none of the providers can be installed - package dnf-2.0.1-2.fc26.noarch requires python3-dnf = 2.0.1-2.fc26, but none of the providers can be installed - conflicting requests - problem with installed package dnf-2.0.1-2.fc26.noarch [root@localhost Downloads]# dnf install python3-dnf Last metadata expiration check: 0:00:40 ago on Fri Feb 17 11:33:34 2017 CET. Package python3-dnf-2.0.1-2.fc26.noarch is already installed, skipping. Dependencies resolved. Nothing to do. Complete! [root@localhost Downloads]# Spasibo za otvet! _nobody_ (_nikto_)
*** Bug 1424713 has been marked as a duplicate of this bug. ***
To upgrade to dnf-2.1.0-1 please do as follows: 1a. Upgrade all subpackages of dnf: ```sudo dnf upgrade https://kojipkgs.fedoraproject.org//packages/dnf/2.1.0/1.fc26/noarch/dnf-2.1.0-1.fc26.noarch.rpm https://kojipkgs.fedoraproject.org//packages/dnf/2.1.0/1.fc26/noarch/dnf-automatic-2.1.0-1.fc26.noarch.rpm https://kojipkgs.fedoraproject.org//packages/dnf/2.1.0/1.fc26/noarch/dnf-conf-2.1.0-1.fc26.noarch.rpm https://kojipkgs.fedoraproject.org//packages/dnf/2.1.0/1.fc26/noarch/dnf-yum-2.1.0-1.fc26.noarch.rpm https://kojipkgs.fedoraproject.org//packages/dnf/2.1.0/1.fc26/noarch/python2-dnf-2.1.0-1.fc26.noarch.rpm https://kojipkgs.fedoraproject.org//packages/dnf/2.1.0/1.fc26/noarch/python3-dnf-2.1.0-1.fc26.noarch.rpm``` 1b. or create empty directory and download all packages: ```wget https://kojipkgs.fedoraproject.org//packages/dnf/2.1.0/1.fc26/noarch/dnf-2.1.0-1.fc26.noarch.rpm https://kojipkgs.fedoraproject.org//packages/dnf/2.1.0/1.fc26/noarch/dnf-automatic-2.1.0-1.fc26.noarch.rpm https://kojipkgs.fedoraproject.org//packages/dnf/2.1.0/1.fc26/noarch/dnf-conf-2.1.0-1.fc26.noarch.rpm https://kojipkgs.fedoraproject.org//packages/dnf/2.1.0/1.fc26/noarch/dnf-yum-2.1.0-1.fc26.noarch.rpm https://kojipkgs.fedoraproject.org//packages/dnf/2.1.0/1.fc26/noarch/python2-dnf-2.1.0-1.fc26.noarch.rpm https://kojipkgs.fedoraproject.org//packages/dnf/2.1.0/1.fc26/noarch/python3-dnf-2.1.0-1.fc26.noarch.rpm``` Then: ```sudo dnf upgrade *.rpm``` Hope that it helps Jaroslav
> 1b. or create empty directory and download all packages: Helped. Indeed. :-) Thank you, Jaroslav! _nobody_
Or just use the command "yum-deprecated list" instead!