Çäðàâñòâóéòå, ãîñòü ( Âõîä | Ðåãèñòðàöèÿ )
You have Docker sources in both /etc/apt/sources.list and /etc/apt/sources.list.d/ .
This will output a list of filenames and the lines causing the conflict. 2. Clean Up the Sources You have Docker sources in both /etc/apt/sources
An old installation attempt left behind a configuration that clashes with a new one. How to Fix the Conflict 1. Identify the Duplicates Clean Up the Sources An old installation attempt
If you see Docker mentioned in sources.list (the main file), it’s best to remove it and keep the dedicated .list file. After cleaning the files and syncing the paths,
After cleaning the files and syncing the paths, run: sudo apt update The "conflicting values" warning should now be gone. 💡 Quick Tip
Ensure the signed-by path matches exactly where you saved the Docker GPG key. A standard entry looks like this: deb [arch=amd64 signed-by=/etc/apt/keyrings/docker.asc] https://docker.com jammy stable 4. Refresh the GPG Key
Modern Linux systems are transitioning from the old apt-key method to a more secure GPG key storage system. This conflict typically arises because: