Erro no apt-get [RESOLVIDO]

1. Erro no apt-get [RESOLVIDO]

Lucas Rafael Barbosa Lopes
lucas7844

(usa Ubuntu)

Enviado em 28/12/2016 - 17:58h

Não consigo instalar programas e nem mesmo dar o apt-get update sem mensagens de erro

sudo apt-get install gksu
[sudo] password for lucasrafael:
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
libgksu2-0
The following NEW packages will be installed:
gksu libgksu2-0
0 upgraded, 2 newly installed, 0 to remove and 14 not upgraded.
Need to get 123 kB of archives.
After this operation, 877 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
Err:1 http://ca.archive.ubuntu.com/ubuntu xenial/universe amd64 libgksu2-0 amd64 2.0.13~pre1-6ubuntu8
Temporary failure resolving 'ca.archive.ubuntu.com'
Err:2 http://ca.archive.ubuntu.com/ubuntu xenial/universe amd64 gksu amd64 2.0.2-9ubuntu1
Temporary failure resolving 'ca.archive.ubuntu.com'
E: Failed to fetch http://ca.archive.ubuntu.com/ubuntu/pool/universe/libg/libgksu/libgksu2-0_2.0.13~pre1-6ubuntu8_amd64.deb Temporary failure resolving 'ca.archive.ubuntu.com'

E: Failed to fetch http://ca.archive.ubuntu.com/ubuntu/pool/universe/g/gksu/gksu_2.0.2-9ubuntu1_amd64.deb Temporary failure resolving 'ca.archive.ubuntu.com'

E: Unable to fetch some archives, try running apt-get update or apt-get --fix-missing.
lucasrafael@Lucas-Rafael:~$ sudo apt-get install gtk2-engines-pixbuf


Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
gtk2-engines-pixbuf
0 upgraded, 1 newly installed, 0 to remove and 14 not upgraded.
Need to get 19.0 kB of archives.
After this operation, 115 kB of additional disk space will be used.
Err:1 http://ca.archive.ubuntu.com/ubuntu xenial/universe amd64 gtk2-engines-pixbuf amd64 2.24.30-1ubuntu1
Temporary failure resolving 'ca.archive.ubuntu.com'
E: Failed to fetch http://ca.archive.ubuntu.com/ubuntu/pool/universe/g/gtk+2.0/gtk2-engines-pixbuf_2.24.30-1ubuntu1_amd64.deb Temporary failure resolving 'ca.archive.ubuntu.com'

E: Unable to fetch some archives, try running apt-get update or apt-get --fix-missing.
lucasrafael@Lucas-Rafael:~$



lucasrafael@Lucas-Rafael:~$ sudo apt-get install gparted
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
libgtkmm-2.4-1v5 libparted-fs-resize0
Suggested packages:
xfsprogs reiserfsprogs reiser4progs jfsutils kpartx dmraid dmsetup gpart
libparted-dev
The following NEW packages will be installed:
gparted libgtkmm-2.4-1v5 libparted-fs-resize0
0 upgraded, 3 newly installed, 0 to remove and 14 not upgraded.
Need to get 1,129 kB of archives.
After this operation, 6,973 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
Err:1 http://ca.archive.ubuntu.com/ubuntu xenial/main amd64 libgtkmm-2.4-1v5 amd64 1:2.24.4-2
Temporary failure resolving 'ca.archive.ubuntu.com'
Err:2 http://ca.archive.ubuntu.com/ubuntu xenial/main amd64 libparted-fs-resize0 amd64 3.2-15
Temporary failure resolving 'ca.archive.ubuntu.com'
Err:3 http://ca.archive.ubuntu.com/ubuntu xenial/main amd64 gparted amd64 0.25.0-1
Temporary failure resolving 'ca.archive.ubuntu.com'
E: Failed to fetch http://ca.archive.ubuntu.com/ubuntu/pool/main/g/gtkmm2.4/libgtkmm-2.4-1v5_2.24.4-2_amd64.deb Temporary failure resolving 'ca.archive.ubuntu.com'

E: Failed to fetch http://ca.archive.ubuntu.com/ubuntu/pool/main/p/parted/libparted-fs-resize0_3.2-15_amd64.deb Temporary failure resolving 'ca.archive.ubuntu.com'

E: Failed to fetch http://ca.archive.ubuntu.com/ubuntu/pool/main/g/gparted/gparted_0.25.0-1_amd64.deb Temporary failure resolving 'ca.archive.ubuntu.com'

E: Unable to fetch some archives, try running apt-get update or apt-get --fix-missing.




  


2. MELHOR RESPOSTA

Perfil removido
removido

(usa Nenhuma)

Enviado em 28/12/2016 - 18:50h

Mude a origem dos repositórios. Aparentemente http://ubuntu.laps.ufpa.br/ubuntu está temporariamente fora do ar.

