Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions salt/states/pkg.py
Original file line number Diff line number Diff line change
Expand Up @@ -917,6 +917,10 @@ def _verify_install(desired, new_pkgs, ignore_epoch=None, new_caps=None):
elif pkgver == "latest":
_ok.append(pkgname)
continue
elif __grains__["os"] == "FreeBSD" and pkgver:
cver = [k for k, v in new_pkgs.items() if v["version"] == pkgver]
_ok.append(pkgname)
continue
Comment on lines +920 to +923
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

On first glance this does not appear like it is the correct solution. I think _fulfills_version_string should be covering this.

Copy link
Copy Markdown
Contributor Author

@network-shark network-shark Apr 6, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the hint I will answer in the issue @bdrx312 . Hope to get some feedback thanks

elif not __salt__["pkg_resource.version_clean"](pkgver):
_ok.append(pkgname)
continue
Expand Down
Loading