Re: 407 Proxy Authentication Required; utiliza apt-get tras un proxy ISA con ntlmaps

2008-12-07 Thread Ismael Valladolid Torres
2008/12/5 David Rios R. [EMAIL PROTECTED]:
 Para ello debes agregar al archivo /etc/apt/apt.conf la siguiente
 linea:

 Acquire::http::Proxy http://user:[EMAIL PROTECTED]:port

 Eso es todo

He dicho muchas veces aquí que hay que pensarse dos veces lo de enviar
información que no sirve de ayuda a la caché de Google.


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: 407 Proxy Authentication Required; utiliza apt-get tras un proxy ISA con ntlmaps

2008-12-05 Thread David Rios R.
El Tue, Dec 02, 2008 at 08:00:01AM +0100, Ismael Valladolid Torres escribió:
 
 El escenario es el siguiente; situado tras tu flamante nueva red
 corporativa, habiendote sido proporcionada la dirección IP de un
 proxy, más el correspondiente identificador de usuario y contraseña
 para poder utilizarlo para acceder a Internet, la navegación es
 posible utilizando tanto Internet Explorer como Mozilla Firefox. Si
 embargo, intentando instalar Debian en tu ordenador, no te es posible
 hacerlo aún especificando proxy, usuario y contraseña durante la
 instalación. Lo consigues utilizando un CD completo que no requiera
 acceso a la red para completarla, pero aún así no es posible obtener
 ningún nuevo paquete utilizando apt-get. Esto sucede aún si la
 variable de entorno http_proxy ha sido correctamente definida
 incluyendo el identificador de usuario y la contraseña proporcionados.
 Éste es el mensaje de error devuelto:
 
   procyon:/home/ismael# export http_proxy=http://ivalladolid:[EMAIL 
 PROTECTED]/
   procyon:/home/ismael# apt-get update
   (...)
   Err http://www.debian-multimedia.org unstable/main Packages
   407 Proxy Authentication Required ( El servidor ISA requiere
 autorización para completar la petición. Acceso denegado al servicio
 de proxy web.  )

Para ello debes agregar al archivo /etc/apt/apt.conf la siguiente
linea:

Acquire::http::Proxy http://user:[EMAIL PROTECTED]:port

Eso es todo

 
 
 -- 
 Ismael Valladolid Torres   GnuPG key: DE721AF4
 
 SHS Polar (3.4.3)   Google Talk/Jabber/MSN Messenger: [EMAIL PROTECTED]
 C/ Emilio Vargas 1Jaiku/Twitter/Skype/Yahoo!: ivalladt
 Edif. Fiteni II  AIM/ICQ: 264472328
 28043 Madrid (Spain)
 
 T 0034915153817   http://www.polar.es/
 F 0034915153755   http://lamediahostia.blogspot.com
 M 0034609884094 (Yoigo)   http://www.flickr.com/photos/ivalladt/
 
 The opinions expressed here represent my own and not those of my employer.
 Las opiniones expresadas representan las mías propias y no las de mi empresa.
 
 
 --
 To UNSUBSCRIBE, email to [EMAIL PROTECTED]
 with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
 

-- 
David Rios R.
driosr{at}une{dot}net{dot}co


signature.asc
Description: Digital signature


Re: 407 Proxy Authentication Required; utiliza apt-get tras un proxy ISA con ntlmaps

2008-12-02 Thread Ulises M. Alvarez
On Tue, December 2, 2008 1:00 am, Ismael Valladolid Torres wrote:
 ... intentando instalar Debian en tu ordenador, no te es posible
 hacerlo aún especificando proxy, usuario y contraseña durante la
 instalación. Lo consigues utilizando un CD completo que no requiera
 acceso a la red para completarla, pero aún así no es posible obtener
 ningún nuevo paquete utilizando apt-get. Esto sucede aún si la
 variable de entorno http_proxy ha sido correctamente definida
 incluyendo el identificador de usuario y la contraseña proporcionados.

 La causa de este problema es la implantación en la red corporativa de
 un tipo de proxy muy distinto al squid al que los usuarios de sistemas
 UNIX llevamos tantos años acostumbrados; un proxy ISA de Microsoft.

Hola:

Sospecho que este problema se resolvería instalando kerberos y samba. En
el wiki de squid (inglés) viene una buena guía que te permitirá unirte al
Directorio Activo y comunicarte con el proxy ISA:

http://wiki.squid-cache.org/ConfigExamples/WindowsAuthenticationNTLM?highlight=%28ntlm%29

-- 
Ulises M. Alvarez.
http://www.fata.unam.mx/



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



407 Proxy Authentication Required; utiliza apt-get tras un proxy ISA con ntlmaps

2008-12-01 Thread Ismael Valladolid Torres
El escenario es el siguiente; situado tras tu flamante nueva red
corporativa, habiendote sido proporcionada la dirección IP de un
proxy, más el correspondiente identificador de usuario y contraseña
para poder utilizarlo para acceder a Internet, la navegación es
posible utilizando tanto Internet Explorer como Mozilla Firefox. Si
embargo, intentando instalar Debian en tu ordenador, no te es posible
hacerlo aún especificando proxy, usuario y contraseña durante la
instalación. Lo consigues utilizando un CD completo que no requiera
acceso a la red para completarla, pero aún así no es posible obtener
ningún nuevo paquete utilizando apt-get. Esto sucede aún si la
variable de entorno http_proxy ha sido correctamente definida
incluyendo el identificador de usuario y la contraseña proporcionados.
Éste es el mensaje de error devuelto:

  procyon:/home/ismael# export http_proxy=http://ivalladolid:[EMAIL PROTECTED]/
  procyon:/home/ismael# apt-get update
  (...)
  Err http://www.debian-multimedia.org unstable/main Packages
  407 Proxy Authentication Required ( El servidor ISA requiere
autorización para completar la petición. Acceso denegado al servicio
de proxy web.  )


La causa de este problema es la implantación en la red corporativa de
un tipo de proxy muy distinto al squid al que los usuarios de sistemas
UNIX llevamos tantos años acostumbrados; un proxy ISA de Microsoft. De
la Wikipedia:

«Microsoft Internet Security and Acceleration Server (ISA Server) es
un firewall de stateful packet inspection (es decir, analiza el
encabezado de los paquetes IP) y de application layer (analizan la
trama de datos en busca de tráfico sospechoso). Adicionalmente, ISA
Server es un firewall de red, VPN y web cache.

Actualmente, ISA Server 2006 es la última versión, manteniendo siempre
el esquema de ediciones estándar y enterprise, y los appliances de
distintos fabricantes de hardware.

A partir de febrero de 2007, Microsoft liberó una edición especial de
ISA Server llamada Intelligent Application Gateway 2007. IAG 2007 es
un servicio de VPN por medio de SSL, además de incorporar políticas de
seguridad como zonas de cuarentena, chequeos de seguridad en las
conexiones entrantes, y definición de perfiles de uso de las
aplicaciones publicadas. IAG 2007 es el producto de la adquisición que
realizó Microsoft de la empresa Whale Communications en Junio de 2006.
Microsoft IAG 2007 solamente está disponible por medio de appliances.»

