Bug 1841241 - Removing package group "MATE Desktop" removes my Plasma 5 desktop and a lot of other packages
Summary: Removing package group "MATE Desktop" removes my Plasma 5 desktop and a lot o...
Keywords:
Status: CLOSED DUPLICATE of bug 1554010
Alias: None
Product: Fedora
Classification: Fedora
Component: dnf
Version: 31
Hardware: x86_64
OS: Linux
unspecified
low
Target Milestone: ---
Assignee: Jaroslav Mracek
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-05-28 17:25 UTC by Aki Ketolainen
Modified: 2020-06-15 14:07 UTC (History)
9 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-06-15 14:07:13 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
dnf groupremove "MATE Desktop" (11.66 KB, text/plain)
2020-06-08 23:09 UTC, Aki Ketolainen
no flags Details

Description Aki Ketolainen 2020-05-28 17:25:32 UTC
Description of problem:

I've installed the Fedora 31 Plasma spin, ran dnf -y upgrade and then installed the package group "MATE Desktop" and "MATE Applications" after the original install.

Removing "MATE Desktop" package group removes both the MATE Desktop but also the originally installed Plasma 5.

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


How reproducible:

always

Steps to Reproduce:
1. dnf -y groupinstall "MATE Desktop" complains:

Error: 
 Problem: problem with installed package fedora-release-kde-31-4.noarch
  - package fedora-release-kde-31-4.noarch conflicts with system-release provided by fedora-release-matecompiz-31-1.noarch
  - package fedora-release-matecompiz-31-1.noarch conflicts with system-release provided by fedora-release-kde-31-4.noarch
  - package fedora-release-kde-31-1.noarch conflicts with system-release provided by fedora-release-matecompiz-31-1.noarch
  - package fedora-release-matecompiz-31-1.noarch conflicts with system-release provided by fedora-release-kde-31-1.noarch
  - conflicting requests
  - package fedora-release-kde-31-4.noarch conflicts with system-release provided by fedora-release-matecompiz-31-4.noarch
  - package fedora-release-matecompiz-31-4.noarch conflicts with system-release provided by fedora-release-kde-31-4.noarch
  - package fedora-release-matecompiz-31-4.noarch conflicts with system-release provided by fedora-release-kde-31-1.noarch
  - package fedora-release-kde-31-1.noarch conflicts with system-release provided by fedora-release-matecompiz-31-4.noarch
(try to add '--allowerasing' to command line to replace conflicting packages or '--skip-broken' to skip uninstallable packages)

2. dnf -y --allowerasing groupinstall "MATE Desktop"

3. check that the MATE Desktop works

4. remove MATE desktop: dnf -y groupremove "MATE Desktop"
   
Actual results:

Both MATE Desktop and Plasma 5 and a lot of other packages were removed.

Expected results:

Removing MATE Desktop should only remove MATE Desktop.

Additional info:

Comment 1 Daniel Mach 2020-06-01 11:46:47 UTC
Could you provide output of following command?
dnf grouplist --installed

Comment 2 Aki Ketolainen 2020-06-01 21:34:29 UTC
Do you mean before or after installing the MATE Desktop package group?

Comment 3 Daniel Mach 2020-06-08 11:24:47 UTC
Ideally before the step 1 in the steps to reproduce you have provided.

Comment 4 Aki Ketolainen 2020-06-08 23:09:19 UTC
Created attachment 1696217 [details]
dnf groupremove "MATE Desktop"

dnf groupremove "MATE Desktop"

Comment 5 Aki Ketolainen 2020-06-08 23:13:12 UTC
'dnf grouplist --installed' was empty before running 'dnf -y groupinstall "MATE Desktop"'.

I was wrong in that 'dnf groupremove "MATE Desktop"' would remove Plasma 5.

'dnf groupremove "MATE Desktop" removed the packages in the attachment 1696217 [details].

'dnf groupremove "MATE Desktop" wouldn't work unless I removed /etc/dnf/protected.d/sudo.conf first.

'dnf --allowerasing groupinstall "MATE Desktop"' removed fedora-release-kde.

Comment 6 Jaroslav Mracek 2020-06-15 14:07:13 UTC
The problem is that after installation of your system there were not any env. group marked as installed. To resolve your issue please mark your primary env. group as installed and than play with "MATE Desktop".

Like:

dnf group mark install 'Fedora Workstation'.

The problem should be resolved by: https://bugzilla.redhat.com/show_bug.cgi?id=1554010

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


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