[SOLVED] Can't add docker repository Mint Ulyssa

Hi, I’m trying to install docker in Mint Ulyssa and it fails when fetching the release file in the corresponding repository. Acording to docker docs:

echo \
"deb [arch=amd64 signed-by=/usr/share/keyrings/docker-archive-keyring.gpg] https://download.docker.com/linux/ubuntu \
$(lsb_release -cs) stable" | sudo tee /etc/apt/sources.list.d/docker.list > /dev/null

and when

sudo apt update

I get this error:

Hit:1 http://mirrors.eze.sysarmy.com/ubuntu focal InRelease
Hit:2 http://mirrors.eze.sysarmy.com/ubuntu focal-updates InRelease            
Hit:3 http://mirrors.eze.sysarmy.com/ubuntu focal-backports InRelease          
Ign:4 https://mint.zero.com.ar/mintpackages ulyssa InRelease                   
Hit:5 https://mint.zero.com.ar/mintpackages ulyssa Release                     
Ign:6 https://download.docker.com/linux/ubuntu ulyssa InRelease                
Hit:7 http://archive.canonical.com/ubuntu focal InRelease                      
Hit:8 http://security.ubuntu.com/ubuntu focal-security InRelease               
Err:10 https://download.docker.com/linux/ubuntu ulyssa Release                 
  404  Not Found [IP: 2600:9000:21f4:cc00:3:db06:4200:93a1 443]
Err:11 https://packages.microsoft.com/repos/ms-teams stable InRelease        
  500  Internal Server Error [IP: 13.90.56.68 443]
Reading package lists... Done
E: The repository 'https://download.docker.com/linux/ubuntu ulyssa 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.

Tryied adding directly some other repos like

 deb [arch=amd64] https://download.docker.com/linux/ubuntu focal stable

to

/etc/apt/sources.list

but didn’t work either.
I’m using ZSH shell, just to say.
Thank you all!

what does it say when you added the focal?
did you remember to remove the first one?

Yes I’ve noticed the fact of reuturnning Mint distro specifically but returning Focal, e.g., didn’t work.
Sudenly i’ve noticed a warning entry asking for entry points, and that solve the issue.
Don’t which repo finally added ahaha.
Thank you for the help.

Said the same, and no i didn’t removed it, when i go to /etc/apt/sources.list it does not appear the one added with

echo \
"deb [arch=amd64 signed-by=/usr/share/keyrings/docker-archive-keyring.gpg] https://download.docker.com/linux/ubuntu \
$(lsb_release -cs) stable" | sudo tee /etc/apt/sources.list.d/docker.list > /dev/null

The main issue is what happens when capturing linux version with $(lsb_release -cs) in linux mint, cause there is no repo for their specific distros.

Remove this file

/etc/apt/sources.listd/docker.list

1 Like

Hi guys, I hope you are well
I also want to install Drocker on Linux mint 20.1 (Ulyssa), the part that is discussed here I did as it appears below

echo "deb [arch=amd64 signed-by=/usr/share/keyrings/docker-archive-keyring.gpg] https://download.docker.com/linux/ubuntu focal stable" | sudo tee /etc/apt/sources.list.d/docker.list > /dev/null

However, now I have the following problem

Beforehand thank you very much

For Ulyssa you can use the ubuntu focal repos. Anyway in case of issue, i would reccomend to use the docker script, I personally used it and it worked with no issue. save https://get.docker.com/ as .sh file where ever you wnat and then execute it:

sudo sh get.docker.sh, it will automatically install everything you need