You are not logged in.

#1 2011-01-25 19:54:25

euterpe
Member
Registered: 2010-06-05
Posts: 8

Authorization failed in pacman

For quite a long time now, I have used pacman to update and install through my school's proxy server with cntlm. However, suddenly i have begun receiving this message.

#sudo pacman -Syu
:: Synchronizing package databases...
--2011-01-25 19:37:54--  http://mirrors.kernel.org/archlinux/cor … .db.tar.gz
Resolving mirrors.kernel.org... 130.239.17.6, 199.6.1.174
Connecting to mirrors.kernel.org|130.239.17.6|:80... connected.
HTTP request sent, awaiting response... 303 See Other
Location: fgtauth?00380f76edbee175 [following]
--2011-01-25 19:37:57--  http://mirrors.kernel.org/archlinux/cor … 76edbee175
Connecting to mirrors.kernel.org|130.239.17.6|:80... connected.
HTTP request sent, awaiting response... 401 Unauthorized
Authorization failed.

etc.

I have tried to solve this by checking that cntlm and pacman are both set up OK, and changing the mirrors I use, but I keep going round in circles.

Offline

#2 2011-01-25 20:06:56

Mr Green
Forum Fellow
From: U.K.
Registered: 2003-12-21
Posts: 5,893
Website

Re: Authorization failed in pacman

Is pacman up to date?


Mr Green

Offline

#3 2011-01-26 03:49:08

toofishes
Developer
From: Chicago, IL
Registered: 2006-06-06
Posts: 602
Website

Re: Authorization failed in pacman

Did you look at the URL you were getting redirected too? Clearly you have a really screwed up proxy server and/or client config that is sending you to non-existent URLs and not changing the domain correctly.

Offline

#4 2011-01-26 19:25:31

euterpe
Member
Registered: 2010-06-05
Posts: 8

Re: Authorization failed in pacman

My pacman is currently in version 3.4.1, but I am having trouble updating it, not least because it doesn't work. However, what I really don't get is that it was working fine for ages, then suddenlystopped working. My friend, who also runs Arch is not having the same problems though, so I really don't know what the problem is.

I assume that the problem is at my end, most likely within cntlm

Last edited by euterpe (2011-01-26 19:39:37)

Offline

#5 2011-01-26 20:15:05

Mr Green
Forum Fellow
From: U.K.
Registered: 2003-12-21
Posts: 5,893
Website

Re: Authorization failed in pacman

Could be a combination of things mirrors and certainly now pacman is out of date

Fire up Arch live cd and get in and repair the problem

MrG


Mr Green

Offline

#6 2011-06-22 18:58:03

euterpe
Member
Registered: 2010-06-05
Posts: 8

Re: Authorization failed in pacman

School has changed their proxy and it works fine now, but thanks anyway.

Offline

Board footer

Powered by FluxBB