Zypper_package prevents upgrade package on chef 13.6


“We seem to be hitting https://github.com/chef/chef/issues/4863 on SLES 12 SP3 as well. It appears that changes were made to zypper.rb that now prevents upgrades. This seems to be a fundamental problem. Would anyone happen to know if there is a possible work around for this issue or if there exists a patch? We see that even the latest available chef client versions also exhinit the same problem”

Thanks and Regards,


Time to start drilling down.

  try zypper info on the packages you want and see what it reports.


I am getting status as below ,

Information for package test:

Repository : test_repo
Name : test
Version : 4.0.2
Arch : x86_64
Support Level : unknown
Installed Size : 5.2 MiB
Installed : Yes
Status : out-of-date (version 4.0.1 installed)
Source package : test-4.0.2.src


Can you please suggest any work around and any other alternative . thanks,


What does the resource you are using to upgrade look like?


Hi John, we are using package resource and action as upgrade . we are seeing this issue only on sles operating system. thanks