On Mon, 28 Dec 2020 14:07:19 +0200, Kostas Sfakiotakis wrote:

> Στις 28/12/20 2:36 π.μ., ο/η Ed Greshko έγραψε:
> > On 28/12/2020 08:05, Kostas Sfakiotakis wrote:  
> >> Can someone please tell me the correct syntax of the exclude option ( 
> >> the -x option will not work as well ) ??
> >>
> >> dnf upgrade  --best --allowerasing --exclude=cpu-x-4.0.1-5.fc33.x86_64  
> >
> > Have you tried just
> >
> > dnf upgrade  --best --allowerasing  --exclude=cpu-x  
> 
> Yes it will not work either . Also
> 
> dnf upgrade --best --allowerasing -x=cpu-x will not work .
> 
> I have tried all the variations that i could think off .
> 
> Even
> 
> dnf  upgrade --best --allowerasing -exclude=cpu-x-4.0.1-5.fc33.x86_64.rpm
> 
> will not work .

That quoted line makes no sense, since it contains multiple errors.
Correct would be: --exclude=PACKAGENAME
Not: -exclude=PACKAGENAME.rpm
And PACKAGENAME may include version, release and arch, but not ".rpm"
if you work with repositories.

Please show full output of what you're trying to do.
Don't just write "will not work" without telling details.
_______________________________________________
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-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/users@lists.fedoraproject.org

Reply via email to