I’m sure I saw somewhere some while ago a way to remove old/obsolete packages from an system-upgraded install. Packages that wouldn’t be removed because they’re dependencies somewhere still.

For example, the xorg drivers can be removed from my F40 when upgraded to f41 install. As if I’d installed it from the to-be f41 everything iso.

I can’t find it from the documentation; can someone point me in the right direction, please.

I can’t quite remember but I think it was an official Fedora package that one ‘installs’ which contains a script to remove obsolete packages from the prior Fedora version.

UPDATE: found it. https://docs.fedoraproject.org/en-US/quick-docs/upgrading-fedora-offline/#sect-clean-up-retired-packages

  • Vik@lemmy.world
    link
    fedilink
    English
    arrow-up
    2
    ·
    3 months ago

    Have used this recently on F40 Workstation and can attest that it works as described.

    • deadcatbounce@reddthat.comOP
      link
      fedilink
      arrow-up
      2
      ·
      3 months ago

      No-one is suggesting that it doesn’t work as described, but depends on dependency chain removal. This isn’t always the case.

      Anyway, I found the package I partly remembered!

        • deadcatbounce@reddthat.comOP
          link
          fedilink
          arrow-up
          2
          ·
          edit-2
          3 months ago

          Thank-you. Hopefully it helps a few here. I updated to the beta f41 just now, faultless - I haven’t done an update to beta for some time. Only a couple Gnome Extensions don’t work but that’s expected.

          There was only one rpmnew/rpmsav set: on cups browser. Nothing interesting. I think I may have forgotten to update one before.

          I was expecting xorg to be removed by the remove packages thing, but it didn’t. Maybe next time. I think I’m very ‘previous’!