First, I had the same problems as Stan, and the whole secret is calling
DNF for both RPMs strictly together in one single command:
So said you've stored the files in the directory /temp your command will
be "dnf install /temp/dnf-2.1.0-1.fc26.noarch.rpm
/temp/python3-dnf-2.1.0-1.fc26.noarch.rpm --allowerasing", but best of
all will be first going to /temp (or wherever your RPMs are staying) by
cd and from therein just executing "dnf install
{,python3-}dnf-2.1.0-1.fc26.noarch.rpm --allowerasing"!
On 2/19/17 5:50 PM, stan wrote:
On Sat, 18 Feb 2017 14:03:45 +0100
GERHARD GOETZHABER <shmouftler1@xxxxxxxxx> wrote:
To make it clear:
1. Just download dnf-2.1.0-1.fc26.noarch.rpm and
python3-dnf-2.1.0-1.fc26.noarch.rpm from
https://kojipkgs.fedoraproject.org/packages/dnf/2.1.0/1.fc26/noarch/
(these two files only)
2. # dnf install <path/>dnf-2.1.0-1.fc26.noarch.rpm
<path/>python3-dnf-2.1.0-1.fc26.noarch.rpm --allowerasing
(According dnf-automatic, dnf-conf and dnf-yum will get
installed within!)
All done - happy days are here again! : )
Not here. I tried all kinds of variations of the above, and I keep
getting errors. Command 2 above gives these errors:
# dnf
install ./dnf-2.1.0-1.fc26.noarch.rpm ./python3-dnf-2.1.0-1.fc26.noarch.rpm
--allowerasing Last metadata expiration check: 0:46:45 ago on Sun Feb
19 08:23:34 2017 MST. Error: Problem 1: conflicting requests
- nothing provides dnf-conf = 2.1.0-1.fc26 needed by
python3-dnf-2.1.0-1.fc26.noarch Problem 2: package
dnf-2.1.0-1.fc26.noarch requires python3-dnf = 2.1.0-1.fc26, but none
of the providers can be installed
- conflicting requests
- nothing provides dnf-conf = 2.1.0-1.fc26 needed by
python3-dnf-2.1.0-1.fc26.noarch
When I fix that by putting in dnf-conf, it wants to remove 166
packages. That doesn't seem reasonable; shouldn't those packages be
updated to allow them to update also? I'd post the output, but dnf is
seg faulting every time now.
When I try to use rpm to Update dnf and python3-dnf, it errors out
with the following:
# rpm -U ./dnf-2.1.0-1.fc26.noarch.rpm ./python3-dnf-2.1.0-1.fc26.noarch.rpm ./dnf-conf-2.1.0-1.fc26.noarch.rpm
error: Failed dependencies:
dnf = 2.0.0-0.rc2.5.fc26 is needed by (installed) dnf-yum-2.0.0-0.rc2.5.fc26.noarch
python3-hawkey >= 0.7.1 is needed by python3-dnf-2.1.0-1.fc26.noarch
system-python(abi) = 3.6 is needed by python3-dnf-2.1.0-1.fc26.noarch
dnf-conf = 2.0.0-0.rc2.5.fc26 is needed by (installed) python2-dnf-2.0.0-0.rc2.5.fc26.noarch
When I search in koji, the latest version of python3-hawkey is
python3-hawkey-0.6.3-6.2.fc25.x86_64.rpm. I can't find a
python3-hawkey for fc26 in koji. How can this update ever succeed if
its dependencies can't be met? And how did this update get built?
So, I forced the install of the new dnf using rpm. And now I get the
following error when I try to run dnf:
# dnf
Traceback (most recent call last):
File "/usr/bin/dnf", line 57, in <module>
from dnf.cli import main
ImportError: No module named 'dnf'
Is BFO working for rawhide again? The last time I tried to use it to
install rawhide, it just ignored the command and returned to the menu.
But that was around the time that f25 was splitting from rawhide.
As the other poster said, dnf is a very special component of fedora, so
it should be handled very carefully.
_______________________________________________
test mailing list -- test@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to test-leave@xxxxxxxxxxxxxxxxxxxxxxx
_______________________________________________
test mailing list -- test@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to test-leave@xxxxxxxxxxxxxxxxxxxxxxx