Em Sex, 2005-06-24 às 15:37 -0300, Yupanqui Munoz escreveu: > Aqui um exemplo que uso no trabalho > > Acquire{ > HTTP::proxy "http://10.50.50.29:3128"; > FTP::proxy "http://10.50.50.29:3128"; > } humm apenas melhorando um pouco (retirado do man apt.conf) Acquire{ HTTP::proxy "http://usuario:senha@10.50.50.29:3128"; FTP::proxy "http://usuario:senha@10.50.50.29:3128"; } esta diretiva deve ficar no /etc/apt/apt.conf ____________________________________________________________________ THE ACQUIRE GROUP The Acquire group of options controls the download of packages and the URI handlers. Queue-Mode Queuing mode; Queue-Mode can be one of host or access which determines how APT parallelizes outgoing connections. host means that one connection per target host will be opened, access means that one connection per URI type will be opened. Retries Number of retries to perform. If this is non-zero APT will retry failed files the given number of times. Source-Symlinks Use symlinks for source archives. If set to true then source archives will be symlinked when possible instead of copying. True is the default. http HTTP URIs; http::Proxy is the default http proxy to use. It is in the standard form of http://[[user][:pass]@]host[:port]/. Per host proxies can also be specified by using the form http::Proxy::<host> with the special keyword DIRECT meaning to use no proxies. The http_proxy environment variable will override all settings. > > > > Em 24/06/05, Cristiano Silva dos Santos<christianstudio@ig.com.br> escreveu: > > Usuários do Debian, > > > > Estou usando o debian e queria saber como faço para configurar o > > apt.conf para instalar pacotes que se encontram em repositórios do tipo > > ftp. Mas eu estou atrás de um Proxy squid, pelo menos o repositórios do > > tipo http consigo baixar e instalar os pacotes sem problemas. > > Estou querendo instalar os pacotes que se encontram no repositório > > deb ftp://ftp.nerim.net/debian-marillat/ stable main, principalmente os > > para vídeo, mas quando faço o comando apt-get update lê todos o > > reposiórios http numa boa só nesse que fica na mensagem: > > > > Err ftp://ftp.nerim.net stable Release.gpg > > Server closed the connection > > Ign ftp://ftp.nerim.net stable Release > > Ign ftp://ftp.nerim.net stable/main Packages > > Err ftp://ftp.nerim.net stable/main Packages > > Server closed the connection > > Fetched 4B in 1m59s (0B/s) > > Failed to fetch > > ftp://ftp.nerim.net/debian-marillat/dists/stable/Release.gpg Server > > closed the connection > > Failed to fetch > > ftp://ftp.nerim.net/debian-marillat/dists/stable/main/binary-i386/Packages.gz > > Server closed the connection > > Reading package lists... Done > > W: Couldn't stat source package list ftp://ftp.nerim.net stable/main > > Packages > > (/var/lib/apt/lists/ftp.nerim.net_debian-marillat_dists_stable_main_binary-i386_Packages) > > - stat (2 No such file or directory) > > W: You may want to run apt-get update to correct these problems > > E: Some index files failed to download, they have been ignored, or old > > ones used instead. > > > > Possivelmente é problema de configuração de proxy, alguém poderia me > > ajudar? > > > > Cristiano Silva > > icq:298820904 > > msn:cristian0silva@hotmail.com > > > > -- > > To UNSUBSCRIBE, email to debian-user-portuguese-REQUEST@lists.debian.org > > with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org > > > > > > -- Paulo Ricardo Bruck - consultor Contato Global Solutions tel 011 5031-4932 fone/fax 011 5034-1732 cel 011 9235-4327
Attachment:
signature.asc
Description: Esta =?ISO-8859-1?Q?=E9?= uma parte de mensagem assinada digitalmente