lambdal / lambda-stack-dockerfiles

MIT License
251 stars 60 forks source link

Unable to locate package lambda-stack-cuda or lambda-server #13

Closed flatcapital closed 1 day ago

flatcapital commented 1 year ago

It seems like the URL http://archive.lambdalabs.com/ubuntu is not valid as a source anymore? Unless I'm missing something obvious.

I get the following error when trying to build a docker image.

#0 6.525 Get:5 http://archive.lambdalabs.com/ubuntu jammy InRelease [3170 B]
#0 6.619 Fetched 3170 B in 1s (4998 B/s)
#0 6.619 Reading package lists...
#0 7.022 Reading package lists...
#0 7.394 Building dependency tree...
#0 7.474 Reading state information...
#0 7.484 E: Unable to locate package lambda-stack-cuda
#0 7.484 E: Unable to locate package lambda-server
------
Dockerfile.jammy:17
--------------------
  16 |     ADD lambda.gpg .
  17 | >>> RUN apt-get update && \
  18 | >>>      apt-get install --yes gnupg && \
  19 | >>>      gpg --dearmor -o /etc/apt/trusted.gpg.d/lambda.gpg < lambda.gpg && \
  20 | >>>      rm lambda.gpg && \
  21 | >>>      echo "deb http://archive.lambdalabs.com/ubuntu jammy main" > /etc/apt/sources.list.d/lambda.list && \
  22 | >>>      echo "Package: *" > /etc/apt/preferences.d/lambda && \
  23 | >>>      echo "Pin: origin archive.lambdalabs.com" >> /etc/apt/preferences.d/lambda && \
  24 | >>>      echo "Pin-Priority: 1001" >> /etc/apt/preferences.d/lambda && \
  25 | >>>      echo "cudnn cudnn/license_preseed select ACCEPT" | debconf-set-selections && \
  26 | >>>      apt-get update && \
  27 | >>>      DEBIAN_FRONTEND=noninteractive \
  28 | >>>              apt-get install \
  29 | >>>              --yes \
  30 | >>>              --no-install-recommends \
  31 | >>>              --option "Acquire::http::No-Cache=true" \
  32 | >>>              --option "Acquire::http::Pipeline-Depth=0" \
  33 | >>>              lambda-stack-cuda \
  34 | >>>              lambda-server && \
  35 | >>>      rm -rf /var/lib/apt/lists/*
  36 |
--------------------
ERROR: failed to solve: process "/bin/sh -c apt-get update && \tapt-get install --yes gnupg && \tgpg --dearmor -o /etc/apt/trusted.gpg.d/lambda.gpg < lambda.gpg && \trm lambda.gpg && \techo \"deb http://archive.lambdalabs.com/ubuntu jammy main\" > /etc/apt/sources.list.d/lambda.list && \techo \"Package: *\" > /etc/apt/preferences.d/lambda && \techo \"Pin: origin archive.lambdalabs.com\" >> /etc/apt/preferences.d/lambda && \techo \"Pin-Priority: 1001\" >> /etc/apt/preferences.d/lambda && \techo \"cudnn cudnn/license_preseed select ACCEPT\" | debconf-set-selections && \tapt-get update && \tDEBIAN_FRONTEND=noninteractive \t\tapt-get install \t\t--yes \t\t--no-install-recommends \t\t--option \"Acquire::http::No-Cache=true\" \t\t--option \"Acquire::http::Pipeline-Depth=0\" \t\tlambda-stack-cuda \t\tlambda-server && \trm -rf /var/lib/apt/lists/*" did not complete successfully: exit code: 100
sclarkson commented 1 day ago

Closing as stale. Both docker images build correctly as of now. Re-open a new issue if you have further problems.