Dne 24. 09. 21 v 11:59 Vitaly Zaitsev via devel napsal(a):
sudo dnf remove $(dnf -C list extras | cut -d ' ' -f -1 | tail -n +3)

This will remove packages which are not in current repositories.

On my workstation, this will suggests to remove webex, which I installed manually as an rpm. And I definitelly want to keep it.

My current implementation is more conversative and remove only packages which were presented at some point in Fedora and now are retired.

It is so conservative, that it even leave behind the packages from N-2 version.

Miroslav
_______________________________________________
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
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@lists.fedoraproject.org
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure

Reply via email to