상세 컨텐츠

본문 제목

Target Packages is configured multiple times in /etc/apt/sources.list 해결

TOOLS/TIPS

by koharin 2021. 9. 7. 16:31

본문

728x90
반응형
$ sudo apt install python3-apt
$ chmod a+x aptsources-cleanup.pyz
$ sudo ./aptsources-cleanup.pyz
Overlapping source entries:
 1. file '/etc/apt/sources.list.d/google-chrome.list':
    deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main
 2. file '/etc/apt/sources.list.d/google-chrome.list':
    deb http://dl.google.com/linux/chrome/deb/ stable main
I disabled all but the first entry.

1 source entry was disabled:
  deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main
  # deb http://dl.google.com/linux/chrome/deb/ stable main

Do you want to save these changes?  (yes/no)
? yes
$ sudo apt-get update

aptsources-cleanup.pyz 다운로드

728x90
반응형

관련글 더보기