%EA%B0%80%20%2Fetc%2Fapt%2Fsources.list%3A2%20%EB%B0%8F%20%2Fetc%2Fapt%2Fsources.list%3A7%EC%97%90%EC%84%9C%20%EC%97%AC%EB%9F%AC%20%EB%B2%88%20%EA%B5%AC%EC%84%B1%EB%90%98%EC%97%88%EC%8A%B5%EB%8B%88%EB%8B%A4..png)
"sudo apt-get update" 실행 중 오류가 발생했습니다.
xyz@xyz:~$ sudo apt-get update
Hit:1 https://dl.winehq.org/wine-builds/ubuntu focal InRelease
Hit:2 http://packages.microsoft.com/repos/code stable InRelease
Hit:3 http://archive.canonical.com/ubuntu focal InRelease
Hit:4 http://ppa.launchpad.net/maarten-fonville/android-studio/ubuntu focal InRelease
Hit:5 http://archive.ubuntu.com/ubuntu focal InRelease
Hit:6 http://archive.ubuntu.com/ubuntu focal-updates InRelease
Get:7 http://archive.ubuntu.com/ubuntu focal-backports InRelease [101 kB]
Hit:8 http://ppa.launchpad.net/ubuntuhandbook1/lives/ubuntu focal InRelease
Get:9 http://archive.ubuntu.com/ubuntu focal-security InRelease [114 kB]
Hit:10 http://dl.google.com/linux/chrome/deb stable InRelease
Fetched 214 kB in 6s (37.1 kB/s)
Reading package lists... Done
W: Target Sources (main/source/Sources) is configured multiple times in /etc/apt/sources.list:2 and /etc/apt/sources.list:7
W: Target Sources (main/source/Sources) is configured multiple times in /etc/apt/sources.list:2 and /etc/apt/sources.list:7
답변1
이는 오류가 아니라 경고이며, 동일한 저장소가 존재한다는 것을 알려줄 뿐입니다 /etc/apt/sources.list
. 파일의 7행을 삭제하여 두 번째 정의를 제거할 수 있습니다.