# NGINX with nginx-extras

**URL:** <https://community.nginx.org/t/nginx-with-nginx-extras/686>\
**Category:** NGINX\
**Tags:** nginx-repository, debian, module, os-repository, nginx-extras\
**Created:** [February 24, 2025, 3:44pm UTC](https://community.nginx.org/t/nginx-with-nginx-extras/686 "2025-02-24T15:44:43Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![faslu\_inawizdom](https://avatars.discourse-cdn.com/v4/letter/f/85e7bf/32.png) [@faslu\_inawizdom](https://community.nginx.org/u/faslu_inawizdom)\
**Post date:** [February 24, 2025, 3:44pm UTC](https://community.nginx.org/t/nginx-with-nginx-extras/686/1 "2025-02-24T15:44:43Z")

</div>

I have a customer environment where there is nginx was already installed with version 1.25.0 ( this is from Nginx) and have nginx-extras package from Debian. I am trying to upgrade nginx version to 1.26.0 ( current stable version), but nginx-extras have conflicts when doing so. Any suggestions from experts please. Part of my main.docker file is as follows

FROM nginx:1.25.0 AS xyz\_nginx  
RUN apt-get update  
RUN apt-get install --fix-broken nano nginx-extras -y  
COPY docker/nginx.conf /etc/nginx/conf.d/default.conf  
RUN rm /etc/nginx/sites-enabled/default  
COPY --from=base /usr/src/www/static /usr/src/www/static

---

<div class="post-metadata">

**Author:** ![Dylen](https://drob5swvtjqxg.cloudfront.net/user_avatar/community.nginx.org/dylen/32/3_2.png) [@Dylen](https://community.nginx.org/u/Dylen)\
**Post date:** [February 24, 2025, 7:23pm UTC](https://community.nginx.org/t/nginx-with-nginx-extras/686/2 "2025-02-24T19:23:15Z")

</div>

Moving to the How Do I Category.

---

<div class="post-metadata">

**Author:** ![Damian\_Curry](https://avatars.discourse-cdn.com/v4/letter/d/94ad74/32.png) [@Damian\_Curry](https://community.nginx.org/u/Damian_Curry)\
**Post date:** [March 11, 2025, 5:22pm UTC](https://community.nginx.org/t/nginx-with-nginx-extras/686/3 "2025-03-11T17:22:53Z")

</div>

I believe that this is related to the differences in packaging between the official [nginx.org](http://nginx.org) packages and those maintained by debian. Mainly, it looks like the nginx-extras package is looking for ‘nginx-common’ as the package providing nginx. Is there a specific module you are looking to use from the nginx-extras package? It looks like this package is simply installing a group of dynamic modules for nginx. You may be better off installing the specific modules you need, rather than all of the ones included in the nginx-extras package.

---

<div class="post-metadata">

**Author:** ![system](https://drob5swvtjqxg.cloudfront.net/user_avatar/community.nginx.org/system/32/19_2.png) [@system](https://community.nginx.org/u/system)\
**Post date:** [July 3, 2025, 8:39pm UTC](https://community.nginx.org/t/nginx-with-nginx-extras/686/4 "2025-07-03T20:39:41Z")

</div>

Closed on July 3, 2025, 8:39pm UTC

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.
