bash: /usr/lib/python2.7/dist-packages/diskimage_builder/lib/disk-image-create: No such file or directory
Bug #1672304 reported by
George Shuklin
This bug affects 5 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
diskimage-builder |
New
|
Undecided
|
Unassigned |
Bug Description
I've tried to build diskimage-builder version 2.0.0 as debian package and found that it break itself at run with following message:
/usr/bin/
bash: /usr/lib/
Version 1.9.0 and lower are not affected.
I believe this happens because version 2.0.0 add some clever tricks to work with venv, and that code is not adopted to run as normal system package. Older version uses normal shell (not a python), which worked fine in any mode (venv or system package).
To post a comment you must log in.
I'd say the problem is actually that the package hasn't picked up and installed the binary
bash: /usr/lib/ python2. 7/dist- packages/ diskimage_ builder/ lib/disk- image-create: No such file or directory
/usr/bin/ disk-image- create is an entry-point script provided by setuptools. this calls diskimage_ builder. disk_image_ create. py:main( ) which then execs() that script.
I'm not very familiar with the debian packaging of this, but i am familiar with debian packaging in general. If you want to give some details on what rules you're building with maybe we can get to the bottom of this