투명 프록시 뒤의 Virtualbox VM에서 Linux Mint 업데이트

투명 프록시 뒤의 Virtualbox VM에서 Linux Mint 업데이트

Vbox VM에 Linux Mint를 설치하려고 하는데 다음을 수행하려고 합니다.

$ sudo apt-get update -o Debug::Acquire::http=True 

다음과 같은 출력이 있습니다.

desa@desa-VirtualBox ~ $ sudo apt-get update -o Debug::Acquire::http=True 
0% [Trabajando]GET /ubuntu/dists/xenial/InRelease HTTP/1.1
Host: mirror.uchile.cl
Cache-Control: max-age=0
Accept: text/*
User-Agent: Debian APT-HTTP/1.3 (1.2.20)


Answer for: http://mirror.uchile.cl/ubuntu/dists/xenial/InRelease
HTTP/1.1 200 OK
Content-Type: text/html; charset="utf-8"
Content-Length: 22783
Connection: Close

Des:1 http://mirror.uchile.cl/ubuntu xenial InRelease [22,8 kB]
Err:1 http://mirror.uchile.cl/ubuntu xenial InRelease                                                                                           
  El fichero firmado en claro no es válido, «NOSPLIT» obtenido (¿la red requiere autenticación?)
0% [Conectando a packages.linuxmint.com (68.235.39.11)] [Conectando a security.ubuntu.com (91.189.88.161)] [Conectando a archive.canonical.com (GET /ubuntu/dists/xenial-updates/InRelease HTTP/1.1
Host: mirror.uchile.cl
Cache-Control: max-age=0
Accept: text/*
User-Agent: Debian APT-HTTP/1.3 (1.2.20)


Answer for: http://mirror.uchile.cl/ubuntu/dists/xenial-updates/InRelease
HTTP/1.1 200 OK
Content-Type: text/html; charset="utf-8"
Content-Length: 22791
Connection: Close

Des:2 http://mirror.uchile.cl/ubuntu xenial-updates InRelease [22,8 kB]                                                                         
Err:2 http://mirror.uchile.cl/ubuntu xenial-updates InRelease                                                                                   
  El fichero firmado en claro no es válido, «NOSPLIT» obtenido (¿la red requiere autenticación?)
0% [Conectando a packages.linuxmint.com (68.235.39.11)] [Conectando a security.ubuntu.com (91.189.88.161)] [Conectando a archive.canonical.com (GET /ubuntu/dists/xenial-backports/InRelease HTTP/1.1
Host: mirror.uchile.cl
Cache-Control: max-age=0
Accept: text/*
User-Agent: Debian APT-HTTP/1.3 (1.2.20)


Answer for: http://mirror.uchile.cl/ubuntu/dists/xenial-backports/InRelease
HTTP/1.1 200 OK
Content-Type: text/html; charset="utf-8"
Content-Length: 22793
Connection: Close

Des:3 http://mirror.uchile.cl/ubuntu xenial-backports InRelease [22,8 kB]                                                                       
Err:3 http://mirror.uchile.cl/ubuntu xenial-backports InRelease                                                                                 
  El fichero firmado en claro no es válido, «NOSPLIT» obtenido (¿la red requiere autenticación?)
0% [Conectando a packages.linuxmint.com (68.235.39.11)] [Conectando a security.ubuntu.com (91.189.88.161)] [Conectando a archive.canonical.com (GET /ubuntu/dists/xenial/InRelease HTTP/1.1
Host: archive.canonical.com
Cache-Control: max-age=0
Accept: text/*
User-Agent: Debian APT-HTTP/1.3 (1.2.20)


Answer for: http://archive.canonical.com/ubuntu/dists/xenial/InRelease
HTTP/1.1 200 OK
Content-Type: text/html; charset="utf-8"
Content-Length: 22787
Connection: Close

Des:4 http://archive.canonical.com/ubuntu xenial InRelease [22,8 kB]                                                                            
Err:4 http://archive.canonical.com/ubuntu xenial InRelease                                                                                      
  El fichero firmado en claro no es válido, «NOSPLIT» obtenido (¿la red requiere autenticación?)
0% [Conectando a packages.linuxmint.com (68.235.39.11)] [Conectando a security.ubuntu.com (91.189.88.161)]GET /dists/sonya/InRelease HTTP/1.1
Host: packages.linuxmint.com
Cache-Control: max-age=0
Accept: text/*
User-Agent: Debian APT-HTTP/1.3 (1.2.20)


GET /ubuntu/dists/xenial-security/InRelease HTTP/1.1
Host: security.ubuntu.com
Cache-Control: max-age=0
Accept: text/*
User-Agent: Debian APT-HTTP/1.3 (1.2.20)


Answer for: http://packages.linuxmint.com/dists/sonya/InRelease
HTTP/1.1 200 OK
Content-Type: text/html; charset="utf-8"
Content-Length: 22780
Connection: Close

Des:5 http://packages.linuxmint.com sonya InRelease [22,8 kB]                                             
0% [5 InRelease 0 B/22,8 kB 0%] [Esperando las cabeceras]Answer for: http://security.ubuntu.com/ubuntu/dists/xenial-security/InRelease
HTTP/1.1 200 OK
Content-Type: text/html; charset="utf-8"
Content-Length: 22795
Connection: Close

Des:6 http://security.ubuntu.com/ubuntu xenial-security InRelease [22,8 kB]
Err:5 http://packages.linuxmint.com sonya InRelease                    
  El fichero firmado en claro no es válido, «NOSPLIT» obtenido (¿la red requiere autenticación?)
Err:6 http://security.ubuntu.com/ubuntu xenial-security InRelease      
  El fichero firmado en claro no es válido, «NOSPLIT» obtenido (¿la red requiere autenticación?)
Descargados 137 kB en 0s (199 kB/s) 
Leyendo lista de paquetes... Hecho
E: Fallo al obtener http://packages.linuxmint.com/dists/sonya/InRelease  El fichero firmado en claro no es válido, «NOSPLIT» obtenido (¿la red requiere autenticación?)
E: Fallo al obtener http://mirror.uchile.cl/ubuntu/dists/xenial/InRelease  El fichero firmado en claro no es válido, «NOSPLIT» obtenido (¿la red requiere autenticación?)
E: Fallo al obtener http://mirror.uchile.cl/ubuntu/dists/xenial-updates/InRelease  El fichero firmado en claro no es válido, «NOSPLIT» obtenido (¿la red requiere autenticación?)
E: Fallo al obtener http://mirror.uchile.cl/ubuntu/dists/xenial-backports/InRelease  El fichero firmado en claro no es válido, «NOSPLIT» obtenido (¿la red requiere autenticación?)
E: Fallo al obtener http://security.ubuntu.com/ubuntu/dists/xenial-security/InRelease  El fichero firmado en claro no es válido, «NOSPLIT» obtenido (¿la red requiere autenticación?)
E: Fallo al obtener http://archive.canonical.com/ubuntu/dists/xenial/InRelease  El fichero firmado en claro no es válido, «NOSPLIT» obtenido (¿la red requiere autenticación?)
E: No se han podido descargar algunos archivos de índice, se han omitido, o se han utilizado unos antiguos en su lugar.

따라서 질문은 다음과 같습니다. Linux 가상 머신을 업데이트하기 위해 어떻게 구성(또는 일부 매개변수 전달)합니까? 감사해요

참고: 나는 모든 지침을 따랐습니다.https://bugs.launchpad.net/ubuntu/+source/update-manager/+bug/24061/그러나 그들 중 누구도 일하지 않았습니다 :(

답변1

프록시를 통해 apt-get이 작동하도록 하는 빠른 방법은 프록시 주소를 /etc/apt/apt.conf.

Acquire::http::Proxy "http://address:port";

나는 이 옵션에 익숙하지 않습니다 -o Debug::. 여기에 동일한 정보를 추가할 수도 있습니다.

관련 정보