최근에 리눅스 민트를 사용하기 시작했습니다. 터미널에서 다음 명령을 실행하려고 합니다 sudo apt-get update
. 하지만 나는 항상 다음과 같은 결과를 얻습니다.
이 문제를 어떻게 해결할 수 있나요?
...
Ign:10 http://archive.canonical.com sarah/partner all Packages
Ign:11 http://archive.canonical.com sarah/partner Translation-en_GB
Ign:12 http://archive.canonical.com sarah/partner Translation-en
Reading package lists... Done
W: Target Packages (partner/binary-i386/Packages) is configured multiple times in /etc/apt/sources.list.d/additional-repositories.list:1 and /etc/apt/sources.list.d/additional-repositories.list:2
W: Target Packages (partner/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/additional-repositories.list:1 and /etc/apt/sources.list.d/additional-repositories.list:2
W: Target Translations (partner/i18n/Translation-en_GB) is configured multiple times in /etc/apt/sources.list.d/additional-repositories.list:1 and /etc/apt/sources.list.d/additional-repositories.list:2
W: Target Translations (partner/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/additional-repositories.list:1 and /etc/apt/sources.list.d/additional-repositories.list:2
W: The repository 'http://archive.canonical.com sarah Release' does not have a Release file.
N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
N: See apt-secure(8) manpage for repository creation and user configuration details.
E: Failed to fetch http://archive.canonical.com/dists/sarah/partner/binary-i386/Packages 404 Not Found [IP: 91.189.92.191 80]
E: Some index files failed to download. They have been ignored, or old ones used instead.
W: Target Packages (partner/binary-i386/Packages) is configured multiple times in /etc/apt/sources.list.d/additional-repositories.list:1 and /etc/apt/sources.list.d/additional-repositories.list:2
W: Target Packages (partner/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/additional-repositories.list:1 and /etc/apt/sources.list.d/additional-repositories.list:2
W: Target Translations (partner/i18n/Translation-en_GB) is configured multiple times in /etc/apt/sources.list.d/additional-repositories.list:1 and /etc/apt/sources.list.d/additional-repositories.list:2
W: Target Translations (partner/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/additional-repositories.list:1 and /etc/apt/sources.list.d/additional-repositories.list:2
미리 감사드립니다
편집하다: cat /etc/apt/sources.list.d/additional-repositories.list
:
deb http://archive.canonical.com/ sarah partner
deb http://archive.canonical.com/ sarah partner
답변1
첫째, apt-get update
해당 색인은 여전히 적절하게 업데이트되고 있으며 일부 저장소에 필요한 정보를 다운로드할 수 없다는 불평일 뿐입니다.
sarah
Ubuntu 코드명이 아닌 Mint 코드명이므로 sarah
Canonical에서 호스팅하는 저장소를 사용하려고 해도 연결된 저장소를 안전하게 삭제할 수 있습니다.
sudo rm /etc/apt/sources.list.d/additional-repositories.list
이렇게 하면 표시되는 오류가 수정됩니다.
답변2
우분투에는 Sarah 버전이 없습니다. linuxming 배포판을 사용할 때만 linuxmint 저장소를 사용하세요.