Por exemplo: http://ubuntu.c3sl.ufpr.br/ubuntu está ok aqui.

3. Mudei o repositorio nas configurações para um brasileiro, mas mesmo assim o erro continuas

Lucas Rafael Barbosa Lopes
lucas7844

(usa Ubuntu)

Enviado em 28/12/2016 - 18:16h


sudo apt-get update
[sudo] password for lucasrafael:
Ign:1 cdrom://Ubuntu 16.04.1 LTS _Xenial Xerus_ - Release amd64 (20160719) xenial InRelease
Hit:2 cdrom://Ubuntu 16.04.1 LTS _Xenial Xerus_ - Release amd64 (20160719) xenial Release
Err:4 http://archive.canonical.com/ubuntu xenial InRelease
Temporary failure resolving 'archive.canonical.com'
Err:5 http://ubuntu.laps.ufpa.br/ubuntu xenial InRelease
Temporary failure resolving 'ubuntu.laps.ufpa.br'
Err:6 http://ubuntu.laps.ufpa.br/ubuntu xenial-updates InRelease
Temporary failure resolving 'ubuntu.laps.ufpa.br'
Err:7 http://ubuntu.laps.ufpa.br/ubuntu xenial-backports InRelease
Temporary failure resolving 'ubuntu.laps.ufpa.br'
Err:8 http://ubuntu.laps.ufpa.br/ubuntu xenial-security InRelease
Temporary failure resolving 'ubuntu.laps.ufpa.br'
Reading package lists... Done
W: Failed to fetch http://ubuntu.laps.ufpa.br/ubuntu/dists/xenial/InRelease Temporary failure resolving 'ubuntu.laps.ufpa.br'
W: Failed to fetch http://ubuntu.laps.ufpa.br/ubuntu/dists/xenial-updates/InRelease Temporary failure resolving 'ubuntu.laps.ufpa.br'
W: Failed to fetch http://ubuntu.laps.ufpa.br/ubuntu/dists/xenial-backports/InRelease Temporary failure resolving 'ubuntu.laps.ufpa.br'
W: Failed to fetch http://archive.canonical.com/ubuntu/dists/xenial/InRelease Temporary failure resolving 'archive.canonical.com'
W: Failed to fetch http://ubuntu.laps.ufpa.br/ubuntu/dists/xenial-security/InRelease Temporary failure resolving 'ubuntu.laps.ufpa.br'
W: Some index files failed to download. They have been ignored, or old ones used instead.




4. Re: Erro no apt-get [RESOLVIDO]

Clodoaldo Santos
clodoaldops

(usa Linux Mint)

Enviado em 28/12/2016 - 18:32h

1- configurações -sistema >> sistema >> programas-atualizações >> outros-programas >> deixe marcado apenas parceiros da canonical >> feche aplicativo
2- atualize novamente
sudo apt-get update
sudo apt-get upgrade



5. Dito e feito, vlw

Lucas Rafael Barbosa Lopes
lucas7844

(usa Ubuntu)

Enviado em 29/12/2016 - 02:05h

PauloHAC escreveu:

Mude a origem dos repositórios. Aparentemente http://ubuntu.laps.ufpa.br/ubuntu está temporariamente fora do ar.

Por exemplo: http://ubuntu.c3sl.ufpr.br/ubuntu está ok aqui.



