You are not logged in.

#1 2009-08-24 15:49:35

Zinthose
Member
Registered: 2009-08-24
Posts: 2

[solved] wget works... Pacman dosn't...

First of all, I have read a plethora of related posts and have yet to find a working solution.

Proxy is a Microsoft ISA server, ntlmaps is a possible solution but without Python installed I am unable to use it.

/etc/pacman.conf

# Added Line
XferCommand = wget --passive-ftp -c -O %o %u

/etc/wgetrc

# Added Lines
http_proxy = http://isaserv:80/
ftp_proxy = http://isaserv:80/

proxy_user=userid@domain
proxy_password=*******

wget works but pacman dosn't.... any ideas?

Last edited by Zinthose (2009-08-24 18:56:29)

Offline

#2 2009-08-24 18:12:35

shining
Pacman Developer
Registered: 2006-05-10
Posts: 2,043

Re: [solved] wget works... Pacman dosn't...

export http_proxy=http://isaserv:80/
export ftp_proxy=http://isaserv:80/

pacman


pacman roulette : pacman -S $(pacman -Slq | LANG=C sort -R | head -n $((RANDOM % 10)))

Offline

#3 2009-08-24 18:55:43

Zinthose
Member
Registered: 2009-08-24
Posts: 2

Re: [solved] wget works... Pacman dosn't...

/etc/profile.bash

# Added Lines
    export http_proxy=http://isaserv:80/
    export ftp_proxy=http://isaserv:80/

... Rebooted

[root@myhost ~]# echo $http_proxy
http://isaserv:80/
[root@myhost ~]# echo $ftp_proxy
http://isaserv:80/
[root@myhost ~]# pacman --sync --refresh
:: Synchronizing package databases...
error: failed to update core (no servers configured for repository)
error: failed to update extra (no servers configured for repository)
error: failed to update community (no servers configured for repository)
error: failed to synchronize any databases

No change...

...hmm, after typing this up I decided do a search on the actual error pacman chocked up!

Insert FaceToPalm Here

  Yep proxy settings were fine.  It was the mirrorlist issue as stated in  this post.

/sigh, I'm used used to the proxy setttings being such a pain I was overlooking the obvious... sorry about that.

Issue resolved.

Offline

#4 2009-11-04 00:42:41

angvp
Forum Fellow
From: Buenos Aires, Argentina
Registered: 2008-05-15
Posts: 32
Website

Re: [solved] wget works... Pacman dosn't...

I am having this issue but the difference is that I am getting a 407 error, which means that I have to use ntlmaps.. hmm

Tomorrow I hope to install Arch on my work machine, wish me luck

(for the interested people I will write a tutorial about how to installing through a crappy isa server proxy).

Cheers

Offline

Board footer

Powered by FluxBB