Bug 1098454 - different releases of python3-dnf and dnf can not be installed together
Summary: different releases of python3-dnf and dnf can not be installed together
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Fedora
Classification: Fedora
Component: dnf
Version: 20
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Packaging Maintenance Team
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-05-16 08:55 UTC by Vratislav Podzimek
Modified: 2014-05-30 13:03 UTC (History)
6 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2014-05-30 13:02:42 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
debugdata (12.37 MB, application/x-xz)
2014-05-19 08:22 UTC, Vratislav Podzimek
no flags Details

Description Vratislav Podzimek 2014-05-16 08:55:01 UTC
Description of problem:
Don't know if it is a packaging problem or a problem in one of DNF's stack components, but I cannot install the python3-dnf package.

[root@vpodzime vpodzime]# dnf install python3-dnf
Error: package python3-dnf-0.4.8-1.fc20.noarch requires python3-librepo >= 1.4.0, but none of the providers can be installed
[root@vpodzime vpodzime]# dnf search pyton3-librepo
Warning: No matches found for: pyton3-librepo
Error: No Matches found
[root@vpodzime vpodzime]# dnf search python3-librepo
========================================================== N/S Matched: python3-librepo ==========================================================
python3-librepo.x86_64 : Python 3 bindings for the librepo library
[root@vpodzime vpodzime]# dnf info python3-librepo
Available Packages
Name        : python3-librepo
Arch        : x86_64
Epoch       : 0
Version     : 1.7.2
Release     : 1.fc20
Size        : 41 k
Repo        : updates
Summary     : Python 3 bindings for the librepo library
URL         : https://github.com/Tojaj/librepo
License     : GPLv2+
Description : Python 3 bindings for the librepo library.

Version-Release number of selected component (if applicable):
dnf-0.5.1-1.fc20.noarch

How reproducible:
100%

Steps to Reproduce:
1. run 'dnf install python3-dnf'

Actual results:
missing dependency reported even though it seems to be available

Expected results:
python3-dnf package installed

Comment 1 Radek Holy 2014-05-16 13:03:34 UTC
Hello, thank you for the report.

You are using DNF of version 0.5.1 while you want to install Python3 DNF of version 0.4.8. I suspect there is a conflict between your current librepo version and the version you are trying to install.
What's the version of your current librepo?

Can you please try again attaching the depsolving info as described by http://dnf.baseurl.org/2013/11/25/reporting-depsolving-bugs/ ?

Comment 2 Vratislav Podzimek 2014-05-16 15:29:00 UTC
You are right. I forgot I have the dnf package (plus deps) from Rawhide installed. If I run 'sudo dnf --enablerepo=rawhide install python3-dnf' I get an error about 'dnf' conflicting with 'python3-dnf' which is expected I guess. If so, feel free to close this bug as NOTABUG.

Comment 3 Radek Holy 2014-05-16 16:08:52 UTC
'dnf --enablerepo=rawhide install python3-dnf' works for me. Can you please try again attaching the depsolving info?

Comment 4 Vratislav Podzimek 2014-05-19 08:21:30 UTC
# dnf --enablerepo=rawhide install python3-dnf
Dependencies resolved.

==================================================================================================================================================
 Package                               Arch                        Version                             Repository                            Size
==================================================================================================================================================
Installing:
 python3-dnf                           noarch                      0.5.1-1.fc21                        rawhide                              541 k
 python3-hawkey                        x86_64                      0.4.14-1.fc21                       rawhide                               55 k
 python3-libcomps                      x86_64                      0.1.6-10.fc20                       updates                               42 k
 python3-librepo                       x86_64                      1.7.3-1.fc20                        updates                               42 k
 rpm-python3                           x86_64                      4.11.2-2.fc20                       updates-testing                       76 k
 python3-iniparse                      noarch                      0.4-12.fc21                         rawhide                               41 k
