Bug 1199653 - dnf groupinstall should exclude non-mandatory packages if their dependencies are exluded
Summary: dnf groupinstall should exclude non-mandatory packages if their dependencies ...
Keywords:
Status: CLOSED DUPLICATE of bug 1167881
Alias: None
Product: Fedora
Classification: Fedora
Component: dnf
Version: 21
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-03-06 21:38 UTC by Petr Spacek
Modified: 2015-03-09 12:46 UTC (History)
6 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2015-03-09 12:46:57 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Petr Spacek 2015-03-06 21:38:01 UTC
Description of problem:
It is not possible to use dnf groupinstall with --exclude parameter to prevent installation of unwanted packages.

Version-Release number of selected component (if applicable):
dnf-0.6.4-1.fc21.noarch

How reproducible:
100 %

Steps to Reproduce:
1. dnf groupinstall -x ModemManager "LXQt Desktop"

Actual results:
Error: package ModemManager-1.4.0-1.fc21.i686 is not installable

Expected results:
Packages from group "LXQt Desktop" are installed, except excluded packages, their dependencies, and potentially packages which depend on the excluded package.

Optionally: It would be nice if DNF printed list of all excluded packages. E.g. excluding ModemManager package would exclude ModemManager-glib (as its dependency) and print both packages in the list.

Comment 1 Petr Spacek 2015-03-06 21:54:05 UTC
Smaller example is e.g.
$ dnf groupinstall -x NetworkManager-wifi LXQt

Comment 2 Radek Holy 2015-03-09 12:46:57 UTC
Thank you for the report. I believe this is a duplicate of bug 1167881.

*** This bug has been marked as a duplicate of bug 1167881 ***


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