Pages

Wednesday, August 23, 2023

News : An old change double equals is deprecated.

... although the change is old, for me it is new !
[root@fedora mythcat]# dnf install -y "kernel-devel-uname-r == $(uname -r)"
Last metadata expiration check: 1:12:11 ago on Wed 23 Aug 2023 05:17:13 PM EEST.
Using '==' operator in reldeps can result in an undefined behavior. It is deprecated and the support 
will be dropped in future versions. Use '=' operator instead.
Package kernel-devel-6.5.0-0.rc6.20230818git0e8860d2125f.47.fc40.x86_64 is already installed.
Dependencies resolved.
Nothing to do.
Complete!
[root@fedora mythcat]# dnf install -y "kernel-devel-uname-r = $(uname -r)"
Last metadata expiration check: 1:12:50 ago on Wed 23 Aug 2023 05:17:13 PM EEST.
Package kernel-devel-6.5.0-0.rc6.20230818git0e8860d2125f.47.fc40.x86_64 is already installed.
Dependencies resolved.
Nothing to do.
Complete!