Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 1305356 - dnf groupinstall does not install packages, only marks them
Summary: dnf groupinstall does not install packages, only marks them
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: dnf
Version: 23
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Honza Silhan
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-02-07 14:21 UTC by cornel panceac
Modified: 2016-03-26 17:58 UTC (History)
8 users (show)

Fixed In Version: dnf-1.1.7-2.fc23 dnf-1.1.7-2.fc24
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-03-26 17:58:22 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
dnf log (deleted)
2016-02-07 14:21 UTC, cornel panceac
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 1303991 0 unspecified CLOSED koji should in the generated comps set mandatory types for required packages 2021-02-22 00:41:40 UTC

Internal Links: 1303991

Description cornel panceac 2016-02-07 14:21:16 UTC
Created attachment 1121912 [details]
dnf log

Description of problem:
On a freshly installed and updated F23 x64 i tried:

# dnf groupinstall MATE\ Compiz MAte\ Applications Sound\ and\ Video Office/Productivity Games\ and\ Entertainment LibreOffice 

The outcome was a list of one group and several packages proposed to be marked as installed. But they were not actually installed.

See attachment for details.

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


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 1 Jaroslav Mracek 2016-02-08 13:21:41 UTC
Please could you try to compare list of mandatory packages for a group (dnf group info <group>) with installed packages (dnf repoquery --installed). If all mandatory packages of the group are installed, dnf only marks the group as installed, because there in nothing to install. Thank you very much for your feedback.

Comment 2 Rex Dieter 2016-02-08 14:43:47 UTC
OK, interesting, at least some of these groups of *zero* mandatory packages, including:
Games and Entertainment
Office/Productivity
Sound and Video

Libreoffice, Mate Compiz, Mate Applications all include some without type= specified, do those count as mandatory (or just default)?

Comment 3 cornel panceac 2016-02-09 07:21:25 UTC
Hi, this is not easy to do because i've already installed those packages. On the other hand, having groups with no mandatory packages makes no sense to me. And the question reains, why some packages are 'marked' as installed but not actualy installed.

Comment 4 Honza Silhan 2016-02-18 13:15:34 UTC
(In reply to Rex Dieter from comment #2)
> Libreoffice, Mate Compiz, Mate Applications all include some without type=
> specified, do those count as mandatory (or just default)?

yes, non typed packagereq tags are considered as mandatory type.
mandatory type -> always install or fail
default type -> always install, if some deps cannot be satisfied ignore them
optional type -> install with ``--with-optional` switch, if some deps cannot be satisfied ignore them

From "Mate Applications" I get all these packages into transaction. "Sound and Video" contain just optional packages (don't know the reason).

I believe that bug report is about skipping the default packages that are not installed, which deps cannot be satisfied but still shown as marked as installed. This issue is fixed in this PR [1].

[1] https://github.com/rpm-software-management/dnf/pull/444

Comment 5 Fedora Update System 2016-02-25 13:53:37 UTC
dnf-plugins-core-0.1.17-1.fc23 dnf-1.1.7-1.fc23 has been submitted as an update to Fedora 23. https://bodhi.fedoraproject.org/updates/FEDORA-2016-0123ce82c1

Comment 6 Fedora Update System 2016-02-25 13:56:28 UTC
dnf-plugins-core-0.1.17-1.fc22 dnf-1.1.7-1.fc22 has been submitted as an update to Fedora 22. https://bodhi.fedoraproject.org/updates/FEDORA-2016-f673381075

Comment 7 Fedora Update System 2016-03-09 17:19:52 UTC
dnf-1.1.7-2.fc23 dnf-plugins-core-0.1.17-1.fc23 libsolv-0.6.19-2.fc23 has been submitted as an update to Fedora 23. https://bodhi.fedoraproject.org/updates/FEDORA-2016-0123ce82c1

Comment 8 Fedora Update System 2016-03-09 17:21:40 UTC
dnf-1.1.7-2.fc22 dnf-plugins-core-0.1.17-1.fc22 libsolv-0.6.19-2.fc22 has been submitted as an update to Fedora 22. https://bodhi.fedoraproject.org/updates/FEDORA-2016-f673381075

Comment 9 Fedora Update System 2016-03-10 16:53:04 UTC
dnf-1.1.7-2.fc22, dnf-plugins-core-0.1.17-1.fc22, libsolv-0.6.19-2.fc22 has been pushed to the Fedora 22 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-f673381075

Comment 10 Fedora Update System 2016-03-10 16:54:38 UTC
dnf-1.1.7-2.fc23, dnf-plugins-core-0.1.17-1.fc23, libsolv-0.6.19-2.fc23 has been pushed to the Fedora 23 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-0123ce82c1

Comment 11 Fedora Update System 2016-03-13 23:55:03 UTC
dnf-1.1.7-2.fc23, dnf-plugins-core-0.1.17-1.fc23, libsolv-0.6.19-2.fc23 has been pushed to the Fedora 23 stable repository. If problems still persist, please make note of it in this bug report.

Comment 12 Fedora Update System 2016-03-19 12:16:10 UTC
dnf-1.1.7-2.fc24 has been submitted as an update to Fedora 24. https://bodhi.fedoraproject.org/updates/FEDORA-2016-c030d24231

Comment 13 Fedora Update System 2016-03-20 03:58:00 UTC
dnf-1.1.7-2.fc24 has been pushed to the Fedora 24 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-c030d24231

Comment 14 Fedora Update System 2016-03-26 17:57:49 UTC
dnf-1.1.7-2.fc24 has been pushed to the Fedora 24 stable repository. If problems still persist, please make note of it in this bug report.


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