this post was submitted on 30 Sep 2024
5 points (85.7% liked)

Fedora Linux

1701 readers
4 users here now

All about Fedora Linux

founded 5 years ago
MODERATORS
 

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

you are viewing a single comment's thread
view the rest of the comments
[–] deadcatbounce@reddthat.com 2 points 3 days ago (1 children)

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!

[–] vikingtons@lemmy.world 2 points 3 days ago (1 children)
[–] deadcatbounce@reddthat.com 2 points 3 days ago* (last edited 3 days 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'!