# Build Error: Job failed with exit code: 1 (while creating a space at hugging Face)

**URL:** <https://discuss.huggingface.co/t/build-error-job-failed-with-exit-code-1-while-creating-a-space-at-hugging-face/166760>\
**Category:** Spaces\
**Created:** [August 14, 2025, 2:22am UTC](https://discuss.huggingface.co/t/build-error-job-failed-with-exit-code-1-while-creating-a-space-at-hugging-face/166760 "2025-08-14T02:22:06Z")\
**Posts on this page:** 1\
**Showing post:** 7

<div class="post-metadata">

**Author:** ![hysts](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/hysts/32/32230_2.png) [@hysts](https://discuss.huggingface.co/u/hysts)\
**Post date:** [August 14, 2025, 4:07pm UTC](https://discuss.huggingface.co/t/build-error-job-failed-with-exit-code-1-while-creating-a-space-at-hugging-face/166760/7 "2025-08-14T16:07:31Z")

</div>

The error started appearing because the base Docker image `python:3.9-slim` was updated on Docker Hub. It used to be based on Debian Bookworm, but it’s now based on Debian Trixie. Apparently, some packages, such as `libgl1-mesa-glx` and `software-properties-common`, have been removed from the `apt` repository in Debian Trixie, which has caused disruptions in some Spaces.  
If you don’t use `software-properties-common` in your Space, you can simply delete that line from your `Dockerfile`.  
I think we should update the `Dockerfile` for `streamlit`, and I’ll report the issue internally.

---

_[View the full topic](https://discuss.huggingface.co/t/build-error-job-failed-with-exit-code-1-while-creating-a-space-at-hugging-face/166760)._