Aún con lo espectacular de la definición, probablemente el único
criterio adoptado por la mayor parte de las empresas para el
despliegue de este tipo de proxy sea la ventaja asociada a que la
autentificación de salida se realice con los mismos identificadores de
usuario y contraseña que permiten el inicio de sesiones en el dominio
NT.

El artículo completo en [1]Linux AV.

1. http://www.linuxav.net/

Un saludo, Ismael
-- 
Ismael Valladolid Torres   GnuPG key: DE721AF4

SHS Polar (3.4.3)   Google Talk/Jabber/MSN Messenger: [EMAIL PROTECTED]
C/ Emilio Vargas 1Jaiku/Twitter/Skype/Yahoo!: ivalladt
Edif. Fiteni II  AIM/ICQ: 264472328
28043 Madrid (Spain)

T 0034915153817   http://www.polar.es/
F 0034915153755   http://lamediahostia.blogspot.com
M 0034609884094 (Yoigo)   http://www.flickr.com/photos/ivalladt/

The opinions expressed here represent my own and not those of my employer.
Las opiniones expresadas representan las mías propias y no las de mi empresa.


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: apt-get with ftp proxy

2006-12-14 Thread Liam O'Toole
On Thu, 14 Dec 2006 07:24:14 +
Liam O'Toole [EMAIL PROTECTED] wrote:

 On Thu, 14 Dec 2006 09:12:41 +0800
 sakya [EMAIL PROTECTED] wrote:
 
  Dear Debianlists,
  
  I want to use apt-get to install some software from the foreign
  site,but I can not connect via
  ftp proxy,but I can download via the just proxy site.
  Why? and who can explain the Acqure::ftp section
  in apt.conf
  
  
 
 I've never used the Acquire::ftp section of apt.conf. Instead, I set
 the http_proxy and ftp_proxy environment variables like in this
 example:
 
 export http_proxy=http://localhost:3128
 export ftp_proxy=$ftp_proxy
 apt-get update
 apt-get install ...
 

Sorry, that second line should read

export ftp_proxy=$http_proxy

-- 

Liam


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: apt-get with ftp proxy

2006-12-14 Thread Ottavio Caruso
sakya wrote:

 Dear Debianlists,
 
 I want to use apt-get to install some software from the foreign
site,but
 I can not connect via
 ftp proxy,but I can download via the just proxy site.
 Why? and who can explain the Acqure::ftp section
 in apt.conf

http://www.debian-administration.org/articles/177



-- 
Ottavio Caruso

I will not purchase any computing equipment from manufacturers that recommend 
Windows Vista™ or any other Microsoft® products.
http://www.pledgebank.com/boycottvista


 

Do you Yahoo!?
Everyone is raving about the all-new Yahoo! Mail beta.
http://new.mail.yahoo.com


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



apt-get with ftp proxy

2006-12-13 Thread sakya
Dear Debianlists,

I want to use apt-get to install some software from the foreign site,but
I can not connect via
ftp proxy,but I can download via the just proxy site.
Why? and who can explain the Acqure::ftp section
in apt.conf


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: apt-get with ftp proxy

2006-12-13 Thread Liam O'Toole
On Thu, 14 Dec 2006 09:12:41 +0800
sakya [EMAIL PROTECTED] wrote:

 Dear Debianlists,
 
 I want to use apt-get to install some software from the foreign
 site,but I can not connect via
 ftp proxy,but I can download via the just proxy site.
 Why? and who can explain the Acqure::ftp section
 in apt.conf
 
 

I've never used the Acquire::ftp section of apt.conf. Instead, I set
the http_proxy and ftp_proxy environment variables like in this example:

export http_proxy=http://localhost:3128
export ftp_proxy=$ftp_proxy
apt-get update
apt-get install ...

-- 

Liam


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Apt-get install com proxy

2006-07-19 Thread Felipe D. Falce
Rodrigo Berto Oliveira disse o seguinte em 18-07-2006 18:59:
 Estou precisando de uma ajuda para utilizar o apt-get com um proxy, para
 navegar na web vai legal, pois utilizo usuario e senha do proxy e navega
 legal, o problema esta acontecendo para baixar os pacotes via apt-get...
 Estou utilizando o debian sarge Kernel 2.6.8
 
 Um abraço.

Eu aqui utilizo Debian atrás de um Proxy/Firewall Microsoft ISA Server
extremamente restritivo. Todo o tráfego de rede é através do proxy e as
configurações de proxy para o APT não conseguem autenticar no ISA Server.

Para resolver o problema eu estou utilizando o pacote NTLMAPS que faz a
autenticação e depois configuro o proxy do APT para passar pelo NTLMAPS.
Aqui, tem funcionado, pelo menos com o APT (não consigo utilizar nenhum
IM, mas todo o resto funciona com o NTLMAPS)

Cya!

++---+-+
 \ Felipe  D.   Falce \ Grupo  de  Usuários GNU/Linux \   .''`. \
  \ [EMAIL PROTECTED] \ deJuiz   de   Fora  -  MG \  : :' : \
   \ Linux User #124723 \ w w w . l i n u x j f . o r g \ `. `'`  \
\ DebianBR User #325 \ Faça  parte  desse movimento! \  `--\
 ++---+-+
  \  O mundo não é justo, eu sei, mas\
   \   por que ele nunca é injusto a meu favor?   \
+--+


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Apt-get install com proxy

2006-07-19 Thread Flávio Alves Granato
2006/7/18, Rodrigo Berto Oliveira [EMAIL PROTECTED]:
Estou precisando de uma ajuda para utilizar o apt-get com um
proxy, para navegar na web vai legal, pois utilizo usuario e senha do
proxy e navega legal, o problema esta acontecendo para baixar os
pacotes via apt-get... 
Estou utilizando o debian sarge Kernel 2.6.8Um abraço.


crie o arquivo apt.conf dentro do diretório /etc/apt , lá tem o
diretório apt.conf.d mas não é esse, e coloque nele
Acquire::http::proxy http://usuario:[EMAIL PROTECTED]:porta; -- não
esqueça do ponto e virgula no final da linha e caso queira para um ftp
e para um rsync é só trocar o http do acquire que vai funcionar legal.
Depois disso não precisa mais exporta a variavel http_proxy no sistema,
nem no profile e nem no bashrc ou qualquer outro lugar pois o apt-get
vai usar esta configuração que você fez.-- Computers are like air conditioners: they do not work well when you open windows... DigitalDrillNunca
tenha medo de tentar algo novo. Lembre-se de que um amador solitário
construiu a Arca e um grande grupo de profissionais construiu o
Titanic.


Re: Apt-get install com proxy

2006-07-19 Thread Henrique
Apenas complementando a dica do Flávio, se você quiser inserir comentários ou 
ter configurações alternativas comentadas,  não use # no inicio da linha, 
use // 
algo como:

