Bug 1391776 - dnf install doesn't install weak dependencies even with --setopt=install_weak_deps=1
Summary: dnf install doesn't install weak dependencies even with --setopt=install_weak...
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Fedora
Classification: Fedora
Component: dnf
Version: 25
Hardware: x86_64
OS: Linux
unspecified
high
Target Milestone: ---
Assignee: rpm-software-management
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-11-04 01:42 UTC by Sergio Basto
Modified: 2016-11-04 20:36 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-11-04 07:31:39 UTC
Type: Bug


Attachments (Terms of Use)

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.


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