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

ERROR: failed to solve: executor failed running #43

Open
Ctrl-Alt-Rage opened this issue Oct 10, 2023 · 1 comment
Open

ERROR: failed to solve: executor failed running #43

Ctrl-Alt-Rage opened this issue Oct 10, 2023 · 1 comment

Comments

@Ctrl-Alt-Rage
Copy link

Ctrl-Alt-Rage commented Oct 10, 2023

I've been trying to run this and for the life of me I cannot figure out a fix. I'm positive I'm overlooking something.

This is the output when I run the docker.sh:

0.72 Setting up python3.9-minimal (3.9.2-1) ...
30.79 Traceback (most recent call last):
30.79   File "/usr/lib/python3.9/py_compile.py", line 215, in <module>
30.79     sys.exit(main())
30.79   File "/usr/lib/python3.9/py_compile.py", line 207, in main
30.79     compile(filename, doraise=True)
30.79   File "/usr/lib/python3.9/py_compile.py", line 172, in compile
30.79     importlib._bootstrap_external._write_atomic(cfile, bytecode, mode)
30.79   File "<frozen importlib._bootstrap_external>", line 126, in _write_atomic
30.79 PermissionError: [Errno 13] Permission denied: '/usr/lib/python3.9/__pycache__/__future__.cpython-39.pyc.139771950211344'
30.79 dpkg: error processing package python3.9-minimal (--configure):
30.79  installed python3.9-minimal package post-installation script subprocess returned error exit status 1
30.80 Errors were encountered while processing:
30.80  python3.9-minimal
30.85 E: Sub-process /usr/bin/dpkg returned an error code (1)
------
ERROR: failed to solve: executor failed running [/bin/sh -c apt-get update &&     apt-get install -y wget gnupg &&     wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | apt-key add - &&     echo "deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main" | tee /etc/apt/sources.list.d/google-chrome.list &&     apt-get update &&     apt-get install -y     python3 python3-pip git curl build-essential gfortran ffmpeg firefox-esr unzip     google-chrome-stable &&     apt-get clean &&     rm -rf /var/lib/apt/lists/*]: exit code: 100
docker: invalid reference format: repository name must be lowercase.
See 'docker run --help'.

It seemed to keep hanging and erroring out at:

=> [ 6/16] RUN apt-get update && apt-get install -y python3 python3-pip git curl build-essential gfortran && apt-get clean && rm -rf /var/lib/apt/lists/*

Any ideas on what could be going on?

@Ctrl-Alt-Rage
Copy link
Author

I ended up trying to run it on Windows and got a similar error.

I ended up putting in:

RUN npm cache clean --force

Right before the npm install so it looks like this:

# Install Node.js dependencies
RUN npm cache clean --force
RUN npm install

This seems to be working now. I'm on step 12/16.

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