===
//link direto - use sempre esse
Acquire::http::Proxy http://localhost:1000;;

//link do arnaldo
//Acquire::http::Proxy http://10.0.0.23:3128;;

//proxy plano-b
//Acquire::http::Proxy http://192.13.24.3:3128;;

//Fale antes com o Paulo antes de usar o proxy abaixo - linha discada.
//Acquire::http::Proxy http://minerva:8080;;

Caso você tenha, no seu sources.list algum ftp informado, troque  o 
Acquire::http por Acquire::ftp em uma nova entrada.

[ ]s,Henry

 crie o arquivo apt.conf dentro do diretório /etc/apt , lá tem o diretório
 apt.conf.d mas não é esse, e coloque nele
 Acquire::http::proxy http://usuario:[EMAIL PROTECTED]:porta; -- não 
 esqueça do
 ponto e virgula no final da linha e caso queira para um ftp e para um rsync
 é só trocar o http do acquire que vai funcionar legal. Depois disso não
 precisa mais exporta a variavel http_proxy no sistema, nem no profile e nem
 no bashrc ou qualquer outro lugar pois o apt-get vai usar esta configuração
 que você fez.


___
Novidade no Yahoo! Mail: receba alertas de novas mensagens no seu celular. 
Registre seu aparelho agora!
http://br.mobile.yahoo.com/mailalertas/




Apt-get install com proxy

2006-07-18 Thread Rodrigo Berto Oliveira
Estou precisando de uma ajuda para utilizar o apt-get com um proxy, para navegar na web vai legal, pois utilizo usuario e senha do proxy e navega legal, o problema esta acontecendo para baixar os pacotes via apt-get... 
Estou utilizando o debian sarge Kernel 2.6.8Um abraço.


Re: Apt-get install com proxy

2006-07-18 Thread Guilherme Rocha

2006/7/18, Rodrigo Berto Oliveira [EMAIL PROTECTED]:

Estou precisando de uma ajuda para utilizar o apt-get com um proxy, para
navegar na web vai legal, pois utilizo usuario e senha do proxy e navega
legal, o problema esta acontecendo para baixar os pacotes via apt-get...
 Estou utilizando o debian sarge Kernel 2.6.8

Um abraço.



Opa, olhe aqui:

http://cdd.debian-br.org/project/wiki/FAQ#como-usar-o-aptitude-atrav-s-de-um-servidor-proxy


ou ainda digite:

#apt-setup


--
Guilherme Rocha
http://e-gui.homelinux.org
#Linux Registered User: 391180 (http://counter.li.org)
--
Keep on hackin' in the free world!



Re: Apt-get install com proxy

2006-07-18 Thread Franz Gustav Niederheitmann
Em Ter, 2006-07-18 às 18:59 -0300, Rodrigo Berto Oliveira escreveu:
 Estou precisando de uma ajuda para utilizar o apt-get com um proxy,
 para navegar na web vai legal, pois utilizo usuario e senha do proxy e
 navega legal, o problema esta acontecendo para baixar os pacotes via
 apt-get... 

tentou por ftp??

outra dica eh dar um apt-setup e configurar lah o proxy...

depos de escolher o server ele aparece essa tela:


 Caso você precise usar um proxy HTTP para acessar o mundo de fora, por
favor  │
 │ entre com os dados do proxy aqui. Caso contrário, deixe o campo em
branco.│
 │
│
 │ Os dados sobre o proxy devem ser informados usando o formato padrão
de│
 │ http://[[usuário][:[EMAIL PROTECTED]:porta]
│
 │
│
 │ Informação sobre proxy HTTP (deixe em branco para nenhum) :
│
 │  
 Estou utilizando o debian sarge Kernel 2.6.8
 
 Um abraço.
-- 
Franz Gustav Niederheitmann 
GNU/Linux user #301744

Um livro é um mudo que fala, um surdo que responde, um cego que guia, 
um morto que vive.

Não há fatos, só interpretações. Friedrich Wilhelm Nietzsche 

O fato de um camponês poder tornar-se rei não torna este reino democrático.
Woodrow Wilson 

O homem conquistará sua liberdade quando o último rei for enforcado
com as tripas do último padre. Diderot

http://franzpiadas.blogspot.com/

http://franzlivros.blogspot.com/

http://franzfrases.blogspot.com/


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



APT-GET Update und Proxy Server dazwischen

2005-07-22 Thread henner
Hallo Leute,

unsere liebe Firma hat einen neuen Proxy-Server eingerichtet, bei dem man
sich - wenn man mal ins Netz will - mit dem Browser per Username und
Password authentifizieren muss. Handelt sich um Win$ ISA

Wenn ich jetzt meine taeglichen apt-get update und apt-get upgrade fahren
will werde ich immer geblockt.

Kann man irgendwelche optionen, etc. bei apt-get mitliefern, so dass ich
mit meinem Username und Password am Proxy-Server anmelden kann und meine
gewohnten updates fahren kann. man apt-get liefert mir nichts brauchbares.
Und google hat eine Menge Seiten über apt-get und proxy, aber nicht das,
was ich suche.

Eventuell ein anderes Programm?

Danke für Ratschlaege

Henner





Re: APT-GET Update und Proxy Server dazwischen

2005-07-22 Thread Andreas Kretschmer
am  22.07.2005, um  8:10:06 +0200 mailte [EMAIL PROTECTED] folgendes:
 Kann man irgendwelche optionen, etc. bei apt-get mitliefern, so dass ich
 mit meinem Username und Password am Proxy-Server anmelden kann und meine
 gewohnten updates fahren kann. man apt-get liefert mir nichts brauchbares.

http://lists.debian.org/debian-user-german/2002/08/msg00049.html


Andreas
-- 
Andreas Kretschmer(Kontakt: siehe Header)
Heynitz:  035242/47212,  D1: 0160/7141639
GnuPG-ID 0x3FFF606C http://wwwkeys.de.pgp.net
 ===Schollglas Unternehmensgruppe=== 


-- 
Haeufig gestellte Fragen und Antworten (FAQ): 
http://www.de.debian.org/debian-user-german-FAQ/

Zum AUSTRAGEN schicken Sie eine Mail an [EMAIL PROTECTED]
mit dem Subject unsubscribe. Probleme? Mail an [EMAIL PROTECTED] (engl)



Re: APT-GET Update und Proxy Server dazwischen

2005-07-22 Thread Stefan Gourguis

at Friday, July 22, 2005 , you wrote:
 Hallo Leute,

 unsere liebe Firma hat einen neuen Proxy-Server eingerichtet, bei dem man
 sich - wenn man mal ins Netz will - mit dem Browser per Username und
 Password authentifizieren muss. Handelt sich um Win$ ISA

 Wenn ich jetzt meine taeglichen apt-get update und apt-get upgrade fahren
 will werde ich immer geblockt.

 Kann man irgendwelche optionen, etc. bei apt-get mitliefern, so dass ich
 mit meinem Username und Password am Proxy-Server anmelden kann und meine
 gewohnten updates fahren kann. man apt-get liefert mir nichts brauchbares.
 Und google hat eine Menge Seiten über apt-get und proxy, aber nicht das,
 was ich suche.

 Eventuell ein anderes Programm?

 Danke für Ratschlaege

 Henner



