Home>

After installing kali Linux in Virtualbox,
I updated after installing Docker,
The following message is displayed and I am in trouble because I cannot deal with it.

After installing Docker, the cause was that the installation method of Docker was wrong,
I completely uninstalled Docker, but it still shows up.
Excuse me for being busy, but I would appreciate if someone could teach me.

[Tried]

・Completely uninstall Docker
sudo mv /var/lib/dpkg/info/docker-ce* /tmp/
sudo dpkg --remove --force-remove-reinstreq docker-ce
sudo apt-get autoremove

・To check the file
cat /etc/apt/sources.list

Hits: 1 http://repo.mysql.com/apt/debian jessie InRelease
Ignored: 2 https://download.docker.com/linux/ubuntu kali-rolling InRelease
Hits: 4 https://download.docker.com/linux/debian stretch InRelease
Error: 5 https://download.docker.com/linux/ubuntu kali-rolling Release
404 Not Found [IP: 13.249.171.64 443]
Hits: 3 http://ftp.jaist.ac.jp/pub/Linux/kali kali-rolling InRelease
Loading package list... Done
E: The repository https://download.docker.com/linux/ubuntu kali-rolling Release does not have Release files.
N: Updates are disabled by default as updates cannot be safely made from such repositories.
N: See the apt-secure(8) man page for more information on creating repositories and configuring users.
W: Target Packages (main/binary-amd64/Packages) are set multiple times in /etc/apt/sources.list:8 and /etc/apt/sources.list:19
W: Target Packages (main/binary-all/Packages) are set multiple times in /etc/apt/sources.list:8 and /etc/apt/sources.list:19
W: Target Translations (main/i18n/Translation-ja_JP) is set multiple times in /etc/apt/sources.list:8 and /etc/apt/sources.list:19
W: Target Translations (main/i18n/Translation-ja) are set multiple times in /etc/apt/sources.list:8 and /etc/apt/sources.list:19
W: Target Translations (main/i18n/Translation-en) are set multiple times in /etc/apt/sources.list:8 and /etc/apt/sources.list:19
W: Target Packages (contrib/binary-amd64/Packages) are set multiple times in /etc/apt/sources.list:8 and /etc/apt/sources.list:19
W: Target Packages (contrib/binary-all/Packages) are set multiple times in /etc/apt/sources.list:8 and /etc/apt/sources.list:19
W: Target Translations (contrib/i18n/Translation-ja_JP) is set multiple times in /etc/apt/sources.list:8 and /etc/apt/sources.list:19
W: Target Translations (contrib/i18n/Translation-ja) are set multiple times in /etc/apt/sources.list:8 and /etc/apt/sources.list:19
W: Target Translations (contrib/i18n/Translation-en) is set multiple times in /etc/apt/sources.list:8 and /etc/apt/sources.list:19
W: Target Packages (non-free/binary-amd64/Packages) are set multiple times in /etc/apt/sources.list:8 and /etc/apt/sources.list:19
W: Target Packages (non-free/binary-all/Packages) are set multiple times in /etc/apt/sources.list:8 and /etc/apt/sources.list:19
W: Target Translations (non-free/i18n/Translation-ja_JP) is set multiple times in /etc/apt/sources.list:8 and /etc/apt/sources.list:19
W: Target Translations (non-free/i18n/Translation-ja) are set multiple times in /etc/apt/sources.list:8 and /etc/apt/sources.list:19
W: Target Translations (non-free/i18n/Translation-en) is set multiple times in /etc/apt/sources.list:8 and /etc/apt/sources.list:19
W: Target Packages (main/binary-amd64/Packages) are set multiple times in /etc/apt/sources.list:8 and /etc/apt/sources.list:19
W: Target Packages (main/binary-all/Packages) are set multiple times in /etc/apt/sources.list:8 and /etc/apt/sources.list:19
W: Target Translations (main/i18n/Translation-ja_JP) is set multiple times in /etc/apt/sources.list:8 and /etc/apt/sources.list:19
W: Target Translations (main/i18n/Translation-ja) are set multiple times in /etc/apt/sources.list:8 and /etc/apt/sources.list:19
W: Target Translations (main/i18n/Translation-en) are set multiple times in /etc/apt/sources.list:8 and /etc/apt/sources.list:19
W: Target Packages (contrib/binary-amd64/Packages) are set multiple times in /etc/apt/sources.list:8 and /etc/apt/sources.list:19
W: Target Packages (contrib/binary-all/Packages) are set multiple times in /etc/apt/sources.list:8 and /etc/apt/sources.list:19
W: Target Translations (contrib/i18n/Translation-ja_JP) is set multiple times in /etc/apt/sources.list:8 and /etc/apt/sources.list:19
W: Target Translations (contrib/i18n/Translation-ja) are set multiple times in /etc/apt/sources.list:8 and /etc/apt/sources.list:19
W: Target Translations (contrib/i18n/Translation-en) is set multiple times in /etc/apt/sources.list:8 and /etc/apt/sources.list:19
W: Target Packages (non-free/binary-amd64/Packages) are set multiple times in /etc/apt/sources.list:8 and /etc/apt/sources.list:19
W: Target Packages (non-free/binary-all/Packages) are set multiple times in /etc/apt/sources.list:8 and /etc/apt/sources.list:19
W: Target Translations (non-free/i18n/Translation-ja_JP) is set multiple times in /etc/apt/sources.list:8 and /etc/apt/sources.list:19
W: Target Translations (non-free/i18n/Translation-ja) are set multiple times in /etc/apt/sources.list:8 and /etc/apt/sources.list:19
W: Target Translations (non-free/i18n/Translation-en) is set multiple times in /etc/apt/sources.list:8 and /etc/apt/sources.list:19