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.

  • thayerw
    link
    fedilink
    English
    arrow-up
    2
    ·
    7 hours ago

    dnf autoremove might do the trick. I’m on Fedora Silverblue, so thankfully don’t have to worry about this anymore.

    • Vik@lemmy.world
      link
      fedilink
      English
      arrow-up
      2
      ·
      6 hours ago

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

    • deadcatbounce@reddthat.comOP
      link
      fedilink
      arrow-up
      1
      ·
      6 hours ago

      No, these packages are in the dependencies list of other packages so auto remove isn’t the solution.

      The more I think about it, the more I am convinced that there’s an official package to ‘install’ which will remove technologies no longer current.