Re: pacman from behind a proxy (not under my control)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Are you SURE the http_proxy is set when running the pacman command? 

Try doing something like (also add in the https proxy in case):

user@host$ http_proxy='http://proxy.name_of_uni.edu.my:8080' ftp_proxy='...' https_proxy='...' pacman ....

I have a one line script that just has (i don't use ftp):

#!/bin/bash
http_proxy='http://proxy:8080' https_proxy='https://proxy:8080' $*

save as pprox and then run:

user@host$ pprox pacman ....

and it works great.

good luck!

On Tue, 7 Aug 2012 16:47:24 +0800
Oon-Ee Ng <ngoonee.talk@xxxxxxxxx> wrote:

> On Tue, Aug 7, 2012 at 1:08 PM, Eliseo Ocampos <roskoff@xxxxxxxxx>
> wrote:
> > On Mon, Aug 6, 2012 at 11:58 PM, Oon-Ee Ng <ngoonee.talk@xxxxxxxxx>
> > wrote:
> >> So I just tried a new install, it works and even got updated the
> >> first time. Left it over the weekend, now that I'm back on it
> >> (still quite bare, nothing much set up yet) I can't seem to get
> >> pacman connected to the mirrors.
> >>
> >> This machine is a university machine and needs to connect via
> >> proxy.name_of_uni.edu.my:8080, so I've set http_proxy and
> >> ftp_proxy to the right values. Also substituted in the actual IP
> >> addresses with the same results.
> >>
> >> What happens is that all the mirrors get the following (with wget
> >> uncommented in pacman.conf, similar results even when not using
> >> wget) Connecting to mirrors.kernel.org|149.20.4.71|:80... failed:
> >> Connection timed out.
> >>
> >> Ironically, when I try to wget the db file itself through wget
> >> http://mirrrors.kernel.org/archlinux/testing/os/i686/testing.db it
> >> downloads fine.... Any idea what the problem could be?
> >
> > Hi there, try to add a trailing slash to your proxy URL:
> > proxy.name_of_uni.edu.my:8080/
> >
> > HTH,
> > Eliseo.
> 
> Tried that, no difference. If its something as simple as that, my
> normal download using wget wouldn't work, would it?



[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux