Como remover arquivos repetidos do sistema (Ubuntu 19.04)?

Olá, gostaria de saber como remover os repetidos dessa lista no Ubuntu 19.04

Comando:

$ sudo apt update

Resposta:

[sudo] senha para beatrizods:
Atingido:1 Index of /ubuntu eoan InRelease
Obter:2 Index of /ubuntu eoan-updates InRelease [97,5 kB]
Atingido:3 Index of /ubuntu eoan InRelease
Obter:4 Index of /ubuntu eoan-security InRelease [97,5 kB]
Obter:5 Index of /ubuntu eoan-backports InRelease [88,8 kB]
Atingido:6 Index of /ubuntu eoan-proposed InRelease
Baixados 284 kB em 2s (158 kB/s)
Lendo listas de pacotes… Pronto
Construindo árvore de dependências
Lendo informação de estado… Pronto
All packages are up to date.
W: Target Packages (partner/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:43 and /etc/apt/sources.list:57
W: Target Packages (partner/binary-i386/Packages) is configured multiple times in /etc/apt/sources.list:43 and /etc/apt/sources.list:57
W: Target Packages (partner/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:43 and /etc/apt/sources.list:57
W: Target Translations (partner/i18n/Translation-pt_BR) is configured multiple times in /etc/apt/sources.list:43 and /etc/apt/sources.list:57
W: Target Translations (partner/i18n/Translation-pt) is configured multiple times in /etc/apt/sources.list:43 and /etc/apt/sources.list:57
W: Target Translations (partner/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:43 and /etc/apt/sources.list:57
W: Target DEP-11 (partner/dep11/Components-amd64.yml) is configured multiple times in /etc/apt/sources.list:43 and /etc/apt/sources.list:57
W: Target DEP-11 (partner/dep11/Components-all.yml) is configured multiple times in /etc/apt/sources.list:43 and /etc/apt/sources.list:57
W: Target DEP-11-icons-small (partner/dep11/icons-48x48.tar) is configured multiple times in /etc/apt/sources.list:43 and /etc/apt/sources.list:57
W: Target DEP-11-icons (partner/dep11/icons-64x64.tar) is configured multiple times in /etc/apt/sources.list:43 and /etc/apt/sources.list:57
W: Target CNF (partner/cnf/Commands-amd64) is configured multiple times in /etc/apt/sources.list:43 and /etc/apt/sources.list:57
W: Target CNF (partner/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list:43 and /etc/apt/sources.list:57
W: Target Packages (partner/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:43 and /etc/apt/sources.list:58
W: Target Packages (partner/binary-i386/Packages) is configured multiple times in /etc/apt/sources.list:43 and /etc/apt/sources.list:58
W: Target Packages (partner/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:43 and /etc/apt/sources.list:58
W: Target Translations (partner/i18n/Translation-pt_BR) is configured multiple times in /etc/apt/sources.list:43 and /etc/apt/sources.list:58
W: Target Translations (partner/i18n/Translation-pt) is configured multiple times in /etc/apt/sources.list:43 and /etc/apt/sources.list:58
W: Target Translations (partner/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:43 and /etc/apt/sources.list:58
W: Target DEP-11 (partner/dep11/Components-amd64.yml) is configured multiple times in /etc/apt/sources.list:43 and /etc/apt/sources.list:58
W: Target DEP-11 (partner/dep11/Components-all.yml) is configured multiple times in /etc/apt/sources.list:43 and /etc/apt/sources.list:58
W: Target DEP-11-icons-small (partner/dep11/icons-48x48.tar) is configured multiple times in /etc/apt/sources.list:43 and /etc/apt/sources.list:58
W: Target DEP-11-icons (partner/dep11/icons-64x64.tar) is configured multiple times in /etc/apt/sources.list:43 and /etc/apt/sources.list:58
W: Target CNF (partner/cnf/Commands-amd64) is configured multiple times in /etc/apt/sources.list:43 and /etc/apt/sources.list:58
W: Target CNF (partner/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list:43 and /etc/apt/sources.list:58
W: Target Packages (partner/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:43 and /etc/apt/sources.list:57
W: Target Packages (partner/binary-i386/Packages) is configured multiple times in /etc/apt/sources.list:43 and /etc/apt/sources.list:57
W: Target Packages (partner/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:43 and /etc/apt/sources.list:57
W: Target Translations (partner/i18n/Translation-pt_BR) is configured multiple times in /etc/apt/sources.list:43 and /etc/apt/sources.list:57
W: Target Translations (partner/i18n/Translation-pt) is configured multiple times in /etc/apt/sources.list:43 and /etc/apt/sources.list:57
W: Target Translations (partner/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:43 and /etc/apt/sources.list:57
W: Target DEP-11 (partner/dep11/Components-amd64.yml) is configured multiple times in /etc/apt/sources.list:43 and /etc/apt/sources.list:57
W: Target DEP-11 (partner/dep11/Components-all.yml) is configured multiple times in /etc/apt/sources.list:43 and /etc/apt/sources.list:57
W: Target DEP-11-icons-small (partner/dep11/icons-48x48.tar) is configured multiple times in /etc/apt/sources.list:43 and /etc/apt/sources.list:57
W: Target DEP-11-icons (partner/dep11/icons-64x64.tar) is configured multiple times in /etc/apt/sources.list:43 and /etc/apt/sources.list:57
W: Target CNF (partner/cnf/Commands-amd64) is configured multiple times in /etc/apt/sources.list:43 and /etc/apt/sources.list:57
W: Target CNF (partner/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list:43 and /etc/apt/sources.list:57
W: Target Packages (partner/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:43 and /etc/apt/sources.list:58
W: Target Packages (partner/binary-i386/Packages) is configured multiple times in /etc/apt/sources.list:43 and /etc/apt/sources.list:58
W: Target Packages (partner/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:43 and /etc/apt/sources.list:58
W: Target Translations (partner/i18n/Translation-pt_BR) is configured multiple times in /etc/apt/sources.list:43 and /etc/apt/sources.list:58
W: Target Translations (partner/i18n/Translation-pt) is configured multiple times in /etc/apt/sources.list:43 and /etc/apt/sources.list:58
W: Target Translations (partner/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:43 and /etc/apt/sources.list:58
W: Target DEP-11 (partner/dep11/Components-amd64.yml) is configured multiple times in /etc/apt/sources.list:43 and /etc/apt/sources.list:58
W: Target DEP-11 (partner/dep11/Components-all.yml) is configured multiple times in /etc/apt/sources.list:43 and /etc/apt/sources.list:58
W: Target DEP-11-icons-small (partner/dep11/icons-48x48.tar) is configured multiple times in /etc/apt/sources.list:43 and /etc/apt/sources.list:58
W: Target DEP-11-icons (partner/dep11/icons-64x64.tar) is configured multiple times in /etc/apt/sources.list:43 and /etc/apt/sources.list:58
W: Target CNF (partner/cnf/Commands-amd64) is configured multiple times in /etc/apt/sources.list:43 and /etc/apt/sources.list:58
W: Target CNF (partner/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list:43 and /etc/apt/sources.list:58

1 curtida

Basta desabilitar os PPA’s duplicados em: Programas e atualizações > Outros Programas

Desmarque e digite sua senha sudo.

1 curtida

eu não estou conseguindo fazer isso :frowning:
tem como explicar melhor? os nomes não aparecem exatamente iguais e eu fico com medo de fazer besteira

Olá @pacb! Olhando as imagens você pode ver que tem cinco itens do “Parceiros da Canonical” marcados. O correto é deixar apenas um, que suponho ser o mesmo repositório.

1 curtida

Muito obrigada! :slight_smile: :laughing: