Xubuntu parou de atualizar e não consegue conexão com servidor(s)

Iniciado por marcos90, 14 de Julho de 2017, 13:11

tópico anterior - próximo tópico

marcos90

Distributor ID:   Ubuntu
Description:   Ubuntu 16.04.2 LTS
Release:   16.04
Codename:   xenial

Estou sem conseguir atualizar o sistema já faz uns 4 dias . De início pensei que fosse algum problema nos servidores Ubuntu , mas mesmo mudando o servidor para Main ou USA , não consegue conectar e dá uma mensagem dizendo  "Failed to download repository information Check you Internet connection ."  .  Já mudei DNS da conexão e nada . 

ATUALIZANDO : O engraçado é que tem vezes que quando aparece a mensagem de que não dá para atualizar o repositorio e clico no botão OK , logo em seguida aparece uma mensagem com a atualização disponível de algum programa ou security update , e consigo fazer o processo normalmente . Que estranho isso !


cat /etc/apt/sources.list
# deb cdrom:[Xubuntu 14.04.4 LTS _Trusty Tahr_ - Release i386 (20160217.1)]/ trusty main multiverse restricted universe
# deb cdrom:[Ubuntu 14.04.4 LTS _Trusty Tahr_ - Release i386 (20160217.1)]/ trusty main restricted

# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
deb http://archive.ubuntu.com/ubuntu xenial main restricted
deb-src http://archive.ubuntu.com/ubuntu xenial main restricted

## Major bug fix updates produced after the final release of the
## distribution.
deb http://archive.ubuntu.com/ubuntu xenial-updates main restricted
deb-src http://archive.ubuntu.com/ubuntu xenial-updates main restricted

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team. Also, please note that software in universe WILL NOT receive any
## review or updates from the Ubuntu security team.
deb http://archive.ubuntu.com/ubuntu xenial universe
deb-src http://archive.ubuntu.com/ubuntu xenial universe
deb http://archive.ubuntu.com/ubuntu xenial-updates universe
deb-src http://archive.ubuntu.com/ubuntu xenial-updates universe

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.
deb http://archive.ubuntu.com/ubuntu xenial multiverse
deb-src http://archive.ubuntu.com/ubuntu xenial multiverse
deb http://archive.ubuntu.com/ubuntu xenial-updates multiverse
deb-src http://archive.ubuntu.com/ubuntu xenial-updates multiverse

## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
deb http://archive.ubuntu.com/ubuntu xenial-backports main restricted universe multiverse
deb-src http://archive.ubuntu.com/ubuntu xenial-backports main restricted universe multiverse

deb http://archive.ubuntu.com/ubuntu xenial-security main restricted
deb-src http://archive.ubuntu.com/ubuntu xenial-security main restricted
deb http://archive.ubuntu.com/ubuntu xenial-security universe
deb-src http://archive.ubuntu.com/ubuntu xenial-security universe
deb http://archive.ubuntu.com/ubuntu xenial-security multiverse
deb-src http://archive.ubuntu.com/ubuntu xenial-security multiverse

## Uncomment the following two lines to add software from Canonical's
## 'partner' repository.
## This software is not part of Ubuntu, but is offered by Canonical and the
## respective vendors as a service to Ubuntu users.
# deb http://archive.canonical.com/ubuntu trusty partner
# deb-src http://archive.canonical.com/ubuntu trusty partner


# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.

## Major bug fix updates produced after the final release of the
## distribution.

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team. Also, please note that software in universe WILL NOT receive any
## review or updates from the Ubuntu security team.

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.

## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
## Uncomment the following two lines to add software from Canonical's
## 'partner' repository.
## This software is not part of Ubuntu, but is offered by Canonical and the
## respective vendors as a service to Ubuntu users.
# deb http://archive.canonical.com/ubuntu trusty partner
# deb-src http://archive.canonical.com/ubuntu trusty partner
# deb http://archive.getdeb.net/ubuntu xenial-getdeb apps

