{"action":"opened","issue":{"url":"https://api.github.com/repos/saltstack/salt/issues/27501","labels_url":"https://api.github.com/repos/saltstack/salt/issues/27501/labels{/name}","comments_url":"https://api.github.com/repos/saltstack/salt/issues/27501/comments","events_url":"https://api.github.com/repos/saltstack/salt/issues/27501/events","html_url":"https://github.com/saltstack/salt/issues/27501","id":108873602,"number":27501,"title":"[FreeBSD] \"pkg search\" behavior changed since 1.5 series","user":{"login":"yermulnik","id":1274789,"avatar_url":"https://avatars.githubusercontent.com/u/1274789?v=3","gravatar_id":"","url":"https://api.github.com/users/yermulnik","html_url":"https://github.com/yermulnik","followers_url":"https://api.github.com/users/yermulnik/followers","following_url":"https://api.github.com/users/yermulnik/following{/other_user}","gists_url":"https://api.github.com/users/yermulnik/gists{/gist_id}","starred_url":"https://api.github.com/users/yermulnik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yermulnik/subscriptions","organizations_url":"https://api.github.com/users/yermulnik/orgs","repos_url":"https://api.github.com/users/yermulnik/repos","events_url":"https://api.github.com/users/yermulnik/events{/privacy}","received_events_url":"https://api.github.com/users/yermulnik/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-09-29T13:50:32Z","updated_at":"2015-09-29T13:50:32Z","closed_at":null,"body":"`pkg search` starting from version 1.6.0 defaults to show comments what makes at least `pkg.latest` got broken:\r\n```yaml\r\n[...]\r\n[INFO    ] Executing state pkg.latest for pkg\r\n[INFO    ] Executing command 'pkg info -ao' in directory '/home/yz'\r\n[INFO    ] Executing command 'pkg search pkg' in directory '/home/yz'\r\n[DEBUG   ] Could not LazyLoad pkg.version_cmp\r\n[DEBUG   ] Could not LazyLoad pkg.normalize_name\r\n[INFO    ] Executing command 'pkg install  -y pkg' in directory '/home/yz'\r\n[INFO    ] Executing command 'pkg info -ao' in directory '/home/yz'\r\n[ERROR   ] Package pkg failed to update.\r\n[INFO    ] Completed state [pkg] at time 13:30:27.804182\r\n[DEBUG   ] File /var/cache/salt/minion/accumulator/34577839904 does not exist, no need to cleanup.\r\n[DEBUG   ] Initializing new AsyncZeroMQReqChannel for ('/usr/local/etc/salt/pki/minion', 'dt-bal02', 'tcp://192.168.90.19:4506', 'aes')\r\n[DEBUG   ] Initializing new SAuth for ('/usr/local/etc/salt/pki/minion', 'dt-bal02', 'tcp://192.168.90.19:4506')\r\n[DEBUG   ] LazyLoaded highstate.output\r\nlocal:\r\n----------\r\n          ID: pkg\r\n    Function: pkg.latest\r\n      Result: False\r\n     Comment: Package pkg failed to update.\r\n     Started: 13:30:26.840506\r\n    Duration: 963.676 ms\r\n     Changes:\r\n\r\nSummary for local\r\n------------\r\nSucceeded: 0\r\nFailed:    1\r\n------------\r\nTotal states run:     1\r\nTotal run time: 963.676 ms\r\n```\r\nPlease, consider checking `pkg` version and adding `-q` if version >= 1.6.0 (`pkg search -q pkg_name`) and please help me fix this until release, as I've got a bunch of my `sls`'s broken =("}}