Re: dnf exclude option not working

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

 



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@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-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/users@xxxxxxxxxxxxxxxxxxxxxxx



[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux