*nix Thread, Ubuntu Package Manager in Norfolk in Technical; Can anyone shed light on this?
I've seen there are people in Norfolk and Suffolk here, so you might be ...
11th May 2009, 05:11 PM #1
- Rep Power
Ubuntu Package Manager in Norfolk
Can anyone shed light on this?
I've seen there are people in Norfolk and Suffolk here, so you might be able to help.
I'm trying Ubuntu on school laptops and netbooks. I know Ubuntu really well, but can't get the package manager to connect, just getting "No route to host" error.
I can't think of anything I've missed.
We're behind a proxy, of course. Is that it? Can we not connect to the package servers behind the proxy?
Am I missing something really obvious?
Or maybe there is some cunning way around this.
Thanks for any thoughts.
11th May 2009, 05:32 PM #2
I think you need to set the proxy in the system settings, there is a system wide proxy rather than just setting it in the browser which makes sense in linux land. Although I have a vague memory of doing some thing via the command line last time I did it there is an option via the gui, you would need to set this dynamically for each user who logs on to have some control of who gets what through your proxy, I think!
Last edited by Hacksawbob; 11th May 2009 at 05:34 PM.
11th May 2009, 05:32 PM #3
If you're behind a proxy you'll need to tell Ubuntu that by clicking on System, Preferences, Network Proxy and inputting the information in there.
Hope this helps!
The command line way Hacksawbob refers to is most likely:
11th May 2009, 08:32 PM #4
- Rep Power
Thanks for the replies
I've already tried that, however!
I'm as sure as I can be that the information I have in there is right, and the error occurs on two different machines so it's not the machine.
My suspicion is that I cannot access the repository servers through the proxy - and I have no control at all over the proxy!
Any other ideas?
11th May 2009, 08:42 PM #5
Have you tried a different mirror? (Maybe use apt-mirror or something to host a local repository)
Do you have authentication turned on at the proxy? (This can break things)
11th May 2009, 08:55 PM #6
How are they trying to connect to the repository - which protocol? CVS, FTP, HTTP? I'm not sure which port CVS uses and think that might be blocked by NCC.
For FTP you need an IP within the first 7 of a range 10.x.x.1 - 10.x.x.7 - IP's above 7 are blocked on FTP.
For HTTP, have you tried pointing a web browser at the repository. You'll soon find out if it's blocked by NCC's bluecoat servers.
Also double check the repository app is defiantly connecting through your cachepilot server - with any usernames/passwords if required.
12th May 2009, 10:46 AM #7
If you have enough space you can do what we do and have a repository in-house. We then set up all the machines to point to this one, and they don't have to go out on the Internet to download (faster for updates as well). We use rsync to sync the repository with our internal one.
Hope this helps.
12th May 2009, 11:04 AM #8
- Rep Power
Thanks for all these replies.
I doubt that we can host any sort of local repository - space and money in a small primary school are both at a premium!
I'll give trying to contact the repository server through a web browser, that's an interesting thought.
Might be a while though - I had quite a bad car crash on the way back from school yesterday and I'm not at work today!
I'd be grateful of any other thoughts - I still suspect that the servers are going to be blocked.
It seems as if just about everything else is in Norfolk!
12th May 2009, 11:05 AM #9
try going to the repository URLs in firefox, it is possible that they are filtered, i get that with fedora here in lancashire it takes a few mins trundeling through mirrior lists before it finds one that has made its way onto the whitelist
12th May 2009, 11:12 AM #10
- Rep Power
That sounds like a good idea - how long did it take to find a mirror that worked? Did you happen to make a note? And what are the chances that it will always be unblocked?
Why block repository servers anyway? It makes using OSS much more difficult.
12th May 2009, 11:15 AM #11
Are you using an ISA server? Ubuntu can't get through unless you install something like this:
Cntlm: Fast NTLM Authentication Proxy in C
Unfortunately, it's not good for multi-user environment as you need to enter your username and password in plain text in a config file.
12th May 2009, 11:21 AM #12
- Rep Power
I don't know about an ISA server. I really don't know anything about them. I don't think we have anything like that in school, but what there is further along the line I have no idea!
12th May 2009, 11:29 AM #13
well these where fedora mirrors for yum not apt-get mirrors.
Originally Posted by alecspoons
a good mirror to try would be kent uni.
Welcome - The Mirror Service
see if you can select the unbuntu repo on there as your primary mirror.
just a thought, are you using:
because http_proxy and ftp_proxy might be set differently in the "sudo environment", try
and then as kmount said:
and run apt-get without the preceding sudo
12th May 2009, 11:37 AM #14
I hate to suggest it but a call to ICT Solutions would be in order to ask if this is being blocked.
I have had problems in the past with things like this.
12th May 2009, 11:38 AM #15
- Rep Power
Using the kent uni mirror ought to be OK, surely! Norfolk would trust them, wouldn't they?
I'll give that a try.
I haven't used apt-get as such - I've simply gone through Synaptic Package Manager and 'Add/Remove', so I've not tried any of those commands directly.
By BaccyNet in forum Courses and Training
Last Post: 17th October 2010, 04:41 PM
By tmcd35 in forum Educational IT Jobs
Last Post: 7th October 2008, 09:43 PM
By ninjabeaver in forum Educational IT Jobs
Last Post: 20th June 2008, 10:30 PM
Last Post: 25th March 2008, 06:13 PM
By Slartibartfast in forum Educational IT Jobs
Last Post: 13th December 2007, 11:09 AM
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Tags for this Thread