Zypper_package['somepackage'] action upgrade (up to date)

Hi, can you please help me , zypper upgrade package resource is not doing the package upgrade even there is a latest new repo is available . its simply saying uptodate.

Chef version :chef-13.6.4

Thanks and Regards,
Rajan

If a new repo file has been added or new packages
added to the existing referenced zypper repo you will need to
perform a refresh for the local cache to be updated and reference
the new items added to either the existing repo or that are being
referenced by the new repo file.

  "zypper refresh"

  or

  "zypper refresh -f <repo name>"

Thanks , We have tried this option , but this is also not working .

“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”