Bug 1308307

Summary: dnf does not support --'skip-broken'
Product: [Fedora] Fedora Reporter: cornel panceac <cpanceac>
Component: dnfAssignee: Packaging Maintenance Team <packaging-team-maint>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 23CC: cpanceac, jsilhan, mluscon, mmraka, packaging-team-maint, pnemade, vmukhame
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-02-19 15:20:32 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:
Embargoed:
Attachments:
Description Flags
dnf skip broken none

Description cornel panceac 2016-02-14 07:20:19 UTC
Created attachment 1126963 [details]
dnf skip broken

Description of problem:
trying 'yum info cegui', it fails because dnf translates this into:

'/usr/bin/dnf --skip-broken info cegui'

Leaving aside i don't understand why --skip-broken is needed for a 'info' command, leving aside i don't understand why 'yum' wihout 'skip-broken' is translated into dnf with 'skip-broen', leaving aside i don't understand why the same info is presented twice, i also don't understand why dnf --skip-broken is not working.

Version-Release number of selected component (if applicable):
dnf-1.1.6-2.fc23.noarch

See attachment for details.


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 1 Michael Mráka 2016-02-15 08:18:35 UTC
This is most likely caused by your local configuration.
Dnf does not add --skip-broken when redirecting from yum.
Maybe you have set an alias yum='yum --skip-broken' somewhere?

Comment 2 cornel panceac 2016-02-15 19:37:02 UTC
Yes. This is correct. I have a line

alias yum='yum --skip-broken'

in root's .bashrc . 
Of course this is inherited from older Fedora releases. I ill update it to use yum-deprecated.

Comment 3 Michal Luscon 2016-02-19 15:20:32 UTC
I believe this can be closed now.

Comment 4 cornel panceac 2016-02-19 17:41:20 UTC
Ok, thank you.