Ich empfehler dir diese tolle Anleitung dazu

http://www.x-fish.org/deb_apt-proxy.html


-- 

Stefan Gourguis
mailto:[EMAIL PROTECTED]




Re: apt-get through a proxy

2004-06-12 Thread Vittorio
Here it is my /etc/apt.conf file, the only line I need to pass through a proxy 
requiring authentication via userid and password:

Acquire::http::Proxy http://mydomain\userid:[EMAIL PROTECTED]:8080/;

It works greatly!

Vittorio


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



apt-get through a proxy

2004-06-11 Thread Marvin Gerardo Aguero Salazar
Hi guys,

I am currently on an installation that accesses the internet over a
proxy.  apt-get stopped working for me with this configuration.

Is there a way to get apt-get working via a proxy?

TIA,

-Marvin


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: apt-get through a proxy

2004-06-11 Thread Florian Ernst
Hello!

On Fri, Jun 11, 2004 at 09:37:14AM -0600, Marvin Gerardo Aguero Salazar wrote:
 I am currently on an installation that accesses the internet over a
 proxy.  apt-get stopped working for me with this configuration.
 
 Is there a way to get apt-get working via a proxy?

Please see man apt.conf and search for proxy, also check the
examples given in /usr/share/doc/apt/examples/configure-index.gz.

HTH,
Flo


signature.asc
Description: Digital signature


Re: apt-get through a proxy

2004-06-11 Thread James Richardson
On Fri, Jun 11, 2004 at 09:37:14AM -0600, Marvin Gerardo Aguero Salazar wrote:
 Hi guys,
 
 I am currently on an installation that accesses the internet over a
 proxy.  apt-get stopped working for me with this configuration.
 
 Is there a way to get apt-get working via a proxy?
 
yes, in your /etc/apt/apt.conf add the following:

Acquire::http::Proxy http://proxy.server:port;


--jr


signature.asc
Description: Digital signature


Re: apt-get through a proxy

2004-06-11 Thread Sven Hoexter
On Fri, Jun 11, 2004 at 09:37:14AM -0600, Marvin Gerardo Aguero Salazar wrote:
 Hi guys,
 
 I am currently on an installation that accesses the internet over a
 proxy.  apt-get stopped working for me with this configuration.
 
 Is there a way to get apt-get working via a proxy?
 http
 {
Proxy http://ip:port;
Timeout 120;
Pipeline-Depth 5;
No-Cache false;
Max-Age 86400; // 1 Day age on index files
No-Store false;// Prevent the cache from storing archives
  };
in /etc/apt/apt.conf or you export the http_proxy env variable.

HTH
Sven

-- 
If God passed a mic to me to speak
I'd say stay in bed, world
Sleep in peace
   [The Cardigans - No sleep]


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: apt-get through a proxy

2004-06-11 Thread Micha Feigin
On Fri, Jun 11, 2004 at 09:37:14AM -0600, Marvin Gerardo Aguero Salazar wrote:
 Hi guys,
 
 I am currently on an installation that accesses the internet over a
 proxy.  apt-get stopped working for me with this configuration.
 
 Is there a way to get apt-get working via a proxy?
 

You can define environment variables http_proxy and ftp_proxy and apt
will use those proxies.

 TIA,
 
 -Marvin
 
 
 -- 
 To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
 with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
 
  
  +++
  This Mail Was Scanned By Mail-seCure System
  at the Tel-Aviv University CC.
 


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: apt-get update mit proxy/gzip fehler

2003-02-27 Thread Juergen Sauer
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Am Donnerstag, 27. Februar 2003 08:16 schrieb Hans Gerber:
Hallo Ingo, Hallo Hans,
Ich klinke mich mal hier in die Diss ein. Ich beobachte hier ein ähnliches 
Phänomen - allerdings nicht Architekturüberschreitend.

Ich habe hier eine Konstellation:
(viele Clients) -- { Server(apt-proxy - squid)} ===externes=Netz=

 Könnte es evtl. an der zahl der sources.list Einträge liegen?
 das Problem tritt afair bei mir nämlich auf, seitdem ich eine KDE3
 Quelle zugefügt habe.
Nein, glaube nicht. Das wäre ein anderer Fehler, den Du mit einem Eintrag
in /etc/apt/apt.conf.d/0cacheworkaround:
- ---
APT::Cache-Limit 16777216;
- ---
abändern würdest. (FAQ Thema). Das Problem träte beim apt-get update auf.

 Oder gar an der Reihenfolge der Einträge?
Nein, eigentlich nicht. Es ist ja ein Algorithmus nachgeschaltet, der die 
Paketauswahl aus den Quellen nach Release, Priorität, Versionsnummer 
macht.
Die letzte C't hat hier einen sehr guten Artikel drin. (C't 2003/5, S. 202 
ff). Besonders das Thema Prioritätensteuerung ist dort beschrieben. IMHO 
kann man mit der Prioritätensteuerung auch ein dist-downgrade machen, 
also von unstable - stable. Man kann einen Zwang zur kleineren 
stabilen Versionsnummer ausüben. Noch nicht getestet.

 Es gibt da viel auszutesten, deswegen wäre mir lieber, wenn jemand
 bereits wüsste, was das Problem ist.

Genau mein Reden.

Allerdings vermute ich, hier ist ein Problem mit den Paketen auf dem 
Server selbst ?

Welche Repository benutzt Ihr  ?

mfG
Jojo

- -- 
Jürgen Sauer - AutomatiX GmbH, +49-4209-4699, [EMAIL PROTECTED] **
** Das Linux Systemhaus - Service - Support - Server - Lösungen **
** http://www.automatix.de http://www.kranautomatisierung.de**
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQE+Xd3pW7UKI9EqarERAkBiAJ4peog5QOb121l1oP6gkjjxjkuvtgCg12Fw
21E61SGYJ4Oy0f0R0x1B51w=
=KkMR
-END PGP SIGNATURE-


--
Haeufig gestellte Fragen und Antworten (FAQ):
http://www.de.debian.org/debian-user-german-FAQ/

Zum AUSTRAGEN schicken Sie eine Mail an [EMAIL PROTECTED]
mit dem Subject unsubscribe. Probleme? Mail an [EMAIL PROTECTED] (engl)



Re: apt-get update mit proxy/gzip fehler

2003-02-27 Thread Ingo Juergensmann
On Thu, Feb 27, 2003 at 10:44:09AM +0100, Juergen Sauer wrote:

  Könnte es evtl. an der zahl der sources.list Einträge liegen?
  das Problem tritt afair bei mir nämlich auf, seitdem ich eine KDE3
  Quelle zugefügt habe.
 Nein, glaube nicht. Das wäre ein anderer Fehler, den Du mit einem Eintrag
 in /etc/apt/apt.conf.d/0cacheworkaround:
 - ---
 APT::Cache-Limit 16777216;
 - ---
 abändern würdest. (FAQ Thema). Das Problem träte beim apt-get update auf.

