Skip to main content

7 days ago

Error 404 when add repository - Using the server of Playground


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] \ 
> $(lsb_release -cs) \
> stable"

Hit:1 bionic InRelease
Hit:2 bionic-updates InRelease
Hit:3 bionic-backports InRelease
Ign:4 \ InRelease
Err:5 \ Release
404 Not Found [IP: 2600:9000:2191:5800:3:db06:4200:93a1 443]
Hit:6 bionic-security InRelease
Reading package lists... Done
E: The repository ' \ 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.

 I checked the /etc/apt/sources.list
# deb-src bionic-security universe
deb bionic-security multiverse
deb [arch=amd64] \ bionic \ stable
# deb-src [arch=amd64] \ bionic \ stable
# deb-src bionic-security multiverse

Any idea what is the problem?


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