Description of problem:
Updating this system with dnf gives an apparent error message but there's no text or apparent reason for the error message (see below)
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1.dnf -y group install --with-optional 'KDE Plasma Workspaces'
successful system upgrade
dnf -y group install --with-optional 'KDE Plasma Workspaces'
Last metadata expiration check: 3:05:33 ago on Sun Apr 02 22:40:06 2017 PDT.
Group 'base-x' is already installed.
Group 'Standard' is already installed.
Group 'Core' is already installed.
Group 'Dial-up Networking Support' is already installed.
Group 'Fonts' is already installed.
Group 'Input Methods' is already installed.
Group 'Multimedia' is already installed.
Group 'Common NetworkManager Submodules' is already installed.
Group 'Hardware Support' is already installed.
Group 'Printing Support' is already installed.
Group 'Guest Desktop Agents' is already installed.
Group 'KDE' is already installed.
Please can you provide additional data.
Can you attache the file /var/log/dnf.log immediately after appearance of the problem.
Thanks for your attention and time you spent on this bug.
The file is rather large (> 534000 k after gzip) and contains only one instance of "AssertionError". Additionally, the problem appears to not be reproducible at this time.
Given the above, do you want me to send the file or parts of the file or put this bug on hold? Now that I know what you will need, I can do a better job of capturing this info.
Ok, please can you dissect only information regarding to the assertion plus few lines before and after and attach it as a new file? It should be not extremely big. I need to know from where the assertion was raised.
Created attachment 1271774 [details]
gzip'd log file
Here's the log from the dnf assertion problem. I tried to get the entries from just the error condition (start/end).
Let me know if you need more info.
Thanks for your help,
I still cannot find a reproducer. Probably some questions will help:
1. Can you still reproduce the problem on your system?
2. Was env group 'KDE Plasma Workspaces' already installed before problem appearance? Please can you provide output from "dnf group list" and "dnf group list --hidden"
Unfortunately I will have additional questions after this first two.
Created attachment 1272404 [details]
gzipped flat file with info requested...
#1 -- I haven't seen this error since reporting it here. There may have been more info that should have been displayed along with the "Assertion". My question is, "How can the word 'assertion' be written but no other data?". Maybe some sort of "end of data" indicator would be helpful?
#2 -- data in the appended file...
THANKS for your attention to this bug.
I forgot to answer the first part of your second question. Yes, "KDE Plasma Workspaces" was previously installed.
I create a pull-request https://github.com/rpm-software-management/dnf/pull/786 that should prevent the raising of assertion. Because I was unable find reproducer I cannot fix the primary issue. I guess that problem was that the install of group with --optional result that diff between installed and available groups produces strange result that some of packages were marked as removal mark. Therefore please if in future you will see such a result, please report it as a bug and we can solve the primary issue. Thanks...
I will do this when/if it ever happens again.
Thanks for your hard work with this bug,
dnf-plugins-core-2.0.0-1.fc26 libdnf-0.8.2-1.fc26 dnf-2.4.0-1.fc26 has been submitted as an update to Fedora 26. https://bodhi.fedoraproject.org/updates/FEDORA-2017-4e95959f0d
dnf-2.4.0-1.fc26 dnf-plugins-core-2.0.0-1.fc26 dnf-plugins-extras-2.0.0-1.fc26 libdnf-0.8.2-1.fc26 has been submitted as an update to Fedora 26. https://bodhi.fedoraproject.org/updates/FEDORA-2017-4e95959f0d
dnf-2.4.0-1.fc26, dnf-plugins-core-2.0.0-1.fc26, dnf-plugins-extras-2.0.0-1.fc26, libdnf-0.8.2-1.fc26 has been pushed to the Fedora 26 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-2017-4e95959f0d
dnf-2.4.0-1.fc26, dnf-plugins-core-2.0.0-1.fc26, dnf-plugins-extras-2.0.0-1.fc26, libdnf-0.8.2-1.fc26 has been pushed to the Fedora 26 stable repository. If problems still persist, please make note of it in this bug report.