Tut es ja auch, was aber durch die obige Zeile auch nicht behoben wird. ;)

Hit http://ftp.de.debian.org unstable/non-US/non-free Sources  
   
Get:31 http://ftp.de.debian.org unstable/non-US/non-free Release [95B] 
   
Err http://ftp.de.debian.org unstable/main Sources 
   
  Could not open file
/var/lib/apt/lists/partial/ftp.de.debian.org_debian_dists_unstable_main_source_Sources
- open (2 No such file or directory)
Err http://ftp.de.debian.org unstable/contrib Sources
  Could not open file
/var/lib/apt/lists/partial/ftp.de.debian.org_debian_dists_unstable_contrib_source_Sources
- open (2 No such file or directory)
99% [Working]  
gzip: stdin: Resource temporarily unavailable

gzip: stdin: Resource temporarily unavailable
99% [Working]

Interessanterweise sind es immer zwei gzip Fehler, soweit ich das in
Erinnerung habe. 

 Allerdings vermute ich, hier ist ein Problem mit den Paketen auf dem 
 Server selbst ?

Hmmm... glaub ich eher nicht. 

 Welche Repository benutzt Ihr  ?

deb http://ftp.de.debian.org/debian/ stable main non-free contrib
deb-src http://ftp.de.debian.org/debian/ unstable main non-free contrib

deb http://ftp.de.debian.org/debian-non-US stable non-US/main non-US/contrib 
non-US/non-free
deb-src http://ftp.de.debian.org/debian-non-US sid non-US/main non-US/contrib 
non-US/non-free

deb http://non-us.debian.org/debian-non-US stable/non-US main contrib non-free
deb-src http://non-us.debian.org/debian-non-US unstable/non-US main contrib non-free

deb-src http://ftp.de.debian.org/debian unstable main contrib non-free
deb-src http://ftp.de.debian.org/debian-non-US unstable non-US/main non-US/contrib 
non-US/non-free

deb-src http://source.rfc822.org/pub/debian unstable main contrib non-free
deb-src http://source.rfc822.org/pub/debian-non-US unstable non-US/main non-US/contrib 
non-US/non-free

-- 
Ciao...  // 
  Ingo \X/


-- 
Haeufig gestellte Fragen und Antworten (FAQ): 
http://www.de.debian.org/debian-user-german-FAQ/

Zum AUSTRAGEN schicken Sie eine Mail an [EMAIL PROTECTED]
mit dem Subject unsubscribe. Probleme? Mail an [EMAIL PROTECTED] (engl)



Re: apt-get update mit proxy/gzip fehler

2003-02-27 Thread Juergen Sauer
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Am Donnerstag, 27. Februar 2003 11:34 schrieb Ingo Juergensmann:
 
 Tut es ja auch, was aber durch die obige Zeile auch nicht behoben wird. 
;)

Den Fehler, mit der Cache Größe hast Du so nicht, dass schaut anders aus.
 
 Hit http://ftp.de.debian.org unstable/non-US/non-free Sources
  
 Get:31 http://ftp.de.debian.org unstable/non-US/non-free Release [95B]   
  
 Err http://ftp.de.debian.org unstable/main Sources   
  
   Could not open file 
/var/lib/apt/lists/partial/ftp.de.debian.org_debian_dists_unstable_main_source_Sources
 - open (2 No such file or directory)
 Err http://ftp.de.debian.org unstable/contrib Sources
   Could not open file

Da kriegst Du Eine Datei nicht !

 gzip: stdin: Resource temporarily unavailable
 99% [Working]

 Interessanterweise sind es immer zwei gzip Fehler, soweit ich das in
 Erinnerung habe. 
Wenn gzip ein leeres, weil nix gekriegt, auspacken soll, dann schaut das 
so aus.


  Allerdings vermute ich, hier ist ein Problem mit den Paketen auf dem 
  Server selbst ?
 
 Hmmm... glaub ich eher nicht. 
Denke doch !
Das http://ftp.de.debian.org unstable/contrib Sources sieht nicht gut 
aus:
In http://ftp.de.debian.org/debian/dists/unstable/contrib/source/
liegt kein Sources.


  Welche Repository benutzt Ihr  ?
Das sind zweifelsfrei zuviele. Die Dopplungen sind IMHO nicht gut.
Kürze doch zunachst mal auf das Wesentliche:
Eines für security, eines für Standard-Woody. Dann das apt-get update 
fahren.
Beschränken wir uns erstmal auf den Kern der Sache.

mfG
Jürgen

- -- 
Jürgen Sauer - AutomatiX GmbH, +49-4209-4699, [EMAIL PROTECTED] **
** Das Linux Systemhaus - Service - Support - Server - Lösungen **
** http://www.automatix.de http://www.kranautomatisierung.de**
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQE+XfiwW7UKI9EqarERAgBrAKCZMI/f0g463pXtYJDOxlVOzlnq1ACaAjSe
wBC7AHGNB0CM/WAM82xUZ7k=
=CaIx
-END PGP SIGNATURE-


--
Haeufig gestellte Fragen und Antworten (FAQ):
http://www.de.debian.org/debian-user-german-FAQ/

Zum AUSTRAGEN schicken Sie eine Mail an [EMAIL PROTECTED]
mit dem Subject unsubscribe. Probleme? Mail an [EMAIL PROTECTED] (engl)



Re: apt-get update mit proxy/gzip fehler

2003-02-27 Thread Ingo Juergensmann
On Thu, Feb 27, 2003 at 12:38:17PM +0100, Juergen Sauer wrote:

  Tut es ja auch, was aber durch die obige Zeile auch nicht behoben wird. 
 Den Fehler, mit der Cache Größe hast Du so nicht, dass schaut anders aus.

Man kann es ja mal probieren... ;) 

  Hit http://ftp.de.debian.org unstable/non-US/non-free Sources  
 
  Get:31 http://ftp.de.debian.org unstable/non-US/non-free Release [95B] 
 
  Err http://ftp.de.debian.org unstable/main Sources 
 
Could not open file 
 /var/lib/apt/lists/partial/ftp.de.debian.org_debian_dists_unstable_main_source_Sources
  - open (2 No such file or directory)
  Err http://ftp.de.debian.org unstable/contrib Sources
Could not open file
 Da kriegst Du Eine Datei nicht !

Hmmm... *aeug*

  gzip: stdin: Resource temporarily unavailable
  99% [Working]
  Interessanterweise sind es immer zwei gzip Fehler, soweit ich das in
  Erinnerung habe. 
 Wenn gzip ein leeres, weil nix gekriegt, auspacken soll, dann schaut das 
 so aus.

