“o pacote está configurado várias vezes”, “o repositório não tem um arquivo de lançamento” e 404 erros ao atualizar [duplicado]

0

Eu recebo muitos erros quando executo sudo apt update no Ubuntu 16.04 '

Err:26 http://ppa.launchpad.net/fossfreedom/packagefixes/ubuntu xenial/main Sources
  404  Not Found
Err:49 http://ppa.launchpad.net/medigeek/ppa/ubuntu xenial/main Sources
  404  Not Found
Err:10 http://extras.ubuntu.com/ubuntu xenial/main Sources
  404  Not Found [IP: 91.189.92.152 80]
Fetched 5,770 kB in 2min 44s (35.1 kB/s)
Reading package lists... Done
W: Target Packages (partner/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:19 and /etc/apt/sources.list.d/xenial-partner.list:4
W: Target Packages (partner/binary-i386/Packages) is configured multiple times in /etc/apt/sources.list:19 and /etc/apt/sources.list.d/xenial-partner.list:4
W: Target Packages (partner/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:19 and /etc/apt/sources.list.d/xenial-partner.list:4
W: Target Translations (partner/i18n/Translation-en_IN) is configured multiple times in /etc/apt/sources.list:19 and /etc/apt/sources.list.d/xenial-partner.list:4
W: Target Translations (partner/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:19 and /etc/apt/sources.list.d/xenial-partner.list:4
W: Target DEP-11 (partner/dep11/Components-amd64.yml) is configured multiple times in /etc/apt/sources.list:19 and /etc/apt/sources.list.d/xenial-partner.list:4
W: Target DEP-11-icons (partner/dep11/icons-64x64.tar) is configured multiple times in /etc/apt/sources.list:19 and /etc/apt/sources.list.d/xenial-partner.list:4
W: Target Sources (main/source/Sources) is configured multiple times in /etc/apt/sources.list.d/fossfreedom-ubuntu-packagefixes-xenial.list:2 and /etc/apt/sources.list.d/fossfreedom-ubuntu-packagefixes-xenial.list:3
W: Target Sources (main/source/Sources) is configured multiple times in /etc/apt/sources.list.d/libreoffice-ubuntu-ppa-xenial.list:2 and /etc/apt/sources.list.d/libreoffice-ubuntu-ppa-xenial.list:3
W: Target Sources (main/source/Sources) is configured multiple times in /etc/apt/sources.list.d/libreoffice-ubuntu-ppa-xenial.list:2 and /etc/apt/sources.list.d/libreoffice-ubuntu-ppa-xenial.list:4
W: The repository 'htt://extras.ubuntu.com/ubuntu xenial 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.
W: The repository 'htt://ppa.launchpad.net/fossfreedom/packagefixes/ubuntu xenial 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.
W: The repository 'htt://ppa.launchpad.net/medigeek/ppa/ubuntu xenial 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://extras.ubuntu.com/ubuntu/dists/xenial/main/source/Sources  404  Not Found [IP: 91.189.92.152 80]
E: Failed to fetch http://ppa.launchpad.net/fossfreedom/packagefixes/ubuntu/dists/xenial/main/source/Sources  404  Not Found
E: Failed to fetch http://ppa.launchpad.net/medigeek/ppa/ubuntu/dists/xenial/main/source/Sources  404  Not Found
E: Some index files failed to download. They have been ignored, or old ones used instead.
W: Target Packages (partner/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:19 and /etc/apt/sources.list.d/xenial-partner.list:4
W: Target Packages (partner/binary-i386/Packages) is configured multiple times in /etc/apt/sources.list:19 and /etc/apt/sources.list.d/xenial-partner.list:4
W: Target Packages (partner/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:19 and /etc/apt/sources.list.d/xenial-partner.list:4
W: Target Translations (partner/i18n/Translation-en_IN) is configured multiple times in /etc/apt/sources.list:19 and /etc/apt/sources.list.d/xenial-partner.list:4
W: Target Translations (partner/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:19 and /etc/apt/sources.list.d/xenial-partner.list:4
W: Target DEP-11 (partner/dep11/Components-amd64.yml) is configured multiple times in /etc/apt/sources.list:19 and /etc/apt/sources.list.d/xenial-partner.list:4
W: Target DEP-11-icons (partner/dep11/icons-64x64.tar) is configured multiple times in /etc/apt/sources.list:19 and /etc/apt/sources.list.d/xenial-partner.list:4
W: Target Sources (main/source/Sources) is configured multiple times in /etc/apt/sources.list.d/fossfreedom-ubuntu-packagefixes-xenial.list:2 and /etc/apt/sources.list.d/fossfreedom-ubuntu-packagefixes-xenial.list:3
W: Target Sources (main/source/Sources) is configured multiple times in /etc/apt/sources.list.d/libreoffice-ubuntu-ppa-xenial.list:2 and /etc/apt/sources.list.d/libreoffice-ubuntu-ppa-xenial.list:3
W: Target Sources (main/source/Sources) is configured multiple times in /etc/apt/sources.list.d/libreoffice-ubuntu-ppa-xenial.list:2 and /etc/apt/sources.list.d/libreoffice-ubuntu-ppa-xenial.list:4

Como posso corrigir isso?

    
por Naman Jain 26.07.2017 / 08:05

1 resposta

2

Duas questões aqui:

  1. Várias configurações, corrija:

    1. /etc/apt/sources.list.d/libreoffice-ubuntu-ppa-xenial.list

      • Abra o arquivo sudo nano /etc/apt/sources.list.d/libreoffice-ubuntu-ppa-xenial.list
      • Coloque um # no início da linha 2 e 3
    2. /etc/apt/sources.list.d/fossfreedom-ubuntu-packagefixes-xenial.list

      • Abra o arquivo sudo nano /etc/apt/sources.list.d/fossfreedom-ubuntu-packagefixes-xenial.list
      • Coloque # no início da linha 2 ou 3
    3. /etc/apt/sources.list.d/xenial-partner.list

      • excluir sudo rm -f /etc/apt/sources.list.d/xenial-partner.list
      • Ou coloque um # no início da linha 19 em /etc/apt/sources.list
    4. Agora execute a atualização: sudo apt update

  2. Verifique se a conexão com a internet está correta.

por George Udosen 26.07.2017 / 08:14