LinkedInLearning codespaces #210319
Replies: 2 comments
|
The course's dev container config is actually broken right now, so it's not something you did. The container build fails, and Codespaces falls back to a recovery container, which is why you see "Workspace does not exist". Why it fails
The official course repo has the same reports (#3, #4) and a pending fix in PR #9. Fix (about 2 minutes)
RUN rm -f /etc/apt/sources.list.d/yarn.list \
&& apt-get update \
&& apt-get install -y postgresql-client
The course doesn't need Yarn, so removing that apt source is safe. If you want the fix to stick for future codespaces, fork the repo, commit the change in your fork, and create codespaces from the fork. If the rebuild still fails, run Codespaces: View Creation Log and post the first |
|
Thanks for your response - I received the following error when I rebuilt after having edited the dockerfile
2026-11-02 21:02:51.303Z: #7 ERROR: process "/bin/sh -c rm -f /etc/apt/sources.list.d/yarn.list && apt-get update && apt-get install -y postgresql-client" did not complete successfully: exit code: 100
…________________________________
From: Loc ***@***.***>
Sent: Thursday, October 15, 2026 20:52
To: community/community ***@***.***>
Cc: Martin Wall ***@***.***>; Author ***@***.***>
Subject: Re: [community/community] LinkedInLearning codespaces (Discussion #210319)
You don't often get email from ***@***.*** Learn why this is important<https://aka.ms/LearnAboutSenderIdentification>
The course's dev container config is actually broken right now, so it's not something you did. The container build fails, and Codespaces falls back to a recovery container, which is why you see "Workspace does not exist".
Why it fails
.devcontainer/Dockerfile runs apt update on top of mcr.microsoft.com/vscode/devcontainers/python:3-bullseye. That image was last built in October 2025 and still ships /etc/apt/sources.list.d/yarn.list with Yarn's old signing key. In January 2026 Yarn re-signed its apt repo with a new key (62D54FD4003F6525), so apt update now errors out on the Yarn repo and the image build stops. Background: devcontainers/images#1752<devcontainers/images#1752> and yarnpkg/yarn#9216<yarnpkg/yarn#9216>.
The official course repo has the same reports (#3<LinkedInLearning/intermediate-sql-for-data-scientists-5925685#3>, #4<LinkedInLearning/intermediate-sql-for-data-scientists-5925685#4>) and a pending fix in PR #9<LinkedInLearning/intermediate-sql-for-data-scientists-5925685#9>.
Fix (about 2 minutes)
1. In the recovery codespace, open .devcontainer/Dockerfile. The repo files are still there under /workspaces/<repo-name>.
2. Replace the RUN apt update && apt install -y postgresql-client line with:
RUN rm -f /etc/apt/sources.list.d/yarn.list \
&& apt-get update \
&& apt-get install -y postgresql-client
1. Open the Command Palette (Ctrl/Cmd+Shift+P), run Codespaces: Rebuild Container, and choose the full rebuild.
The course doesn't need Yarn, so removing that apt source is safe. If you want the fix to stick for future codespaces, fork the repo, commit the change in your fork, and create codespaces from the fork. If the rebuild still fails, run Codespaces: View Creation Log and post the first ERROR lines here.
—
Reply to this email directly, view it on GitHub<#210319?email_source=notifications&email_token=BSFYAN7Y3REIK47NPIDWGP35UB62LA5CNFSNUABIM5UWIORPF5TWS5BNNB2WEL2ENFZWG5LTONUW63SDN5WW2ZLOOQXTCOBZGQZTSMRVUZZGKYLTN5XKMYLVORUG64VFMV3GK3TUVRTG633UMVZF6Y3MNFRWW#discussioncomment-18943925>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/BSFYAN56VVFIGXGSNJSZ73T5UB62LAVCNFSNUABIKJSXA33TNF2G64TZHMZTAMJVG4ZTGNBUHNCGS43DOVZXG2LPNY5TCMJQGIZTMMJRUF3AE>.
Triage notifications, keep track of coding agent tasks and review pull requests on the go with GitHub Mobile for iOS<https://github.com/notifications/mobile/ios/BSFYAN5VYONWIH47PI3ZFAD5UB62LA5CNFSNUABIM5UWIORPF5TWS5BNNB2WEL2ENFZWG5LTONUW63SDN5WW2ZLOOQXTCOBZGQZTSMRVUZZGKYLTN5XKMYLVORUG64VFMV3GK3TUVJTG633UMVZF62LPOM> and Android<https://github.com/notifications/mobile/android/BSFYANZVAJHJY2WCWAUH2QL5UB62LA5CNFSNUABIM5UWIORPF5TWS5BNNB2WEL2ENFZWG5LTONUW63SDN5WW2ZLOOQXTCOBZGQZTSMRVUZZGKYLTN5XKMYLVORUG64VFMV3GK3TUVZTG633UMVZF6YLOMRZG62LE>. Download it today!
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
Uh oh!
There was an error while loading. Please reload this page.
🏷️ Discussion Type
Question
Body
I am trying to use the LinkedIn learning course “intermediate SQL for data scientists”. To do the exercises for this course there is a link to the repository intermediate-sql-for-data-scientists-5925685 and instructions to set up a codespace. I click on this link and the button ‘create codespace on main’ but I then receive an error message that I do not understand “Workspace does not exist”. After clicking I get “This codespace is currently running in recovery mode due to a configuration error. Please review the creation logs, update your dev container configuration as needed, and run the "Rebuild Container" command to rectify.” I do not know how to update my dev container configuration. I have contacted linkedInLearning and they claim there is no problem with the configuration for this course.
All reactions