Skip to main content
jjfloress

7 days ago

Error 404 when add repository - Using the server of Playground

Hello


I'm doing the first lab of Kubernetes Essentials, but when I attempted add the repository I got the following error.. I'm using Ubuntu 18.04 Bionic Beaver LTS of the Playground.

404 Not Found

cloud_user@jjfloress1c:~$ sudo add-apt-repository  "deb [arch=amd64] https://download.docker.com/linux/ubuntu \ 
> $(lsb_release -cs) \
> stable"

Hit:1 http://us-east-1.ec2.archive.ubuntu.com/ubuntu bionic InRelease
Hit:2 http://us-east-1.ec2.archive.ubuntu.com/ubuntu bionic-updates InRelease
Hit:3 http://us-east-1.ec2.archive.ubuntu.com/ubuntu bionic-backports InRelease
Ign:4 https://download.docker.com/linux/ubuntu \ InRelease
Err:5 https://download.docker.com/linux/ubuntu \ Release
404 Not Found [IP: 2600:9000:2191:5800:3:db06:4200:93a1 443]
Hit:6 http://security.ubuntu.com/ubuntu bionic-security InRelease
Reading package lists... Done
E: The repository 'https://download.docker.com/linux/ubuntu \ Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
cloud_user@jjfloress1c:~$

 I checked the /etc/apt/sources.list
# deb-src http://security.ubuntu.com/ubuntu bionic-security universe
deb http://security.ubuntu.com/ubuntu bionic-security multiverse
deb [arch=amd64] https://download.docker.com/linux/ubuntu \ bionic \ stable
# deb-src [arch=amd64] https://download.docker.com/linux/ubuntu \ bionic \ stable
# deb-src http://security.ubuntu.com/ubuntu bionic-security multiverse

Any idea what is the problem?

BR

Image of jjfloress
jjfloress
7 days ago
I solved the problem..
sudo vim /etc/apt/sources.list
and add this entry..
deb [arch=amd64] https://download.docker.com/linux/ubuntu bionic stable