sed: can't read /etc/apt/sources.list: No such file or directory

#1
by mrprycep069 - opened

Hi, community

how can I fix this error code on my Space Repo - sed: can't read /etc/apt/sources.list: No such file or directory

Error Below

Thanks

===== Build Queued at 2023-06-15 05:16:25 / Commit SHA: 3a76bba =====

--> FROM docker.io/library/python:3.10@sha256:60ec661aff9aa0ec90bc10ceeab55d6d04ce7b384157d227917f3b49f2ddb32e
DONE 0.0s

DONE 5.4s

--> RUN sed -i 's http://deb.debian.org http://cdn-aws.deb.debian.org g' /etc/apt/sources.list && sed -i 's http://archive.ubuntu.com http://us-east-1.ec2.archive.ubuntu.com g' /etc/apt/sources.list && sed -i '/security/d' /etc/apt/sources.list && apt-get update && apt-get install -y git git-lfs ffmpeg libsm6 libxext6 cmake libgl1-mesa-glx && rm -rf /var/lib/apt/lists/* && git lfs install
sed: can't read /etc/apt/sources.list: No such file or directory

--> ERROR: process "/bin/sh -c sed -i 's http://deb.debian.org http://cdn-aws.deb.debian.org g' /etc/apt/sources.list && sed -i 's http://archive.ubuntu.com http://us-east-1.ec2.archive.ubuntu.com g' /etc/apt/sources.list && sed -i '/security/d' /etc/apt/sources.list && apt-get update && apt-get install -y \tgit \tgit-lfs \tffmpeg \tlibsm6 \tlibxext6 \tcmake \tlibgl1-mesa-glx \t&& rm -rf /var/lib/apt/lists/* \t&& git lfs install" did not complete successfully: exit code: 2

Sign up or log in to comment