Skip to content

Instantly share code, notes, and snippets.

Created October 24, 2013 17:08
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 anonymous/fa1818721c3b7d8b2236 to your computer and use it in GitHub Desktop.
Save anonymous/fa1818721c3b7d8b2236 to your computer and use it in GitHub Desktop.
princexml:
pkg.installed:
- sources:
- prince: http://www.princexml.com/download/prince_9.0-2_ubuntu12.04_amd64.deb
# [INFO ] Executing state pkg.installed for princexml
# [INFO ] Executing command 'dpkg-deb -I "/var/cache/salt/minion/extrn_files/base/www.princexml.com/download/prince_9.0-2_ubuntu12.04_amd64.deb"' in directory '/home/bkpk'
# [DEBUG ] stdout: new debian package, version 2.0.
# size 3870778 bytes: control archive= 385 bytes.
# 354 bytes, 11 lines control
# Package: prince
# Version: 9.0-2
# Section: text
# Priority: optional
# Architecture: amd64
# Depends: libc6, libtiff4, libgif4, libcurl3, libfontconfig1
# Maintainer: Michael Day <mikeday@yeslogic.com>
# Homepage: http://www.princexml.com
# Description: formatter for converting XML and HTML into PDF
# This program converts XML and HTML into PDF.
# Installed-Size: 13416
# [INFO ] Executing command 'dpkg -i --force-confold /var/cache/salt/minion/extrn_files/base/www.princexml.com/download/prince_9.0-2_ubuntu12.04_amd64.deb' in directory '/home/bkpk'
# [ERROR ] An exception occurred in this state: Traceback (most recent call last):
# File "/usr/lib/pymodules/python2.7/salt/state.py", line 1258, in call
# *cdata['args'], **cdata['kwargs'])
# File "/usr/lib/pymodules/python2.7/salt/states/pkg.py", line 470, in installed
# **kwargs)
# File "/usr/lib/pymodules/python2.7/salt/modules/apt.py", line 420, in install
# __salt__['cmd.run_all'](cmd, python_shell=False)
# File "/usr/lib/pymodules/python2.7/salt/modules/cmdmod.py", line 685, in run_all
# reset_system_locale=reset_system_locale)
# File "/usr/lib/pymodules/python2.7/salt/modules/cmdmod.py", line 346, in _run
# raise CommandExecutionError('Unable to run command: {0}'.format(exc))
# CommandExecutionError: Unable to run command: [Errno 2] No such file or directory
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment