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.