On 28/12/2020 20:07, 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 .
Very odd..... Here is an example of usage.
Without an exclude....
[root@f32k ~]# dnf check-update
Last metadata expiration check: 2:21:29 ago on Mon 28 Dec 2020 07:08:30 PM CST.
firefox.x86_64 84.0.1-2.fc32 updates
kernel.x86_64 5.9.16-100.fc32 updates
kernel-core.x86_64 5.9.16-100.fc32 updates
kernel-modules.x86_64 5.9.16-100.fc32 updates
kernel-modules-extra.x86_64 5.9.16-100.fc32 updates
libmaxminddb.x86_64 1.4.3-1.fc32 updates
libsane-airscan.x86_64 0.99.22-1.fc32 updates
mediawriter.x86_64 4.1.7-1.fc32 updates
openvpn.x86_64 2.4.10-1.fc32 updates
p11-kit.x86_64 0.23.22-1.fc32 updates
p11-kit-server.x86_64 0.23.22-1.fc32 updates
p11-kit-trust.x86_64 0.23.22-1.fc32 updates
pcre2.x86_64 10.36-1.fc32 updates
pcre2-syntax.noarch 10.36-1.fc32 updates
pcre2-utf16.x86_64 10.36-1.fc32 updates
perl-libnet.noarch 3.12-1.fc32 updates
python3-cups.x86_64 2.0.1-7.fc32 updates
sane-airscan.x86_64 0.99.22-1.fc32 updates
vim-minimal.x86_64 2:8.2.2146-2.fc32 updates
With an exclude....
[root@f32k ~]# dnf check-update --exclude=firefox
Last metadata expiration check: 2:22:01 ago on Mon 28 Dec 2020 07:08:30 PM CST.
kernel.x86_64 5.9.16-100.fc32 updates
kernel-core.x86_64 5.9.16-100.fc32 updates
kernel-modules.x86_64 5.9.16-100.fc32 updates
kernel-modules-extra.x86_64 5.9.16-100.fc32 updates
libmaxminddb.x86_64 1.4.3-1.fc32 updates
libsane-airscan.x86_64 0.99.22-1.fc32 updates
mediawriter.x86_64 4.1.7-1.fc32 updates
openvpn.x86_64 2.4.10-1.fc32 updates
p11-kit.x86_64 0.23.22-1.fc32 updates
p11-kit-server.x86_64 0.23.22-1.fc32 updates
p11-kit-trust.x86_64 0.23.22-1.fc32 updates
pcre2.x86_64 10.36-1.fc32 updates
pcre2-syntax.noarch 10.36-1.fc32 updates
pcre2-utf16.x86_64 10.36-1.fc32 updates
perl-libnet.noarch 3.12-1.fc32 updates
python3-cups.x86_64 2.0.1-7.fc32 updates
sane-airscan.x86_64 0.99.22-1.fc32 updates
vim-minimal.x86_64 2:8.2.2146-2.fc32 updates
Could you show how it doesn't work for you?
---
The key to getting good answers is to ask good questions.
_______________________________________________
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