Bug 1391776

Summary: dnf install doesn't install weak dependencies even with --setopt=install_weak_deps=1
Product: [Fedora] Fedora Reporter: Sergio Basto <sergio>
Component: dnfAssignee: rpm-software-management
Status: CLOSED WONTFIX QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: unspecified    
Version: 25CC: mluscon, packaging-team-maint, pnemade, rpm-software-management, vmukhame
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-11-04 07:31:39 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Sergio Basto 2016-11-04 01:42:52 UTC
Description of problem:

dnf install smplayer --setopt=install_weak_deps=1

only install smplayer 

when: 
rpm -q --recommends smplayer  
mplayer
smtube



Version-Release number of selected component (if applicable):
dnf-1.1.10-1.fc23.noarch
dnf-1.1.10-3.fc25.noarch


Actual results:
doesn't install weak_deps

Expected results:
install weak_deps as request or as default.

Additional info:

dnf repoquery --recommends smplayer  --available 
(empty result)

when dnf repoquery --recommends smplayer (when smplayer is installed )
mplayer
smtube

Comment 1 Igor Gnatenko 2016-11-04 07:31:39 UTC
mplayer/whatever should be re-pushed to repositories.

Comment 2 Sergio Basto 2016-11-04 20:10:36 UTC
(In reply to Igor Gnatenko from comment #1)
> mplayer/whatever should be re-pushed to repositories.

Hi , could you be more verbose ? , it is a problem of "our" repository ? createrepo on rhel7 doesn't support weak dependencies ? 
etc

Comment 3 Igor Gnatenko 2016-11-04 20:36:01 UTC
(In reply to Sergio Monteiro Basto from comment #2)
> (In reply to Igor Gnatenko from comment #1)
> > mplayer/whatever should be re-pushed to repositories.
> 
> Hi , could you be more verbose ? , it is a problem of "our" repository ?
> createrepo on rhel7 doesn't support weak dependencies ? 
> etc
createrepo supports weakdeps when yum supports weak deps (RHEL7 doesn't support it). You can use createrepo_c.