Bug 2143151 - Upgrading to Fedora 37 remove mate-desktop due to a conflict with systemd-oomd-defaults
Summary: Upgrading to Fedora 37 remove mate-desktop due to a conflict with systemd-oom...
Keywords:
Status: CLOSED DUPLICATE of bug 2068699
Alias: None
Product: Fedora
Classification: Fedora
Component: mate-desktop
Version: 37
Hardware: x86_64
OS: Linux
high
high
Target Milestone: ---
Assignee: Wolfgang Ulbrich
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-11-16 08:11 UTC by Mauro Carvalho Chehab
Modified: 2022-11-17 22:00 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2022-11-17 22:00:16 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

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 ***


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