egrep -v '^#|^ *$' /etc/apt/sources.list /etc/apt/sources.list.d/*
/etc/apt/sources.list:deb http://archive.ubuntu.com/ubuntu xenial main restricted
/etc/apt/sources.list:deb-src http://archive.ubuntu.com/ubuntu xenial main restricted
/etc/apt/sources.list:deb http://archive.ubuntu.com/ubuntu xenial-updates main restricted
/etc/apt/sources.list:deb-src http://archive.ubuntu.com/ubuntu xenial-updates main restricted
/etc/apt/sources.list:deb http://archive.ubuntu.com/ubuntu xenial universe
/etc/apt/sources.list:deb-src http://archive.ubuntu.com/ubuntu xenial universe
/etc/apt/sources.list:deb http://archive.ubuntu.com/ubuntu xenial-updates universe
/etc/apt/sources.list:deb-src http://archive.ubuntu.com/ubuntu xenial-updates universe
/etc/apt/sources.list:deb http://archive.ubuntu.com/ubuntu xenial multiverse
/etc/apt/sources.list:deb-src http://archive.ubuntu.com/ubuntu xenial multiverse
/etc/apt/sources.list:deb http://archive.ubuntu.com/ubuntu xenial-updates multiverse
/etc/apt/sources.list:deb-src http://archive.ubuntu.com/ubuntu xenial-updates multiverse
/etc/apt/sources.list:deb http://archive.ubuntu.com/ubuntu xenial-backports main restricted universe multiverse
/etc/apt/sources.list:deb-src http://archive.ubuntu.com/ubuntu xenial-backports main restricted universe multiverse
/etc/apt/sources.list:deb http://archive.ubuntu.com/ubuntu xenial-security main restricted
/etc/apt/sources.list:deb-src http://archive.ubuntu.com/ubuntu xenial-security main restricted
/etc/apt/sources.list:deb http://archive.ubuntu.com/ubuntu xenial-security universe
/etc/apt/sources.list:deb-src http://archive.ubuntu.com/ubuntu xenial-security universe
/etc/apt/sources.list:deb http://archive.ubuntu.com/ubuntu xenial-security multiverse
/etc/apt/sources.list:deb-src http://archive.ubuntu.com/ubuntu xenial-security multiverse
/etc/apt/sources.list.d/blueman-ppa-trusty.list.distUpgrade-bak:deb http://ppa.launchpad.net/blueman/ppa/ubuntu trusty main
/etc/apt/sources.list.d/getdeb.list:deb http://archive.getdeb.net/ubuntu xenial-getdeb apps
/etc/apt/sources.list.d/getdeb.list:deb http://archive.getdeb.net/ubuntu xenial-getdeb apps
/etc/apt/sources.list.d/getdeb.list.save:deb http://archive.getdeb.net/ubuntu xenial-getdeb apps
/etc/apt/sources.list.d/getdeb.list.save:deb http://archive.getdeb.net/ubuntu xenial-getdeb apps
/etc/apt/sources.list.d/inameiname-stable-trusty.list-bak:deb http://ppa.launchpad.net/inameiname/stable/ubuntu xenial main # disabled on upgrade to xenial
/etc/apt/sources.list.d/inameiname-stable-trusty.list.distUpgrade-bak:deb http://ppa.launchpad.net/inameiname/stable/ubuntu trusty main
/etc/apt/sources.list.d/opera-stable.list.save:deb https://deb.opera.com/opera-stable/ stable non-free #Opera Browser (final releases)
/etc/apt/sources.list.d/otto-kesselgulasch-ubuntu-gimp-xenial.list:deb http://ppa.launchpad.net/otto-kesselgulasch/gimp/ubuntu xenial main
/etc/apt/sources.list.d/otto-kesselgulasch-ubuntu-gimp-xenial.list.save:deb http://ppa.launchpad.net/otto-kesselgulasch/gimp/ubuntu xenial main
/etc/apt/sources.list.d/rebuntu16-ubuntu-avidemux_unofficial-xenial.list:deb http://ppa.launchpad.net/rebuntu16/avidemux+unofficial/ubuntu xenial main
/etc/apt/sources.list.d/rebuntu16-ubuntu-avidemux_unofficial-xenial.list.save:deb http://ppa.launchpad.net/rebuntu16/avidemux+unofficial/ubuntu xenial main
/etc/apt/sources.list.d/webupd8team-java-trusty.list.distUpgrade-bak:deb http://ppa.launchpad.net/webupd8team/java/ubuntu trusty main


galactus

Olá marcos90, quero agradecer a forma que você postou o problema!  Quem dera todos fizessem como você! 


Geralmente este problema é causado por um repositório problemático, tudo indica ser um dos seus PPAs! Já que você mesmo já explica que mudou a lista de servidores oficiais do Ubuntu e não resolveu!

Vamos tentar descobrir qual dos PPAs pode estar causando o problema, execute novamente o apt-get update e um apt-get dist-upgrade no terminal, copie e cole aqui as mensagens completas! Geralmente ele indica qual repositórios deu erro!

No aguardo!
BigLinux no Notebook  / Várias Distros Virtualizadas no PC.

marcos90

#2
ATUALIZADO > Agora parece que o servidor voltou ao normal !  Está atualizando sem aquele problema relatado no início .

apt-get update
apt-get update
Hit:1 http://archive.ubuntu.com/ubuntu xenial InRelease
Hit:2 http://ppa.launchpad.net/otto-kesselgulasch/gimp/ubuntu xenial InRelease
Get:3 http://archive.ubuntu.com/ubuntu xenial-updates InRelease [102 kB]       
Hit:4 http://ppa.launchpad.net/rebuntu16/avidemux+unofficial/ubuntu xenial InRelease
Get:5 http://archive.ubuntu.com/ubuntu xenial-security InRelease [102 kB]     
Get:6 http://archive.ubuntu.com/ubuntu xenial-updates/main i386 DEP-11 Metadata [304 kB]
Get:7 http://archive.ubuntu.com/ubuntu xenial-updates/main DEP-11 64x64 Icons [214 kB]
Get:8 http://archive.ubuntu.com/ubuntu xenial-updates/universe i386 DEP-11 Metadata [163 kB]
Get:9 http://archive.ubuntu.com/ubuntu xenial-updates/universe DEP-11 64x64 Icons [212 kB]
Get:10 http://archive.ubuntu.com/ubuntu xenial-updates/multiverse i386 DEP-11 Metadata [7.060 B]
Get:11 http://archive.ubuntu.com/ubuntu xenial-security/main Sources [79,5 kB]
Get:12 http://archive.ubuntu.com/ubuntu xenial-security/main i386 Packages [287 kB]
Get:13 http://archive.ubuntu.com/ubuntu xenial-security/main i386 DEP-11 Metadata [59,3 kB]
Get:14 http://archive.ubuntu.com/ubuntu xenial-security/main DEP-11 64x64 Icons [49,6 kB]
Get:15 http://archive.ubuntu.com/ubuntu xenial-security/universe i386 Packages [129 kB]
Get:16 http://archive.ubuntu.com/ubuntu xenial-security/universe i386 DEP-11 Metadata [40,7 kB]
Get:17 http://archive.ubuntu.com/ubuntu xenial-security/universe DEP-11 64x64 Icons [56,1 kB]
Get:18 http://screenshots.getdeb.net xenial-getdeb InRelease [9.604 B]         
Get:19 http://screenshots.getdeb.net xenial-getdeb/apps i386 Packages [67,3 kB]
Fetched 1.883 kB in 7s (262 kB/s)                                             
Reading package lists... Done
N: Ignoring file 'webupd8team-java-trusty.list-bak' in directory '/etc/apt/sources.list.d/' as it has an invalid filename extension
N: Ignoring file 'inameiname-stable-trusty.list-bak' in directory '/etc/apt/sources.list.d/' as it has an invalid filename extension
N: Ignoring file 'inameiname-stable-trusty.list.distUpgrade-bak' in directory '/etc/apt/sources.list.d/' as it has an invalid filename extension
N: Ignoring file 'inameiname-stable-trusty.list.save-bak' in directory '/etc/apt/sources.list.d/' as it has an invalid filename extension
N: Ignoring file 'webupd8team-java-trusty.list.distUpgrade-bak' in directory '/etc/apt/sources.list.d/' as it has an invalid filename extension
N: Ignoring file 'blueman-ppa-trusty.list.save-bak' in directory '/etc/apt/sources.list.d/' as it has an invalid filename extension
N: Ignoring file 'intellinuxgraphics.list.save-bak' in directory '/etc/apt/sources.list.d/' as it has an invalid filename extension
N: Ignoring file 'intellinuxgraphics.list-bak' in directory '/etc/apt/sources.list.d/' as it has an invalid filename extension
N: Ignoring file 'blueman-ppa-trusty.list.distUpgrade-bak' in directory '/etc/apt/sources.list.d/' as it has an invalid filename extension
N: Ignoring file 'blueman-ppa-trusty.list-bak' in directory '/etc/apt/sources.list.d/' as it has an invalid filename extension
N: Ignoring file 'webupd8team-java-trusty.list.save-bak' in directory '/etc/apt/sources.list.d/' as it has an invalid filename extension
N: Ignoring file 'intellinuxgraphics.list.distUpgrade-bak' in directory '/etc/apt/sources.list.d/' as it has an invalid filename extension
W: Target Packages (apps/binary-i386/Packages) is configured multiple times in /etc/apt/sources.list:83 and /etc/apt/sources.list.d/getdeb.list:1
W: Target Packages (apps/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:83 and /etc/apt/sources.list.d/getdeb.list:1
W: Target Translations (apps/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list:83 and /etc/apt/sources.list.d/getdeb.list:1
W: Target Translations (apps/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:83 and /etc/apt/sources.list.d/getdeb.list:1
W: Target DEP-11 (apps/dep11/Components-i386.yml) is configured multiple times in /etc/apt/sources.list:83 and /etc/apt/sources.list.d/getdeb.list:1
W: Target DEP-11-icons (apps/dep11/icons-64x64.tar) is configured multiple times in /etc/apt/sources.list:83 and /etc/apt/sources.list.d/getdeb.list:1
W: Target Packages (apps/binary-i386/Packages) is configured multiple times in /etc/apt/sources.list:83 and /etc/apt/sources.list.d/getdeb.list:2
W: Target Packages (apps/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:83 and /etc/apt/sources.list.d/getdeb.list:2
W: Target Translations (apps/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list:83 and /etc/apt/sources.list.d/getdeb.list:2
W: Target Translations (apps/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:83 and /etc/apt/sources.list.d/getdeb.list:2
W: Target DEP-11 (apps/dep11/Components-i386.yml) is configured multiple times in /etc/apt/sources.list:83 and /etc/apt/sources.list.d/getdeb.list:2
W: Target DEP-11-icons (apps/dep11/icons-64x64.tar) is configured multiple times in /etc/apt/sources.list:83 and /etc/apt/sources.list.d/getdeb.list:2
W: Target Packages (apps/binary-i386/Packages) is configured multiple times in /etc/apt/sources.list:83 and /etc/apt/sources.list.d/getdeb.list:1
W: Target Packages (apps/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:83 and /etc/apt/sources.list.d/getdeb.list:1
W: Target Translations (apps/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list:83 and /etc/apt/sources.list.d/getdeb.list:1
W: Target Translations (apps/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:83 and /etc/apt/sources.list.d/getdeb.list:1
W: Target DEP-11 (apps/dep11/Components-i386.yml) is configured multiple times in /etc/apt/sources.list:83 and /etc/apt/sources.list.d/getdeb.list:1
W: Target DEP-11-icons (apps/dep11/icons-64x64.tar) is configured multiple times in /etc/apt/sources.list:83 and /etc/apt/sources.list.d/getdeb.list:1
W: Target Packages (apps/binary-i386/Packages) is configured multiple times in /etc/apt/sources.list:83 and /etc/apt/sources.list.d/getdeb.list:2
W: Target Packages (apps/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:83 and /etc/apt/sources.list.d/getdeb.list:2
W: Target Translations (apps/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list:83 and /etc/apt/sources.list.d/getdeb.list:2
W: Target Translations (apps/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:83 and /etc/apt/sources.list.d/getdeb.list:2
W: Target DEP-11 (apps/dep11/Components-i386.yml) is configured multiple times in /etc/apt/sources.list:83 and /etc/apt/sources.list.d/getdeb.list:2
W: Target DEP-11-icons (apps/dep11/icons-64x64.tar) is configured multiple times in /etc/apt/sources.list:83 and /etc/apt/sources.list.d/getdeb.list:2

apt-get dist-upgrade

Reading package lists... Done
Building dependency tree       
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
N: Ignoring file 'webupd8team-java-trusty.list-bak' in directory '/etc/apt/sources.list.d/' as it has an invalid filename extension
N: Ignoring file 'inameiname-stable-trusty.list-bak' in directory '/etc/apt/sources.list.d/' as it has an invalid filename extension
N: Ignoring file 'inameiname-stable-trusty.list.distUpgrade-bak' in directory '/etc/apt/sources.list.d/' as it has an invalid filename extension
N: Ignoring file 'inameiname-stable-trusty.list.save-bak' in directory '/etc/apt/sources.list.d/' as it has an invalid filename extension
N: Ignoring file 'webupd8team-java-trusty.list.distUpgrade-bak' in directory '/etc/apt/sources.list.d/' as it has an invalid filename extension
N: Ignoring file 'blueman-ppa-trusty.list.save-bak' in directory '/etc/apt/sources.list.d/' as it has an invalid filename extension
N: Ignoring file 'intellinuxgraphics.list.save-bak' in directory '/etc/apt/sources.list.d/' as it has an invalid filename extension
N: Ignoring file 'intellinuxgraphics.list-bak' in directory '/etc/apt/sources.list.d/' as it has an invalid filename extension
N: Ignoring file 'blueman-ppa-trusty.list.distUpgrade-bak' in directory '/etc/apt/sources.list.d/' as it has an invalid filename extension
N: Ignoring file 'blueman-ppa-trusty.list-bak' in directory '/etc/apt/sources.list.d/' as it has an invalid filename extension
N: Ignoring file 'webupd8team-java-trusty.list.save-bak' in directory '/etc/apt/sources.list.d/' as it has an invalid filename extension
N: Ignoring file 'intellinuxgraphics.list.distUpgrade-bak' in directory '/etc/apt/sources.list.d/' as it has an invalid filename extension

galactus

marcos90, pode até ter voltado a atualizar, mas está longe da normalidade!

Leia você mesmo, tá cheio de erros!

Os repositórios ou PPAs: webupd8team-java, inameiname-stable, blueman-ppa e intellinuxgraphics
, estão todos sendo  ignorados por estarem com suas extensões incorretas!

Se não estiver enganado, você vem atualizando o seu Ubuntu e não fazendo uma instalação limpa. Então durante o processo de atualização ele geralmente desabilita os PPAs ou repositórios não oficiais, mudando sua extensão. 

O problema é que ele não aceita as extensões -bak e sim .bak.


Outro problema é o repositório GetDeb está repetido várias vezes na sua lista! E com certeza está configurado errado, para cada versão do Ubuntu existe uma linha diferente para o repositório, está lá nas instruções do site do Getdeb!


Para solucionar estes problemas você deve entrar na configuração dos repositórios , apagar todas essas entradas problemáticas e procurar os respectivos PPAs ou sites de repositórios não oficiais e adicioná-los novamente da maneira correta!

Sabe mexer nas configurações das fontes dos pacotes (repositórios) pelo Software Center ou pelo Synaptic?  Se souber tá fácil! Se não souber, não se preocupe, não é difícil, procure como alterar sua lista de repositório ou fonte de pacotes no Software Center ou no Synpatic no tio Google! Já que eu não sei qual o método que você utiliza aí.

No aguardo!




BigLinux no Notebook  / Várias Distros Virtualizadas no PC.

marcos90

Eu deixei assim mesmo . Porém , ontem apareceu uma mensagem que nunca tinha visto antes .  Dizia algo como , " Seu sistema não atualizou todos os drivers devido a problemas de compatibilidade que pode ser de versões diferentes , etc . Recomenda se atualizar o maior número possível de drivers  que puder"  .  O estranho é que o sistema está funcionando normalmente , sem erros , sem travamentos e muito rápido .