Bug 1270398 - recommends for packages causes issues[solution]
Summary: recommends for packages causes issues[solution]
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: dnf
Version: 22
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: 2015-10-09 22:02 UTC by Richard Jasmin
Modified: 2015-10-13 14:42 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-10-13 14:42:26 UTC
Type: Bug


Attachments (Terms of Use)

Description Richard Jasmin 2015-10-09 22:02:14 UTC
Description of problem:
This is a solution to a dnf bug. Either something changed recommends into required depends for 22+ -or- dnf is misreading them.

for instance:
qt chudman wants to install mame but does not actually depend on it. (chudman) chdman only needs itself to convert files. but chudman itself may be shoved into mame packages because its not there prior to installing qt chudman.I would think chudman would be a seperate package. its a utility, you dont need mame for it.

Do note that this happens for other apps like keepass as well.Althought keepass depends on mono, mono and keepass are seperate entities. removing keepass(for whatever reason, in my instance the web release was newer) should not remove mono.

I think somewhere along the line recommends got changed into requires.And reverse depends like this should not occur.

Version-Release number of selected component (if applicable):
22+

How reproducible:
install an app with recommends or depends

Comment 1 Michal Luscon 2015-10-13 14:42:26 UTC
I think this is a consequence of clean_requirements_on_remove=True. You can mark packages as userinstalled by "dnf mark install <package>". Feel free to reopen if it does not help.

dnf.readthedocs.org/en/latest/conf_ref.html#clean-requirements-on-remove-label


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