Could not download all repository indexes in Synaptic Package Manager due lan proxy

Asked by paul_loves_stuff@yahoo.co.uk

In a fresh installation of Lucid Lynx 10.04 I've configured my network proxy settings and it's possible to connect to the internet with firefox.

However when I try to reload in Synaptic Package manager I get: Could not download all repository indexes

Failed to fetch http://archive.ubuntu.com/ubuntu/dists/lucid/main/binary-i386/Packages.gz 407 Proxy Authentication Required ( The ISA Server requires authorization to fulfill the request. Access to the Web Proxy filter is denied. )
Failed to fetch http://archive.ubuntu.com/ubuntu/dists/lucid/restricted/binary-i386/Packages.gz 407 Proxy Authentication Required ( The ISA Server requires authorization to fulfill the request. Access to the Web Proxy filter is denied. )

etc...

I downloaded NTLMAPS from packages.ubuntu.com and entered the appropriate details but the situation is still the same.

If I try to do sudo apt-get install build-essential I also get an error:

paul@ubuntu:~$ sudo apt-get install build essential
[sudo] password for paul:
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Couldn't find package build

I think I'm having trouble authenticating with my proxy to connect to get the packages. I'd like to be able to get the synaptic package manager working and to get the build-essential package installed.

Thanks

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu synaptic Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
biophysics (molecularbiophysics) said :
#1

You have set the preferences in gnome directly:

http://www.yolinux.com/TUTORIALS/GNOME.html#GNOMEPROXY

Revision history for this message
paul_loves_stuff@yahoo.co.uk (paul-loves-stuff) said :
#2

I set the preferences in there first, the internet connection worked but the synaptic package manager still does not.

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#3

sudo apt-get install build-essential

NONE of the packages have spaces in, thats why the installer couldn't find build ;)

Revision history for this message
paul_loves_stuff@yahoo.co.uk (paul-loves-stuff) said :
#4

When I try that I get:

root@ubuntu:~# apt-get install build-essential
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Couldn't find package build-essential

The problem is with the authentication with the proxy, I've managed to create a similar build on a home network with no problems. The only difference here is the proxy.

Revision history for this message
Sam_ (and-sam) said :
#5
Revision history for this message
paul_loves_stuff@yahoo.co.uk (paul-loves-stuff) said :
#6

Hmmn thanks for your help but it's still not authenticating with the proxy.

I was hopeful the part where i supplied my password and log on would have helped but it's not I'm afraid.

Revision history for this message
GREG T. (ubuntuer) said :
#7

check your setting in software sources .

Revision history for this message
paul_loves_stuff@yahoo.co.uk (paul-loves-stuff) said :
#8

i've tried a variety of settings in the Ubuntu Software Center software sources and I can't succesfully "select best server", it comes up with the No Suitable Download Server found, Check your internet connection.

I have checked my internet connection and it works fine with firefox, i can ping locations too. I can't get synaptic package manager or apt-get to authenticate with my proxy.

Revision history for this message
Sam_ (and-sam) said :
#9
Revision history for this message
marcobra (Marco Braida) (marcobra) said :
#10

Please tell try this and report ONLY errors row here:

export http_proy=http://127.0.0.1:3142
sudo apt-get update

Please substitute the export http_proy=http://127.0.0.1:3142 with your real ntlm proxy address...

Thank you

Can you help with this problem?

Provide an answer of your own, or ask paul_loves_stuff@yahoo.co.uk for more information if necessary.

To post a message you must log in.