Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Broken package nginx-light prevents hassio Docker image build #3793

Closed
johnmoxley opened this issue Nov 15, 2022 · 1 comment · Fixed by esphome/esphome#4034
Closed

Broken package nginx-light prevents hassio Docker image build #3793

johnmoxley opened this issue Nov 15, 2022 · 1 comment · Fixed by esphome/esphome#4034

Comments

@johnmoxley
Copy link

johnmoxley commented Nov 15, 2022

The problem

Currently, building the hassio Docker image via the python build script (i.e. python3 docker/build.py --tag [TAG] --arch [ARCH] --build-type ha-addon build) fails because of the broken package nginx-light=1.18.0-6.1+deb11u2.

Which version of ESPHome has the issue?

dev, beta, release branch tags

What type of installation are you using?

Home Assistant Add-on

Which version of Home Assistant has the issue?

No response

What platform are you using?

ESP32

Board

No response

Component causing the issue

No response

Example YAML snippet

No response

Anything in the logs that might be useful for us?

The build script throws an error (see below):

> [hassio 1/4] RUN     apt-get update     && apt-get install -y --no-install-recommends         nginx-light=1.18.0-6.1+deb11u2     && rm -rf         /tmp/*         /var/{cache,log}/*         /var/lib/apt/lists/*:                                                                                                                                                                                                                   
#0 0.339 Get:1 http://deb.debian.org/debian bullseye InRelease [116 kB]                                                                                                                                             
#0 0.408 Get:2 http://deb.debian.org/debian-security bullseye-security InRelease [48.4 kB]                                                                                                                          
#0 0.443 Get:3 http://deb.debian.org/debian bullseye-updates InRelease [44.1 kB]                                                                                                                                    
#0 0.537 Get:4 http://deb.debian.org/debian bullseye/main amd64 Packages [8184 kB]
#0 0.786 Get:5 http://deb.debian.org/debian-security bullseye-security/main amd64 Packages [200 kB]
#0 0.896 Get:6 http://deb.debian.org/debian bullseye-updates/main amd64 Packages [14.6 kB]
#0 1.929 Fetched 8607 kB in 2s (5098 kB/s)
#0 1.929 Reading package lists...
#0 2.680 Reading package lists...
#0 3.134 Building dependency tree...
#0 3.257 Reading state information...
#0 3.307 Some packages could not be installed. This may mean that you have
#0 3.307 requested an impossible situation or if you are using the unstable
#0 3.307 distribution that some required packages have not yet been created
#0 3.307 or been moved out of Incoming.
#0 3.307 The following information may help to resolve the situation:
#0 3.307 
#0 3.307 The following packages have unmet dependencies:
#0 3.358  nginx-light : Depends: libnginx-mod-http-echo (= 1.18.0-6.1+deb11u2) but 1.18.0-6.1+deb11u3 is to be installed
#0 3.363                Depends: nginx-common (= 1.18.0-6.1+deb11u2) but 1.18.0-6.1+deb11u3 is to be installed
#0 3.372 E: Unable to correct problems, you have held broken packages.
------
ERROR: failed to solve: executor failed running [/bin/bash -o pipefail -c apt-get update     && apt-get install -y --no-install-recommends         nginx-light=1.18.0-6.1+deb11u2     && rm -rf         /tmp/*         /var/{cache,log}/*         /var/lib/apt/lists/*]: exit code: 100
Command failed


### Additional information

_No response_
@johnmoxley
Copy link
Author

PR #4034 bumps the package version and fixes the issue

@github-actions github-actions bot locked and limited conversation to collaborators Mar 17, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant