W: Target Packages (stable/binary-amd64/Packages) is configured multiple times
https://blog.csdn.net/TUOLONGcsdn/article/details/128017828
https://askubuntu.com/questions/760896/how-can-i-fix-apt-error-w-target-packages-is-configured-multiple-times
解决方案:
下载一下一个外国网友写好的python库:
https://github.com/davidfoerster/aptsources-cleanup/releases/tag/v0.1.7.5.2
-
安装python3-apt
sudo apt install python3-apt -
赋权限
chmod 777 aptsources-cleanup.pyz -
用法
sudo ./aptsources-cleanup.pyz