On 6/16/20 1:16 AM, Miroslav Suchý wrote:
> Dne 16. 06. 20 v 0:37 James Cassell napsal(a):
>> Please not using mechanism. Make it easy to opt out, or better yet opt-in.
> 
> On package level, there is likely no other way. DNF team will have no 
> time/resources to implement this on DNF level.
> I can only thing of /usr/sbin/remove-retired-package which would be a wrapper 
> for
>   dnf remove $list $of $retired $package
> Does that sounds better?
> 
> Is there some way how to get this information from PDC?
> 
>> Probably better to just advertise `yum list extras` which has existed since 
>> at least Fedora 12.
> 
> Will be my mom able to write something like:
>  dnf remove $(dnf list extras | awk '{print $1} | grep -v 
> "package-I-still-want")
> ?

FTR,
  dnf remove $(dnf repoquery --extras --exclude=package-I-still-want)
is the canonical way to do this (taken from dnf's manpage).

I agree that this is still not suitable for a regular user.
_______________________________________________
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

Reply via email to