Wohl wahr, klingt plausibel.

   Allerdings vermute ich, hier ist ein Problem mit den Paketen auf dem 
   Server selbst ?
  Hmmm... glaub ich eher nicht. 
 Denke doch !
 Das http://ftp.de.debian.org unstable/contrib Sources sieht nicht gut 
 aus:
 In http://ftp.de.debian.org/debian/dists/unstable/contrib/source/
 liegt kein Sources.

Na, irgendwer wird das ja so eingetragen und getestet haben, denke ich mal.
Wie gesagt ist der Rechner ein Debian m68k autobuilder, so dass auch andere
Leute per sudo da herumwerkeln koennen. Kann auch sein, dass diese Eintraege
mal hinzugefuegt wurden, weil der buildd das irgendwie verlangt hatte
(gleiche sources.list in chroot und host)... muss ich mal schauen... 

   Welche Repository benutzt Ihr  ?
 Das sind zweifelsfrei zuviele. Die Dopplungen sind IMHO nicht gut.
 Kürze doch zunachst mal auf das Wesentliche:
 Eines für security, eines für Standard-Woody. Dann das apt-get update 
 fahren.
 Beschränken wir uns erstmal auf den Kern der Sache.

Naja, zuviel gibts nicht... das sollte apt-get eigentlich abkoennen, aber
ich kuerze trotzdem mal 

-- 
Ciao...  // 
  Ingo \X/


-- 
Haeufig gestellte Fragen und Antworten (FAQ): 
http://www.de.debian.org/debian-user-german-FAQ/

Zum AUSTRAGEN schicken Sie eine Mail an [EMAIL PROTECTED]
mit dem Subject unsubscribe. Probleme? Mail an [EMAIL PROTECTED] (engl)



Re: apt-get update mit proxy/gzip fehler

2003-02-27 Thread Hans Gerber
Hallo,

Ingo Juergensmann [EMAIL PROTECTED] schrieb :

  
   Get:31 http://ftp.de.debian.org unstable/non-US/non-free Release
   [95B] 
 
   Err http://ftp.de.debian.org unstable/main Sources
   
  
 Could not open file 
  /var/lib/apt/lists/partial/ftp.de.debian.org_debian_dists_unstable_
  main_source_Sources
   - open (2 No such file or directory)
   Err http://ftp.de.debian.org unstable/contrib Sources
 Could not open file
  Da kriegst Du Eine Datei nicht !
 
 Hmmm... *aeug*

O.K. Prinzip verstanden, aber warum krieg ich die Datei denn beim zeiten
Aufruf von 'apt-get update' direkt danach, bzw. warum diese
Fehlermeldung nicht mehr?

Allerdings vermute ich, hier ist ein Problem mit den Paketen auf
dem Server selbst ?
   Hmmm... glaub ich eher nicht. 
  Denke doch !
  Das http://ftp.de.debian.org unstable/contrib Sources sieht nicht
  gut aus:
  In http://ftp.de.debian.org/debian/dists/unstable/contrib/source/
  liegt kein Sources.

wie müsste den der korrekte Eintrag aussehen, wenn man auch die sources
via apt-get bekommen möchte?

Danke,
Hans


--
Haeufig gestellte Fragen und Antworten (FAQ):
http://www.de.debian.org/debian-user-german-FAQ/

Zum AUSTRAGEN schicken Sie eine Mail an [EMAIL PROTECTED]
mit dem Subject unsubscribe. Probleme? Mail an [EMAIL PROTECTED] (engl)



Re: apt-get update mit proxy/gzip fehler

2003-02-27 Thread Ingo Juergensmann
On Thu, Feb 27, 2003 at 02:14:32PM +0100, Hans Gerber wrote:
  Hmmm... *aeug*
 O.K. Prinzip verstanden, aber warum krieg ich die Datei denn beim zeiten
 Aufruf von 'apt-get update' direkt danach, bzw. warum diese
 Fehlermeldung nicht mehr?

... zumal da noch nicht einmal mehr die Fehlermeldung kommt, dass die Datei
nicht gefunden werden konnte, richtig?

-- 
Ciao...  // 
  Ingo \X/


-- 
Haeufig gestellte Fragen und Antworten (FAQ): 
http://www.de.debian.org/debian-user-german-FAQ/

Zum AUSTRAGEN schicken Sie eine Mail an [EMAIL PROTECTED]
mit dem Subject unsubscribe. Probleme? Mail an [EMAIL PROTECTED] (engl)



Re: apt-get update mit proxy/gzip fehler

2003-02-27 Thread Hans Gerber
Hallo,

Ingo Juergensmann [EMAIL PROTECTED] schrieb :

 On Thu, Feb 27, 2003 at 02:14:32PM +0100, Hans Gerber wrote:
   Hmmm... *aeug*
  O.K. Prinzip verstanden, aber warum krieg ich die Datei denn beim
  zeiten Aufruf von 'apt-get update' direkt danach, bzw. warum diese
  Fehlermeldung nicht mehr?
 
 ... zumal da noch nicht einmal mehr die Fehlermeldung kommt, dass die
 Datei nicht gefunden werden konnte, richtig?

Ja, es kommt gar keine Fehlermeldung.

gruß,
hans


--
Haeufig gestellte Fragen und Antworten (FAQ):
http://www.de.debian.org/debian-user-german-FAQ/

Zum AUSTRAGEN schicken Sie eine Mail an [EMAIL PROTECTED]
mit dem Subject unsubscribe. Probleme? Mail an [EMAIL PROTECTED] (engl)



apt-get update mit proxy/gzip fehler

2003-02-26 Thread Hans Gerber
Hallo,

schon länger bekomme ich beim ersten Auruf von 'apt-get update' immer
folgende Fehlermeldung:


Get:14 http://texas unstable/main Sources
99% [14 Sources gzip 0] [Connecting to texas (192.168.5.16)]
92.8kB/s 0s
gzip: stdin: unexpected end of file
Err http://texas unstable/main Sources
...

das ganze tritt für zwei sources-Quellen auf.

Wenn ich direkt danach nochmal 'apt-get update' aufrufe ist alles in
Butter und die Index-Dateien werden eingelesen.

Wo setze ich an?
(sources.list zeigt auf einen apt-proxy auf der gleichen Maschine)

gruß,
hans


--
Haeufig gestellte Fragen und Antworten (FAQ):
http://www.de.debian.org/debian-user-german-FAQ/

Zum AUSTRAGEN schicken Sie eine Mail an [EMAIL PROTECTED]
mit dem Subject unsubscribe. Probleme? Mail an [EMAIL PROTECTED] (engl)



Re: apt-get update mit proxy/gzip fehler

2003-02-26 Thread Hans Gerber
Hallo Ingo,

Ingo Juergensmann [EMAIL PROTECTED] schrieb :

 Bei mir ist es ein Squid und kein apt-proxy, wobei ich nicht glaube,
 dass es am Proxy selber liegt, sondern am jeweiligen System, da ja bei
 mir auch 3 andere Rechner ueber den gleichen Squid updaten, wobei die
 anderen Rechner x86 Rechner sind und das Problem nur auf m68k
 auftritt.

Aber squid und apt-get update auf der gleichen Maschine?
Hier ist nämlich ein i386 betroffen, was mich nicht an an Architektur
Problem glauben lässt.

Könnte es evtl. an der zahl der sources.list Einträge liegen?
das Problem tritt afair bei mir nämlich auf, seitdem ich eine KDE3
Quelle zugefügt habe.

Oder gar an der Reihenfolge der Einträge?

Es gibt da viel auszutesten, deswegen wäre mir lieber, wenn jemand
bereits wüsste, was das Problem ist.

Ciao,
hans


--
Haeufig gestellte Fragen und Antworten (FAQ):
http://www.de.debian.org/debian-user-german-FAQ/

Zum AUSTRAGEN schicken Sie eine Mail an [EMAIL PROTECTED]
mit dem Subject unsubscribe. Probleme? Mail an [EMAIL PROTECTED] (engl)



What am I doing wrong? (apt-get via http proxy)

2001-10-04 Thread Stan Brown
I have a Debian STABLE machien that I need to isntall at work behind a very
restricitive firewall. I have a Squid server runing thta can get through
the firewall (HTTP only ftp does not work). I have set up /etc/apt/apt.conf
like this:


// Pre-configure all packages before they are installed.
// (Automatically added by debconf.)
DPkg::Pre-Install-Pkgs {/usr/sbin/dpkg-preconfigure --apt;};

  
  // HTTP method configuration
  http 
  {
Proxy http://squid.ourcompany.com:3128;;
Timeout 120;
Pipeline-Depth 5;

// Cache Control. Note these do not work with Squid 2.0.2
No-Cache false;
Max-Age 86400; // 1 Day age on index files
No-Store false;// Prevent the cache from storing archives
  };

But it does not work, and I don't see it trying to hit the proxy in the
squid access logs, whne I do a Update Available.

What am I doing wrong?


-- 
Stan Brown [EMAIL PROTECTED]843-745-3154
Charleston SC.
-- 
Windows 98: n.
useless extension to a minor patch release for 32-bit extensions and
a graphical shell for a 16-bit patch to an 8-bit operating system
originally coded for a 4-bit microprocessor, written by a 2-bit 
company that can't stand for 1 bit of competition.
-
(c) 2000 Stan Brown.  Redistribution via the Microsoft Network is prohibited.



apt-get through a proxy ?

2000-11-05 Thread Gyulai Mihaly
I can't go through our intranet proxy, although I configure my
apt.conf file to use it...

Is there a HOWTO about 'apt-get' ? (and other 'apt' programs?)

Please show me an URL, where I can see a usable 'apt.conf' file
using a proxy...

Thanks.

-- 
GYULAI Mihály   http://gyulai.freeyellow.com  Rejtő Jenő művei, Linux
 
Volt már olyan, hogy csak a tagline-t olvastad, a levelet nem ?
Did you find yourself just reading the tagline only?



RE: apt-get through a proxy ?

2000-11-05 Thread Jason Holland
I set my shell env settings http_proxy and ftp_proxy and it works perfect.

Jason


 I can't go through our intranet proxy, although I configure my
 apt.conf file to use it...

 Is there a HOWTO about 'apt-get' ? (and other 'apt' programs?)

 Please show me an URL, where I can see a usable 'apt.conf' file
 using a proxy...

 Thanks.

 --
 GYULAI Mihály   http://gyulai.freeyellow.com  Rejtő Jenő művei, Linux

 Volt már olyan, hogy csak a tagline-t olvastad, a levelet nem ?
 Did you find yourself just reading the tagline only?


 --
 Unsubscribe?  mail -s unsubscribe
 [EMAIL PROTECTED]  /dev/null





Help with apt-get through a proxy

2000-07-27 Thread Colquhoun, Ian:
First let me apologize for the seemingly basic question but I have exhausted
all the documentation on apt and I don't know where else to turn.

What I'm trying to do is to get apt-get to work through a SOCKS firewall.
Now, I basically know nothing about SOCKS but I have the IP address and port
from the network guys. I've tried various settings of the http_proxy
environment variable but I just can't seem to get it to work. If someone
could help me along it would be greatly appreciated!

Please CC: me directly on your response as I'm not actually subscribed to
the list.

Thanks,
Ian.

--
Ian Colquhoun
[EMAIL PROTECTED]



Re: Help with apt-get through a proxy

2000-07-27 Thread Debbie Young


Colquhoun, Ian: wrote:
 
 First let me apologize for the seemingly basic question but I have exhausted
 all the documentation on apt and I don't know where else to turn.
 
 What I'm trying to do is to get apt-get to work through a SOCKS firewall.
 Now, I basically know nothing about SOCKS but I have the IP address and port
 from the network guys. I've tried various settings of the http_proxy
 environment variable but I just can't seem to get it to work. If someone
 could help me along it would be greatly appreciated!
 
 Please CC: me directly on your response as I'm not actually subscribed to
 the list.
 
 Thanks,
 Ian.
I guess you're gonna have to figure out a way to get a package called
socks4-clients through your firewall first :). This package puts
clients' requests through the proxy like so:

apt-get lynx www.linux.com.

chris



Re: Help with apt-get through a proxy

2000-07-27 Thread Shaul Karl
 
 
 Colquhoun, Ian: wrote:
  
  First let me apologize for the seemingly basic question but I have exhausted
  all the documentation on apt and I don't know where else to turn.
  
  What I'm trying to do is to get apt-get to work through a SOCKS firewall.
  Now, I basically know nothing about SOCKS but I have the IP address and port
  from the network guys. I've tried various settings of the http_proxy
  environment variable but I just can't seem to get it to work. If someone
  could help me along it would be greatly appreciated!
  
  Please CC: me directly on your response as I'm not actually subscribed to
  the list.
  
  Thanks,
  Ian.
 I guess you're gonna have to figure out a way to get a package called
 socks4-clients through your firewall first :). This package puts
 clients' requests through the proxy like so:
 
 apt-get lynx www.linux.com.
 


Another option to handle the socks server is dante-clients.
With it you probably 
socksify apt-get ...
but I am not sure.


 chris
 
 
 -- 
 Unsubscribe?  mail -s unsubscribe [EMAIL PROTECTED]  /dev/null

-- 

--  Shaul Karl [EMAIL PROTECTED]

Donate free food to the world's hungry: see http://www.thehungersite.com




apt-get with a proxy

2000-03-03 Thread Jonathan Hall
I cannot get apt-get to work with an HTTP proxy.  I'm using squid as the
proxy server.

I issue the following commands:

export http_proxy=http://server:3128/;  (where server is the name of the
proxy machine)
apt-get install blah (where blah is an actual package
name :-)

And I get the following:
Err http://http.us.debian.org stable/main wget 1.5.3-1.1
  504 Gateway Time-out
Failed to fetch
http://http.us.debian.org/debian/dists/stable/main/binary-i386/web/wget_1.5.3-1.1.deb
  504 Gateway Time-out
E: Unable to fetch some archives, maybe try with --fix-missing?

On the proxy server, looking at /var/log/squid/access.log I see:

316055347.030 119543 xx.xx.xx.xx TCP_MISS/504 1161 GET
http://http.us.debian.org/debian/dists/stable/main/binary-i386/web/wget_1.5.3-1.1.deb
- DIRECT/http.us.debian.org -

When I test the proxy with lynx it works fine.  What's the deal?



--
The wireless music box has no imaginable commercial value. Who would pay
for a message sent to nobody in particular? -- David Sarnoff's associates
in response to his urgings for investment in the radio in the 1920s.
--
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  Jonathan Hall  *  [EMAIL PROTECTED]  *  PGP public key available
 Systems Admin, Future Internet Services; Goessel, KS * (316) 367-2487
 http://www.futureks.net  *  PGP Key ID: FE 00 FD 51
  -=  Running Debian GNU/Linux  =-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -


Re: apt-get with a proxy

2000-03-03 Thread Jason Gunthorpe

On Thu, 2 Mar 2000, Jonathan Hall wrote:

 And I get the following:
 Err http://http.us.debian.org stable/main wget 1.5.3-1.1
   504 Gateway Time-out

This is an error directly from squid, there is something wrong on that
end.

Jason


Re: apt-get with a proxy

2000-03-03 Thread Shaul Karl
 I cannot get apt-get to work with an HTTP proxy.  I'm using squid as the
 proxy server.
 


It is working for me (although I have it as a line in /etc/apt/apt.conf).


 I issue the following commands:
 
 export http_proxy=http://server:3128/;  (where server is the name of the
   proxy machine)
 apt-get install blah   (where blah is an actual package
   name :-)
 
 And I get the following:
 Err http://http.us.debian.org stable/main wget 1.5.3-1.1
   504 Gateway Time-out
 Failed to fetch
 http://http.us.debian.org/debian/dists/stable/main/binary-i386/web/wget_1.5.3-1.1.deb
   504 Gateway Time-out
 E: Unable to fetch some archives, maybe try with --fix-missing?
 
 On the proxy server, looking at /var/log/squid/access.log I see:
 
 316055347.030 119543 xx.xx.xx.xx TCP_MISS/504 1161 GET
 http://http.us.debian.org/debian/dists/stable/main/binary-i386/web/wget_1.5.3-1.1.deb
 - DIRECT/http.us.debian.org -
 


Perhaps you had a DIRECT directive line in /etc/apt/apt.conf?

[07:32:50 tcl8.3]$ zgrep DIRECT /usr/share/doc/apt/examples/configure-index.g
z
Proxy::http.us.debian.org DIRECT;  // Specific per-host setting
Proxy::http.us.debian.org DIRECT; // Specific per-host setting
[07:33:05 tcl8.3]$ 

Posting your /etc/apt/apt.conf might help.

 When I test the proxy with lynx it works fine.  What's the deal?
 
 
 
 --
 The wireless music box has no imaginable commercial value. Who would pay
 for a message sent to nobody in particular? -- David Sarnoff's associates
 in response to his urgings for investment in the radio in the 1920s.
 --
 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
   Jonathan Hall  *  [EMAIL PROTECTED]  *  PGP public key available
  Systems Admin, Future Internet Services; Goessel, KS * (316) 367-2487
  http://www.futureks.net  *  PGP Key ID: FE 00 FD 51
   -=  Running Debian GNU/Linux  =-
 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
 
 
 -- 
 Unsubscribe?  mail -s unsubscribe [EMAIL PROTECTED]  /dev/null

-- 
Shaul Karl [EMAIL PROTECTED]
An elephant is a mouse with an operating system.



Re: apt-get and http proxy failure

1999-09-27 Thread Richard A Nelson
On Fri, 24 Sep 1999, Jason Gunthorpe wrote:
 On Fri, 24 Sep 1999, Richard A Nelson wrote:
 
  If I use an environment variable http_proxy, apt does use the specified
  proxy.
 
 Include the whole config file - betcha have a no proxy setting.

[badlands:/u/download 0]$ cat /etc/apt/apt.conf
// Options for the downloading routines
Acquire
{
  Queue-Mode host;   // host|access
  Retries 0;
  
  // HTTP method configuration
  http 
  {
Proxy http://localhost:80;;
Proxy::wyvern.hursley.ibm.com DIRECT;
Timeout 200;

// Cache Control. Note these do not work with Squid 2.0.2
No-Cache true;
Max-Age 86400; // 1 Day age on index files
No-Store true;// Prevent the cache from storing archives 
 
Pipeline-Depth 0; //This doesn't seem to work either ?!?!
  };
};

[badlands:/u/download 0]$ cat /etc/apt/sources.list
deb http://http.us.debian.org/debian unstable main contrib non-free
deb http://wyvern.hursley.ibm.com/ilc/debian unstable main contrib non-free non-
US/main non-US/contrib non-US/non-free

-- 
Rick Nelson
C:\WINDOWS C:\WINDOWS\GO C:\PC\CRAWL


Re: apt-get and http proxy failure

1999-09-25 Thread Jason Gunthorpe

On Fri, 24 Sep 1999, Richard A Nelson wrote:

 If I use an environment variable http_proxy, apt does use the specified
 proxy.

Include the whole config file - betcha have a no proxy setting.

Jason


apt-get and http proxy failure

1999-09-24 Thread Richard A Nelson
If I use an environment variable http_proxy, apt does use the specified
proxy.

However, with this in my /etc/apt/apt.conf, the proxy is silently ignored:
Acquire
{
  Queue-Mode host;   // host|access
  Retries 0;

  // HTTP method configuration
  Http 
  {
 Proxy http://localhost:80;;


I can see this in the debugging info:
Acquire::Http ;
Acquire::Http::Proxy http://localhost:80;;
Acquire::Http::Timeout 200;
Acquire::Http::No-Cache true;
Acquire::Http::Max-Age 86400;
Acquire::Http::No-Store true;
Acquire::Http::Pipeline-Depth 1;
... Acquire::Http::Proxy=http://localhost:80 ... (on the get)
- 
http:102%20Status%0aURI:%20http://http.us.debian.org/debian/dists/unstable/main/binary-i386/Packages.gz%0aMessage:%20Connecting%20to%20http.us.debian.org%20(206.187.92.15)
  (ignoring the proxy)

What am I doing wrong?
-- 
Rick Nelson
C:\WINDOWS C:\WINDOWS\GO C:\PC\CRAWL


APT-GET and SOCKS proxy firewall

1998-12-16 Thread BOHICA
I'm having a bit of trouble with apt-get.

Background:
slink install from HDD
connected to LAN without trouble
installed socks-client via sneakernet and configured per the man page,
setting http and ftp for port 1080 in socks.conf
can successfully pass through firewall with minicom
read the man page for sources.list and tried both set $http_proxy and
http://proxy:port/

apt-get generates 403 Proxy denies fulfilling the request when trying
to update Packages.gz

There is not enough space on my LAN ftp point to drop the Debian archive
and the PC has no CD-ROM.

Help???