Skip to content

Instantly share code, notes, and snippets.

@kylegato
Created December 4, 2013 23:34
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kylegato/acbae85b4555754bddc0 to your computer and use it in GitHub Desktop.
Save kylegato/acbae85b4555754bddc0 to your computer and use it in GitHub Desktop.
2013-12-04 15:28:40,994 [salt.state ][INFO ] Executing state pkg.installed for python27
2013-12-04 15:28:40,994 [salt.loaded.int.module.cmdmod ][INFO ] Executing command '/usr/sbin/pkg_info' in directory '/'
2013-12-04 15:28:41,001 [salt.loaded.int.module.cmdmod ][DEBUG ] output: pkg_info: no packages installed
2013-12-04 15:28:41,001 [salt.state ][ERROR ] An exception occurred in this state: Traceback (most recent call last):
File "/usr/local/lib/python2.7/site-packages/salt/state.py", line 1278, in call
*cdata['args'], **cdata['kwargs'])
File "/usr/local/lib/python2.7/site-packages/salt/states/pkg.py", line 428, in installed
fromrepo=fromrepo, **kwargs)
File "/usr/local/lib/python2.7/site-packages/salt/states/pkg.py", line 110, in _find_install_targets
cur_pkgs = __salt__['pkg.list_pkgs'](versions_as_list=True)
File "/usr/local/lib/python2.7/site-packages/salt/modules/freebsdpkg.py", line 185, in list_pkgs
pkg, ver = line.split(' ')[0].rsplit('-', 1)
ValueError: need more than 1 value to unpack
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment