Re: remove-retired-packages

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 24. 09. 21 6:44, Miroslav Suchý wrote:
Hi.

I created small script `remove-retired-packages`. You can try it using:

$ sudo dnf copr enable msuchy/remove-retired-packages

$ remove-retired-packages

This script removes packages retired between Fedora N and Fedora N-1. You can run it with parameter:

$ remove-retired-packages  30

And it will remove all packages retired between Fedora N and Fedora 30.

It removes packages one-by-one. And you have the option to skip specific package.

The source is here:

https://github.com/xsuchy/fedora-upgrade/blob/main/remove-retired-packages

Should it query for removed packages instead of components?

It seem that when python-foo is retired, the script will attempt to remove python-foo instead of python3-foo (and python3-foo-docs etc.).

PS That's why I mentioned both options when answering your "how to find out what has been retired" question. The solution is to stop using the source repos (and src arch).

--
Miro Hrončok
--
Phone: +420777974800
IRC: mhroncok
_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Users]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]

  Powered by Linux