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

nodejs : Depends: libc6 (>= 2.28) but 2.24-11+deb9u4 is to be installed #172

Open
sanjeev02saraswat opened this issue Mar 9, 2023 · 0 comments

Comments

@sanjeev02saraswat
Copy link

i am trying to create a docker image of .net core + React Project. When we are trying to create a docker image using below command:

Command: docker build -t webapplication:v48 .

We are getting below error:

=> ERROR [base 7/8] RUN apt-get install -y nodejs 2.2s

[base 7/8] RUN apt-get install -y nodejs:
#11 0.515 Reading package lists...
#11 1.818 Building dependency tree...
#11 1.995 Reading state information...
#11 2.066 Some packages could not be installed. This may mean that you have
#11 2.066 requested an impossible situation or if you are using the unstable
#11 2.066 distribution that some required packages have not yet been created
#11 2.066 or been moved out of Incoming.
#11 2.066 The following information may help to resolve the situation:
#11 2.066
#11 2.066 The following packages have unmet dependencies:
#11 2.160 nodejs : Depends: libc6 (>= 2.28) but 2.24-11+deb9u4 is to be installed
#11 2.183 E: Unable to correct problems, you have held broken packages.


executor failed running [/bin/sh -c apt-get install -y nodejs]: exit code: 100

we have node js version v18.15.0 installed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant