I seem to be having a problem with blueprint attempting to run dpkg-query on my CentOS 5.6 box. Is this a bug?
[root@linweb05 ~]# blueprint create linweb05
# [blueprint] searching for PEAR/PECL packages
# [blueprint] searching for Python packages
# [blueprint] searching for apt packages
Traceback (most recent call last):
File "/usr/bin/blueprint-create", line 5, in <module>
pkg_resources.run_script('blueprint==3.0.2', 'blueprint-create')
File "/usr/lib/python2.6/site-packages/pkg_resources.py", line 461, in run_script
self.require(requires)[0].run_script(script_name, ns)
File "/usr/lib/python2.6/site-packages/pkg_resources.py", line 1194, in run_script
execfile(script_filename, namespace, namespace)
File "/usr/lib/python2.6/site-packages/blueprint-3.0.2-py2.6.egg/EGG-INFO/scripts/blueprint-create", line 53, in <module>
b = blueprint.Blueprint(name=name, create=True)
File "/usr/lib/python2.6/site-packages/blueprint-3.0.2-py2.6.egg/blueprint/__init__.py", line 66, in __init__
getattr(backend, funcname)(self)
File "/usr/lib/python2.6/site-packages/blueprint-3.0.2-py2.6.egg/blueprint/backend/apt.py", line 17, in apt
close_fds=True, stdout=subprocess.PIPE)
File "/usr/lib64/python2.6/subprocess.py", line 633, in __init__
errread, errwrite)
File "/usr/lib64/python2.6/subprocess.py", line 1139, in _execute_child
raise child_exception
OSError: [Errno 2] No such file or directory
I've reproduced this with the latest stable tarball, and with the latest git clone.
Support for RPM-based distros like CentOS was added in Blueprint 3.0.3. I see you're running 3.0.2 in the stack trace above. Could you paste in a stack trace from latest master or v3.0.6?
Hi there,
I seem to be having a problem with blueprint attempting to run dpkg-query on my CentOS 5.6 box. Is this a bug?
I've reproduced this with the latest stable tarball, and with the latest git clone.