Upgrading:
 hawkey                                x86_64                      0.4.14-1.fc21                       rawhide                               74 k
 python-hawkey                         x86_64                      0.4.14-1.fc21                       rawhide                               59 k

Transaction Summary
==================================================================================================================================================
Install  6 Packages
Upgrade  2 Packages

Total size: 929 k
Is this ok [y/N]: y
Downloading Packages:
[SKIPPED] python3-dnf-0.5.1-1.fc21.noarch.rpm: Already downloaded                                                                                
[SKIPPED] python3-hawkey-0.4.14-1.fc21.x86_64.rpm: Already downloaded                                                                            
[SKIPPED] python3-libcomps-0.1.6-10.fc20.x86_64.rpm: Already downloaded                                                                          
[SKIPPED] python3-librepo-1.7.3-1.fc20.x86_64.rpm: Already downloaded                                                                            
[SKIPPED] rpm-python3-4.11.2-2.fc20.x86_64.rpm: Already downloaded                                                                               
[SKIPPED] python3-iniparse-0.4-12.fc21.noarch.rpm: Already downloaded                                                                            
[SKIPPED] hawkey-0.4.14-1.fc21.x86_64.rpm: Already downloaded                                                                                    
[SKIPPED] python-hawkey-0.4.14-1.fc21.x86_64.rpm: Already downloaded                                                                             
--------------------------------------------------------------------------------------------------------------------------------------------------
Total                                                                                                              91 MB/s | 929 kB     00:00     
Running transaction check
Transaction check succeeded.
Running transaction test
Error: Transaction check error:
  file /usr/share/man/man8/dnf.8.gz from install of python3-dnf-0.5.1-1.fc21.noarch conflicts with file from package dnf-0.5.1-1.fc20.noarch
  file /usr/share/man/man8/dnf.conf.8.gz from install of python3-dnf-0.5.1-1.fc21.noarch conflicts with file from package dnf-0.5.1-1.fc20.noarch

Comment 5 Vratislav Podzimek 2014-05-19 08:22:48 UTC
Created attachment 897038 [details]
debugdata

Comment 6 Tim Lauridsen 2014-05-19 08:32:48 UTC
Look like the mix of packages from rawhide & f20 updates-testing, are giving some problems.

Try 
dnf --enablerepo=rawhide reinstall dnf

and then 

dnf --enablerepo=rawhide install python3-dnf

if this not work, try removing dnf

dnf remove dnf

and install it again using yum from rawhide.

yum --enablerepo=rawhide install dnf python3-dnf

Comment 7 Vratislav Podzimek 2014-05-19 09:03:28 UTC
(In reply to Tim Lauridsen from comment #6)
> Look like the mix of packages from rawhide & f20 updates-testing, are giving
> some problems.
> 
> Try 
> dnf --enablerepo=rawhide reinstall dnf

Failed with dnf-SOME_VERSION missing in the updates-testing repository.

> 
> if this not work, try removing dnf
> 
> dnf remove dnf
> 
> and install it again using yum from rawhide.
> 
> yum --enablerepo=rawhide install dnf python3-dnf
I did 'yum --enablerepo=rawhide install dnf' and 'dnf --enablerepo=rawhide install python3-dnf' and that worked. So NOTABUG I suppose. Thanks!

Comment 8 Ales Kozumplik 2014-05-30 13:02:42 UTC
Closing this as WONTFIX.

We could argue whether different release of dnf and python3-dnf should be installable in parallel, but the way the components are packaged now seems to be pretty standard one (see e.g. python/python3-nose that also supplies the man page in both). A possibility to avoid some of the file conflicts could be in breaking out a new subpackage for both the runtimes ("dnf-nopython" or "dnf-common"). At this moment and given the transition period we're in (i.e. all py packages in Fedora will be py3 soon) I decide it is not worth the hassle.

Comment 9 Ales Kozumplik 2014-05-30 13:03:12 UTC
Also see: http://fedoraproject.org/wiki/Packaging:Python


Note You need to log in before you can comment on or make changes to this bug.