Bug 1308307 - dnf does not support --'skip-broken'
Summary: dnf does not support --'skip-broken'
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: dnf
Version: 23
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: 2016-02-14 07:20 UTC by cornel panceac
Modified: 2016-02-19 17:41 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-02-19 15:20:32 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
dnf skip broken (1.97 KB, text/plain)
2016-02-14 07:20 UTC, cornel panceac
no flags Details

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.


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