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

Step 18/25 Downloading Ubuntu. Ubuntu_22_04.tar.gz: Permission denied #3

Open
xShinzx opened this issue Feb 18, 2024 · 1 comment
Open

Comments

@xShinzx
Copy link

xShinzx commented Feb 18, 2024

Step 18/25 : RUN wget --no-check-certificate -O Ubuntu_22_04.tar.gz https://www.dropbox.com/scl/fi/16mhn3jrwvzapdw50gt20/Ubuntu_22_04.tar.gz?rlkey=4m256iahwtcijkpzcv8abn7nf
---> Running in f511fcc6ca90
Ubuntu_22_04.tar.gz: Permission denied
The command '/bin/sh -c wget --no-check-certificate -O Ubuntu_22_04.tar.gz https://www.dropbox.com/scl/fi/16mhn3jrwvzapdw50gt20/Ubuntu_22_04.tar.gz?rlkey=4m256iahwtcijkpzcv8abn7nf' returned a non-zero code: 1

I'm stuck on this step. I've tried for several hours many solutions with no luck. I gave the folder all permissons, I ran the command with sudo, I tried different ways of downloading the file then using other commands like COPY in the Dockefile to make it work which I succeeded in passing that step, but the 19th step couldn't find the file no matter where I move it or changing the script to find it giving me this error: Step 19/25 : RUN tar xzf Ubuntu_22_04.tar.gz
---> Running in 00d1230cf767
tar (child): Ubuntu_22_04.tar.gz: Cannot open: No such file or directory
tar (child): Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error is not recoverable: exiting now

I've tried sudo inside the script, but it asked for password so I configured an ask pass helper just to bypass that, but I failed miserably. Anyways, I really tried MANY solutions for several hours I just gave up. That's why I came here to ask for help as a last resort.

I'm using Debian 12, aarch64.

@justincm
Copy link

justincm commented Apr 5, 2024

Same issue here.

I ran a simple http server with the file (renamed on the server for troubleshooting)

Step 17/25 : WORKDIR /home/steam/.fex-emu/RootFS/
---> Using cache
---> 4b924e80770e
Step 18/25 : RUN wget -O Ubuntu_22_04.tar.gz http://140.238.99.135:8000/ubuntu_22_04.tar.gz
---> Running in 1595a7919542
Ubuntu_22_04.tar.gz: Permission denied
The command '/bin/sh -c wget -O Ubuntu_22_04.tar.gz http://140.238.99.135:8000/ubuntu_22_04.tar.gz' returned a non-zero code: 1

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

2 participants