Bug 2143151

Summary: Upgrading to Fedora 37 remove mate-desktop due to a conflict with systemd-oomd-defaults
Product: [Fedora] Fedora Reporter: Mauro Carvalho Chehab <mchehab>
Component: mate-desktopAssignee: Wolfgang Ulbrich <raveit65.sun>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: high    
Version: 37CC: raveit65.sun, redhat-bugzilla, y9t7sypezp
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-11-17 22:00:16 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Mauro Carvalho Chehab 2022-11-16 08:11:19 UTC
Description of problem:

Upgraded yesterday to Fedora 37. Had to explicitly tell dnf to exclude systemd-oomd-defaults, with:

  # dnf system-upgrade --release 37 download --skip-broken --best --exclude systemd-oomd-defaults --allowerasing

as otherwise it would remove those packages:

- mate-desktop
- mate-desktop-configs
- mate-system-monitor 
 
After upgraded to Fedora 37, it is still not possible to install systemd-oomd-defaults:

  $ sudo dnf install systemd-oomd-defaults
  Last metadata expiration check: 0:14:13 ago on Wed Nov 16 07:48:43 2022.
  Error: 
   Problem: problem with installed package mate-desktop-configs-1.26.0-6.fc37.noarch
    - package mate-desktop-configs-1.26.0-6.fc37.noarch conflicts with systemd-oomd-defaults provided by systemd-oomd-defaults-251.7-611.fc37.noarch
    - conflicting requests
    - package mate-desktop-configs-1.26.0-6.fc37.noarch conflicts with systemd-oomd-defaults provided by systemd-oomd-defaults-251.8-586.fc37.noarch
  (try to add '--allowerasing' to command line to replace conflicting packages or '--skip-broken' to skip uninstallable packages)


How reproducible: Always


Steps to Reproduce:

On a machine with mate-desktop-configs installed, run dnf install systemd-oomd-defaults

Comment 1 Steve 2022-11-17 20:21:03 UTC
This problem occurred while attempting to install MATE as a second desktop on an already installed F37 system.

My workaround was to first remove systemd-oomd-defaults and then install MATE.

$ fgrep -A6 '2022-11-17T10:34:04-0800 CRITICAL Error:' dnf.log.1
2022-11-17T10:34:04-0800 CRITICAL Error: 
 Problem: problem with installed package systemd-oomd-defaults-251.8-586.fc37.noarch
  - package mate-desktop-configs-1.26.0-6.fc37.noarch conflicts with systemd-oomd-defaults provided by systemd-oomd-defaults-251.8-586.fc37.noarch
  - package mate-desktop-configs-1.26.0-6.fc37.noarch conflicts with systemd-oomd-defaults provided by systemd-oomd-defaults-251.7-611.fc37.noarch
  - package mate-desktop-1.26.0-6.fc37.x86_64 requires mate-desktop-configs = 1.26.0-6.fc37, but none of the providers can be installed
  - conflicting requests
2022-11-17T10:34:04-0800 INFO (try to add '--allowerasing' to command line to replace conflicting packages or '--skip-broken' to skip uninstallable packages)

Comment 2 Wolfgang Ulbrich 2022-11-17 22:00:16 UTC
Systemd-oomd can kill the whole mate-session , see https://bugzilla.redhat.com/show_bug.cgi?id=2068699 for more infos.
For this reason systemd-oomd-defaults needs to be removed, and earlyoom will be installed as replacement.

Simply folow update instruction and use dnf update --allowerasing  --skip-broken.
That's it.

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