sudo apt-get update
Hit:1 http://archive.canonical.com/ubuntu xenial InRelease
Get:2 http://ubuntu.c3sl.ufpr.br/ubuntu xenial InRelease [247 kB]
Get:3 http://ubuntu.c3sl.ufpr.br/ubuntu xenial-updates InRelease [102 kB]
Get:4 http://ubuntu.c3sl.ufpr.br/ubuntu xenial-backports InRelease [102 kB]
Get:5 http://ubuntu.c3sl.ufpr.br/ubuntu xenial-security InRelease [102 kB]
Get:6 http://ubuntu.c3sl.ufpr.br/ubuntu xenial/main amd64 Packages [1,201 kB]
Get:7 http://ubuntu.c3sl.ufpr.br/ubuntu xenial/main i386 Packages [1,196 kB]
Get:8 http://ubuntu.c3sl.ufpr.br/ubuntu xenial/main Translation-en_CA [420 kB]
Get:9 http://ubuntu.c3sl.ufpr.br/ubuntu xenial/main Translation-en [568 kB]
Get:10 http://ubuntu.c3sl.ufpr.br/ubuntu xenial/main amd64 DEP-11 Metadata [733 kB]
Get:11 http://ubuntu.c3sl.ufpr.br/ubuntu xenial/main DEP-11 64x64 Icons [409 kB]
Get:12 http://ubuntu.c3sl.ufpr.br/ubuntu xenial/restricted amd64 Packages [8,344 B]
Get:13 http://ubuntu.c3sl.ufpr.br/ubuntu xenial/restricted i386 Packages [8,684 B]
Get:14 http://ubuntu.c3sl.ufpr.br/ubuntu xenial/restricted Translation-en [2,908 B]
Get:15 http://ubuntu.c3sl.ufpr.br/ubuntu xenial/restricted amd64 DEP-11 Metadata [186 B]
Get:16 http://ubuntu.c3sl.ufpr.br/ubuntu xenial/universe amd64 Packages [7,532 kB]
Get:17 http://ubuntu.c3sl.ufpr.br/ubuntu xenial/universe i386 Packages [7,512 kB]
Get:18 http://ubuntu.c3sl.ufpr.br/ubuntu xenial/universe Translation-en_CA [3,039 kB]
Get:19 http://ubuntu.c3sl.ufpr.br/ubuntu xenial/universe Translation-en [4,354 kB]
Get:20 http://ubuntu.c3sl.ufpr.br/ubuntu xenial/universe amd64 DEP-11 Metadata [3,410 kB]
Get:21 http://ubuntu.c3sl.ufpr.br/ubuntu xenial/universe DEP-11 64x64 Icons [7,448 kB]
Get:22 http://ubuntu.c3sl.ufpr.br/ubuntu xenial/multiverse amd64 Packages [144 kB]
Get:23 http://ubuntu.c3sl.ufpr.br/ubuntu xenial/multiverse i386 Packages [140 kB]
Get:24 http://ubuntu.c3sl.ufpr.br/ubuntu xenial/multiverse Translation-en [106 kB]
Get:25 http://ubuntu.c3sl.ufpr.br/ubuntu xenial/multiverse amd64 DEP-11 Metadata [63.8 kB]
Get:26 http://ubuntu.c3sl.ufpr.br/ubuntu xenial/multiverse DEP-11 64x64 Icons [230 kB]
Get:27 http://ubuntu.c3sl.ufpr.br/ubuntu xenial-updates/main amd64 Packages [443 kB]
Get:28 http://ubuntu.c3sl.ufpr.br/ubuntu xenial-updates/main i386 Packages [436 kB]
Get:29 http://ubuntu.c3sl.ufpr.br/ubuntu xenial-updates/main Translation-en [173 kB]
Get:30 http://ubuntu.c3sl.ufpr.br/ubuntu xenial-updates/main amd64 DEP-11 Metadata [302 kB]
Get:31 http://ubuntu.c3sl.ufpr.br/ubuntu xenial-updates/main DEP-11 64x64 Icons [183 kB]
Get:32 http://ubuntu.c3sl.ufpr.br/ubuntu xenial-updates/restricted amd64 Packages [6,576 B]
Get:33 http://ubuntu.c3sl.ufpr.br/ubuntu xenial-updates/restricted i386 Packages [6,528 B]
Get:34 http://ubuntu.c3sl.ufpr.br/ubuntu xenial-updates/restricted Translation-en [2,016 B]
Get:35 http://ubuntu.c3sl.ufpr.br/ubuntu xenial-updates/restricted amd64 DEP-11 Metadata [157 B]
Get:36 http://ubuntu.c3sl.ufpr.br/ubuntu xenial-updates/universe amd64 Packages [370 kB]
Get:37 http://ubuntu.c3sl.ufpr.br/ubuntu xenial-updates/universe i386 Packages [367 kB]
Get:38 http://ubuntu.c3sl.ufpr.br/ubuntu xenial-updates/universe Translation-en [136 kB]
Get:39 http://ubuntu.c3sl.ufpr.br/ubuntu xenial-updates/universe amd64 DEP-11 Metadata [121 kB]
Get:40 http://ubuntu.c3sl.ufpr.br/ubuntu xenial-updates/universe DEP-11 64x64 Icons [140 kB]
Get:41 http://ubuntu.c3sl.ufpr.br/ubuntu xenial-updates/multiverse amd64 Packages [7,376 B]
Get:42 http://ubuntu.c3sl.ufpr.br/ubuntu xenial-updates/multiverse i386 Packages [6,172 B]
Get:43 http://ubuntu.c3sl.ufpr.br/ubuntu xenial-updates/multiverse Translation-en [3,080 B]
Get:44 http://ubuntu.c3sl.ufpr.br/ubuntu xenial-updates/multiverse amd64 DEP-11 Metadata [2,516 B]
Get:45 http://ubuntu.c3sl.ufpr.br/ubuntu xenial-updates/multiverse DEP-11 64x64 Icons [7,765 B]
Get:46 http://ubuntu.c3sl.ufpr.br/ubuntu xenial-backports/main amd64 Packages [4,404 B]
Get:47 http://ubuntu.c3sl.ufpr.br/ubuntu xenial-backports/main i386 Packages [4,404 B]
Get:48 http://ubuntu.c3sl.ufpr.br/ubuntu xenial-backports/main Translation-en [3,124 B]
Get:49 http://ubuntu.c3sl.ufpr.br/ubuntu xenial-backports/main amd64 DEP-11 Metadata [208 B]
Get:50 http://ubuntu.c3sl.ufpr.br/ubuntu xenial-backports/main DEP-11 64x64 Icons [29 B]
Get:51 http://ubuntu.c3sl.ufpr.br/ubuntu xenial-backports/restricted amd64 DEP-11 Metadata [194 B]
Get:52 http://ubuntu.c3sl.ufpr.br/ubuntu xenial-backports/universe amd64 Packages [2,412 B]
Get:53 http://ubuntu.c3sl.ufpr.br/ubuntu xenial-backports/universe i386 Packages [2,412 B]
Get:54 http://ubuntu.c3sl.ufpr.br/ubuntu xenial-backports/universe Translation-en [1,216 B]
Get:55 http://ubuntu.c3sl.ufpr.br/ubuntu xenial-backports/universe amd64 DEP-11 Metadata [212 B]
Get:56 http://ubuntu.c3sl.ufpr.br/ubuntu xenial-backports/universe DEP-11 64x64 Icons [29 B]
Get:57 http://ubuntu.c3sl.ufpr.br/ubuntu xenial-backports/multiverse amd64 DEP-11 Metadata [212 B]
Get:58 http://ubuntu.c3sl.ufpr.br/ubuntu xenial-backports/multiverse DEP-11 64x64 Icons [29 B]
Get:59 http://ubuntu.c3sl.ufpr.br/ubuntu xenial-security/main amd64 Packages [195 kB]
Get:60 http://ubuntu.c3sl.ufpr.br/ubuntu xenial-security/main i386 Packages [189 kB]
Get:61 http://ubuntu.c3sl.ufpr.br/ubuntu xenial-security/main Translation-en [81.0 kB]
Get:62 http://ubuntu.c3sl.ufpr.br/ubuntu xenial-security/main amd64 DEP-11 Metadata [68.1 kB]
Get:63 http://ubuntu.c3sl.ufpr.br/ubuntu xenial-security/main DEP-11 64x64 Icons [43.0 kB]
Get:64 http://ubuntu.c3sl.ufpr.br/ubuntu xenial-security/restricted amd64 Packages [6,576 B]
Get:65 http://ubuntu.c3sl.ufpr.br/ubuntu xenial-security/restricted i386 Packages [6,528 B]
Get:66 http://ubuntu.c3sl.ufpr.br/ubuntu xenial-security/restricted Translation-en [2,016 B]
Get:67 http://ubuntu.c3sl.ufpr.br/ubuntu xenial-security/restricted amd64 DEP-11 Metadata [200 B]
Get:68 http://ubuntu.c3sl.ufpr.br/ubuntu xenial-security/universe amd64 Packages [66.1 kB]
Get:69 http://ubuntu.c3sl.ufpr.br/ubuntu xenial-security/universe i386 Packages [63.8 kB]
Get:70 http://ubuntu.c3sl.ufpr.br/ubuntu xenial-security/universe Translation-en [36.4 kB]
Get:71 http://ubuntu.c3sl.ufpr.br/ubuntu xenial-security/universe amd64 DEP-11 Metadata [19.4 kB]
Get:72 http://ubuntu.c3sl.ufpr.br/ubuntu xenial-security/universe DEP-11 64x64 Icons [25.6 kB]
Get:73 http://ubuntu.c3sl.ufpr.br/ubuntu xenial-security/multiverse amd64 Packages [2,756 B]
Get:74 http://ubuntu.c3sl.ufpr.br/ubuntu xenial-security/multiverse i386 Packages [2,928 B]
Get:75 http://ubuntu.c3sl.ufpr.br/ubuntu xenial-security/multiverse Translation-en [1,124 B]
Get:76 http://ubuntu.c3sl.ufpr.br/ubuntu xenial-security/multiverse amd64 DEP-11 Metadata [212 B]
Get:77 http://ubuntu.c3sl.ufpr.br/ubuntu xenial-security/multiverse DEP-11 64x64 Icons [29 B]
Fetched 42.6 MB in 3min 32s (201 kB/s)
AppStream cache update completed, but some metadata was ignored due to errors.
Reading package lists... Done
lucasrafael@Lucas-Rafael:~$

muito obrigado. em aquela mensagem no final é um erro no appstream







Patrocínio

Site hospedado pelo provedor RedeHost.
Linux banner

Destaques

Artigos

Dicas

Tópicos

Top 10 do mês

Scripts