You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As a follow up to #10950, I found another dnf faiulre for :purge and :remove package resources, also caused by a comparison between current_version and new_version. Here's some chef debug output for an rpm which is failing to be removed:
Processing dnf_package[fb-mysql-server-5.6.35-202010141616.prod] action purge (fb_mysql::fb_mysql_server_rpm line 85)
Providers for generic dnf_package resource enabled on node include: [Chef::Provider::Package::Dnf]
Provider for action purge on resource dnf_package[fb-mysql-server-5.6.35-202010141616.prod] is Chef::Provider::Package::Dnf
sending '{"action":"whatinstalled","provides":"fb-mysql-server-5.6.35-202010141616.prod"}' to python helper
got 'fb-mysql-server-5.6.35-202010141616.prod 0:5.6.35-202010141616.prod x86_64' from python helper
parsed fb-mysql-server-5.6.35-202010141616.prod-0:5.6.35-202010141616.prod.x86_64 from python helper
sending '{"action":"whatinstalled","provides":"fb-mysql-server-5.6.35-202010141616.prod","version":"5.6.35","release":"202010141616.prod"}' to python helper
got 'fb-mysql-server-5.6.35-202010141616.prod 0:5.6.35-202010141616.prod x86_64' from python helper
parsed fb-mysql-server-5.6.35-202010141616.prod-0:5.6.35-202010141616.prod.x86_64 from python helper
It's worth pointing out that this package has its version and release information also embedded into its name. The removal fails when removing_package? calls have_any_matching_version? because equality comparisons fail for the following version strings:
As a follow up to #10950, I found another dnf faiulre for
:purge
and:remove
package resources, also caused by a comparison betweencurrent_version
andnew_version
. Here's some chef debug output for an rpm which is failing to be removed:It's worth pointing out that this package has its version and release information also embedded into its name. The removal fails when
removing_package?
callshave_any_matching_version?
because equality comparisons fail for the following version strings:The text was updated successfully, but these errors were encountered: