# Cannot generate recipe from tutorial (appimage-builder)

**URL:** <https://discourse.appimage.org/t/cannot-generate-recipe-from-tutorial-appimage-builder/2933>\
**Category:** Creating AppImages\
**Created:** [March 15, 2023, 10:10pm UTC](https://discourse.appimage.org/t/cannot-generate-recipe-from-tutorial-appimage-builder/2933 "2023-03-15T22:10:46Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![mukoan](https://avatars.discourse-cdn.com/v4/letter/m/a4c791/32.png) [@mukoan](https://discourse.appimage.org/u/mukoan)\
**Post date:** [March 15, 2023, 10:10pm UTC](https://discourse.appimage.org/t/cannot-generate-recipe-from-tutorial-appimage-builder/2933/1 "2023-03-15T22:10:46Z")

</div>

I’m following the tutorial at  
[https://appimage-builder.readthedocs.io/en/latest/intro/tutorial.html](https://appimage-builder.readthedocs.io/en/latest/intro/tutorial.html)

I reached the step of running `appimage-builder --generate`  
fill in everything as default  
the test application runs  
I exercise it and close it  
there is a lengthy error message ending with

```auto
  File "/usr/local/lib/python3.7/dist-packages/appimagebuilder/gateways/dpkg_query.py", line 63, in depends
    raise DpkgQueryError("Package lockup failed")
appimagebuilder.gateways.dpkg_query.DpkgQueryError: Package lockup failed

```

The result is that ` AppImageBuilder.yml` is **not** created.

I am not running any package manager tools at the same time.  
I can post the whole message if you like. This is running on Debian Buster.

Thanks in advance

(Edited to try to improve formatting)

---

<div class="post-metadata">

**Author:** ![probono](https://yyz1.discourse-cdn.com/flex027/user_avatar/discourse.appimage.org/probono/32/81_2.png) [@probono](https://discourse.appimage.org/u/probono)\
**Post date:** [June 18, 2023, 6:49pm UTC](https://discourse.appimage.org/t/cannot-generate-recipe-from-tutorial-appimage-builder/2933/2 "2023-06-18T18:49:06Z")

</div>

Hi @mukoan. I am not sure whether the author of appimage-builder is reading here, so please ask over at [Issues · AppImageCrafters/appimage-builder · GitHub](https://github.com/AppImageCrafters/appimage-builder/issues). Thanks!
