I was following a guide for installing docker for mint specifically and so far things were looking good. I ran the command docker run hello-world to see if it would say "Hello from Docker!" which it did but right after that I noticed an odd sign from the update manager icon. I opened it and I see this in the screenshot. When I try to remove docker.list with sudo apt purge it gives me the following message. I'll use a timeshift to go back to before this since changing the mirror didn't work like the screenshot said but any suggestions for if this happens again?
E: Malformed entry 1 in list file /etc/apt/sources.list.d/docker.list (Suite)
E: The list of sources could not be read.
#Corruption error as I was trying to install docker.
14 messages · Page 1 of 1 (latest)
you have to rm the file
sudo rm -f /etc/apt/sources.list.d/docker.list
the file is simply badly formatted
you can just restore it by following the repository setup instructions again
or use the Ubuntu docker packages
I tried using the documentation for debian originally but it didn't work and after asking in the docker forums I was told it's because I'm on mint and not an officially supported distro and that I'd need to look up a different way for mint
remove the repository, apt update, and do apt search docker and install the packages you need
@split gull so I got it to install without any error showing in the update manager, however, I had docker.io installed from the software manager and now when i look at it through the software manager app it gives me an error message saying "The following packages have unmet dependencies:
containerd.io: Conflicts: containerd"
it won't let me uninstall docker.io either
go to software sources -> maintenance -> remove foreign packages
and run sudo apt autoremove
hmm nothing shows in the foreign packages but I did run the autoremove which got rid of bridge-utils ubuntu-fan
still getting the error however when I look at docker.io