Hi, I kinda messed up the installation instruction...
# ieee-sscs-dc-24
a
Hi, I kinda messed up the installation instructions from the docker website and misspelt something. Now every time I run sudo apt-get update or even try uninstalling it won't let me. I'm using wsl.
s
Just rename the file:
Copy code
cp /etc/apt/sources.list.d/docker.lsit /etc/apt/sources.list.d/docker.list
Actually if you messed this up in the docker installation, remove docker.lsit using the command
Copy code
rm /etc/apt/sources.list.d/docker.lsit
Then redo this command:
Copy code
echo \
  "deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.asc] <https://download.docker.com/linux/ubuntu> \
  $(. /etc/os-release && echo "$VERSION_CODENAME") stable" | \
  sudo tee /etc/apt/sources.list.d/docker.list > /dev/null
a
it says permission denied for some reason?
s
add sudo to the start of the command
a
so far so good!
s
sudo apt-get update runs fine?
a
Just tried it, works! Thanks so much!
s
No problem!