Por que não consigo fazer uma “sudo apt-get update”?

1

Recentemente comecei a usar o Linux Mint. Eu estou tentando executar o seguinte comando no meu terminal sudo apt-get update . Mas eu sempre recebo essa saída:

Como posso resolver este problema?

...
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

Obrigado antecipadamente

EDIT: cat /etc/apt/sources.list.d/additional-repositories.list :

deb http://archive.canonical.com/ sarah partner
deb http://archive.canonical.com/ sarah partner
    
por LandonZeKepitelOfGreytBritn 27.10.2016 / 14:53

2 respostas

1

Em primeiro lugar, observe que apt-get update ainda atualiza seus índices conforme apropriado, apenas reclama que não é possível fazer o download das informações necessárias para alguns de seus repositórios.

sarah é um nome de código Mint, não um nome de código do Ubuntu, então não faz sentido tentar usar um repositório sarah hospedado pela Canonical; você pode excluir com segurança os repositórios adicionais:

sudo rm /etc/apt/sources.list.d/additional-repositories.list

Isso corrigirá os erros que você está vendo.

    
por 27.10.2016 / 15:01
-2

Não existe uma versão sarah do Ubuntu. Use os repositórios do linuxmint somente quando estiver usando a distribuição linuxming.

    
por 27.10.2016 / 14:58