Uploaded image for project: 'RHEL'
  1. RHEL
  2. RHEL-60555

ptyxis obsoletes should be versioned or dropped

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Undefined Undefined
    • None
    • rhel-10.0.beta
    • ptyxis
    • None
    • No
    • None
    • rhel-sst-display-desktop-foundation
    • ssg_display
    • None
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • None
    • None
    • None

      What were you trying to do that didn't work?

      I was doing a dnf update transaction that would replace gnome-terminal with ptyxis, but this is really about RHEL9 to RHEL10 upgrades.

      What is the impact of this issue to you?

      Failed to update because ptyxis does not obsoletes gnome-terminal-nautilus (which requires gnome-terminal).

      Please provide the package NVR for which the bug is seen:

      ptyxis-46.6-1.el10.x86_64.rpm

      How reproducible is this bug?:

      100%

      Steps to reproduce

      1. installed old RHEL10 (or RHEL9) with gnome-terminal and update to current rhel10

      Expected results

      no error

      Actual results

      Problem: package ptyxis-46.6-1.el10.x86_64 from appstream obsoletes gnome-terminal provided by gnome-terminal-3.50.1-6.el10.x86_64 from @System
      - package gnome-terminal-nautilus-3.50.1-6.el10.x86_64 from @System requires gnome-terminal(x86-64) = 3.50.1-6.el10, but none of the providers can be installed

      Suggestions

      So actually since PES (Package Evolution Service for upgrades) can take care of the replacement, the Obsoletes is probably redundant actually in the end.

      Hypothetically it is also possible someone may want to install a gnome-terminal package in RHEL 10 (say from EPEL), and that is currently impossible since the `Obsoletes: gnome-terminal` is currently unversioned.

      So my suggestion would be to either:

      • drop the Obsoletes and just leverage the existing PES entries to handle upgrades from RHEL 9 to 10

      failing that:

      • use versioned obsoletes for both gnome-terminal and gnome-terminal-nautilus:

       Obsoletes: gnome-terminal < 3.50
       Obsoletes: gnome-terminal-nautilus < 3.50

      (rhel9 currently has gnome-terminal-3.40)

       

      I know the current Obsoletes was introduced via RHEL-53804 but perhaps it is not actually strictly necessary or at least should be improved.

              chergert@redhat.com Christian Hergert
              petersen@redhat.com Jens-Ulrik Petersen
              Christian Hergert Christian Hergert
              Michal Odehnal Michal Odehnal
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated: