Foro de elhacker.net

Sistemas Operativos => GNU/Linux => Mensaje iniciado por: victordmp0911 en 4 Junio 2019, 22:24 pm



Título: Error de apt-get
Publicado por: victordmp0911 en 4 Junio 2019, 22:24 pm
no puedo descargar ningun paquete, siempre me sale este error...
root@KMG_SRV01:/home/developer# sudo apt-get update
Err:1 https://packages.gitlab.com/gitlab/gitlab-ce/ubuntu bionic InRelease
  Fallo temporal al resolver «packages.gitlab.com»
Err:2 http://ve.archive.ubuntu.com/ubuntu bionic InRelease
  Fallo temporal al resolver «ve.archive.ubuntu.com»
Err:3 http://security.ubuntu.com/ubuntu bionic-security InRelease
  Fallo temporal al resolver «security.ubuntu.com»
Err:4 https://packages.microsoft.com/ubuntu/16.04/mssql-server-2017 xenial InRelease
  Fallo temporal al resolver «packages.microsoft.com»
Err:5 http://ve.archive.ubuntu.com/ubuntu bionic-updates InRelease
  Fallo temporal al resolver «ve.archive.ubuntu.com»
Err:6 https://packages.gitlab.com/gitlab/gitlab-ee/ubuntu bionic InRelease
  Fallo temporal al resolver «packages.gitlab.com»
Err:7 http://ve.archive.ubuntu.com/ubuntu bionic-backports InRelease
  Fallo temporal al resolver «ve.archive.ubuntu.com»
Err:8 http://archive.ubuntu.com/ubuntu bionic InRelease
  Fallo temporal al resolver «archive.ubuntu.com»
Err:9 http://dl.google.com/linux/chrome/deb stable InRelease
  Fallo temporal al resolver «dl.google.com»
Leyendo lista de paquetes... Hecho
W: Fallo al obtener http://ve.archive.ubuntu.com/ubuntu/dists/bionic/InRelease  Fallo temporal al resolver «ve.archive.ubuntu.com»
W: Fallo al obtener http://ve.archive.ubuntu.com/ubuntu/dists/bionic-updates/InRelease  Fallo temporal al resolver «ve.archive.ubuntu.com»
W: Fallo al obtener http://ve.archive.ubuntu.com/ubuntu/dists/bionic-backports/InRelease  Fallo temporal al resolver «ve.archive.ubuntu.com»
W: Fallo al obtener http://security.ubuntu.com/ubuntu/dists/bionic-security/InRelease  Fallo temporal al resolver «security.ubuntu.com»
W: Fallo al obtener http://archive.ubuntu.com/ubuntu/dists/bionic/InRelease  Fallo temporal al resolver «archive.ubuntu.com»
W: Fallo al obtener https://packages.microsoft.com/ubuntu/16.04/mssql-server-2017/dists/xenial/InRelease  Fallo temporal al resolver «packages.microsoft.com»
W: Fallo al obtener https://packages.gitlab.com/gitlab/gitlab-ce/ubuntu/dists/bionic/InRelease  Fallo temporal al resolver «packages.gitlab.com»
W: Fallo al obtener https://packages.gitlab.com/gitlab/gitlab-ee/ubuntu/dists/bionic/InRelease  Fallo temporal al resolver «packages.gitlab.com»
W: Fallo al obtener http://dl.google.com/linux/chrome/deb/dists/stable/InRelease  Fallo temporal al resolver «dl.google.com»
W: No se han podido descargar algunos archivos de índice, se han omitido, o se han utilizado unos antiguos en su lugar.


Título: Re: Error de apt-get
Publicado por: Sputnik_ en 4 Junio 2019, 22:39 pm
Hola Victor,

¿Tienes acceso a internet?

¿Estas desde alguna red de trabajo o de algún sitio que pueda llegar a tener algun servidor proxy?

Probablemente sea un problema para resolver consultas DNS, intentá modificar /etc/resolv.conf

Agregando
nameserver 8.8.8.8
nameserver 8.8.4.4

Le comparto el siguiente hilo donde comentan una situación similar

https://askubuntu.com/questions/892569/apt-get-update-not-working-in-ubuntu-16-04-temporary-failure-resolving

saludos


Título: Re: Error de apt-get
Publicado por: @XSStringManolo en 4 Junio 2019, 23:56 pm
sudo su
pon tu contraseña y pula enter.
cd /var/lib/apt
sudo mv lists lists.old
mkdir -p lists/partial
apt-get update