Re: apt-get a http proxy
To |
Debian CZ/SK project discussion list <czdebian-l zavinac debian bod cz> |
From |
Milan Buska <mbuska zavinac centrum bod cz> |
Date |
Thu, 12 Oct 2006 00:44:03 +0200 |
User-agent |
Mutt/1.5.13 (2006-08-11) |
On Wed, Oct 11, 2006 at 09:26:07PM +0200, Vitezslav Kotrla wrote:
> Ahoj,
>
> jak používáte apt s proxy?
>
> Zkusil jsem
>
> # export http_proxy=172.22.1.1:3128
>
> a wget to bere (ehm, evolution mi zalamuje řádky, snad to bude čitelné):
>
> # wget
> http://cz.archive.ubuntu.com/ubuntu/pool/main/g/gdb/gdb_6.4-1ubuntu5_i386.deb
> --09:47:34--
> http://cz.archive.ubuntu.com/ubuntu/pool/main/g/gdb/gdb_6.4-1ubuntu5_i386.deb
> => `gdb_6.4-1ubuntu5_i386.deb'
> Connecting to 172.22.1.1:3128... connected.
> Proxy request sent, awaiting response... 200 OK
> Length: 2,700,054 (2.6M) [text/plain]
>
> 100%[====================================>] 2,700,054 197.63K/s ETA
> 00:00
>
> 09:47:47 (219.43 KB/s) - `gdb_6.4-1ubuntu5_i386.deb' saved
> [2700054/2700054]
>
> ale apt se chová podivně
>
> # apt-get install gdb
> Reading package lists... Done
> Building dependency tree... Done
> The following NEW packages will be installed:
> gdb
> 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
> Need to get 2700kB of archives.
> After unpacking 5513kB of additional disk space will be used.
> Err http://cz.archive.ubuntu.com dapper/main gdb 6.4-1ubuntu5
> Cannot initiate the connection to 3128:80 (0.0.12.56). - connect (22
> Invalid argument)
> Failed to fetch
> http://cz.archive.ubuntu.com/ubuntu/pool/main/g/gdb/gdb_6.4-1ubuntu5_i386.deb
> Cannot initiate the connection to 3128:80 (0.0.12.56). - connect (22
> Invalid argument)
> E: Unable to fetch some archives, maybe run apt-get update or try with
> --fix-missing?
http://www.penguin.cz/~radek/book/unix/ch06s15s03.html
Milan
--
Remember, no question is too stupid and no problem too small
-- We've all been beginners
Partial thread listing:
- Re: apt-get a http proxy, (pokračuje)