+ Post New Thread
Page 1 of 2 12 LastLast
Results 1 to 15 of 19
*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 ...
  1. #1
    alecspoons's Avatar
    Join Date
    May 2009
    Location
    Norfolk
    Posts
    10
    Thank Post
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0

    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.

  2. #2
    Hacksawbob's Avatar
    Join Date
    Apr 2008
    Location
    North West UK
    Posts
    192
    Thank Post
    13
    Thanked 20 Times in 16 Posts
    Blog Entries
    2
    Rep Power
    17
    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.

  3. #3


    Join Date
    Feb 2007
    Location
    Northamptonshire
    Posts
    4,691
    Thank Post
    352
    Thanked 796 Times in 715 Posts
    Rep Power
    347
    Hi Alec,

    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!

    EDIT:

    The command line way Hacksawbob refers to is most likely:

    Code:
    export http_proxy="http://proxy.com:port"
    export ftp_proxy="http://proxy.com:port"
    Or so!

  4. #4
    alecspoons's Avatar
    Join Date
    May 2009
    Location
    Norfolk
    Posts
    10
    Thank Post
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0
    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?

  5. #5

    Ric_'s Avatar
    Join Date
    Jun 2005
    Location
    London
    Posts
    7,596
    Thank Post
    109
    Thanked 764 Times in 595 Posts
    Rep Power
    181
    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)

  6. #6

    tmcd35's Avatar
    Join Date
    Jul 2005
    Location
    Norfolk
    Posts
    5,665
    Thank Post
    850
    Thanked 893 Times in 738 Posts
    Blog Entries
    9
    Rep Power
    328
    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.

  7. #7
    linuxgirlie's Avatar
    Join Date
    Jul 2005
    Location
    Kent
    Posts
    340
    Thank Post
    106
    Thanked 33 Times in 18 Posts
    Rep Power
    31
    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.

    Jo

  8. #8
    alecspoons's Avatar
    Join Date
    May 2009
    Location
    Norfolk
    Posts
    10
    Thank Post
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0
    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!

    Thanks again.

  9. #9
    Arcath's Avatar
    Join Date
    Feb 2009
    Location
    Lancashire
    Posts
    972
    Thank Post
    102
    Thanked 116 Times in 101 Posts
    Rep Power
    74
    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

  10. #10
    alecspoons's Avatar
    Join Date
    May 2009
    Location
    Norfolk
    Posts
    10
    Thank Post
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0
    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.

  11. #11
    Gerry's Avatar
    Join Date
    Jun 2007
    Location
    North Wales
    Posts
    431
    Thank Post
    60
    Thanked 38 Times in 35 Posts
    Rep Power
    24
    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.

  12. #12
    alecspoons's Avatar
    Join Date
    May 2009
    Location
    Norfolk
    Posts
    10
    Thank Post
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0
    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!

  13. #13
    Arcath's Avatar
    Join Date
    Feb 2009
    Location
    Lancashire
    Posts
    972
    Thank Post
    102
    Thanked 116 Times in 101 Posts
    Rep Power
    74
    Quote Originally Posted by alecspoons View Post
    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.
    well these where fedora mirrors for yum not apt-get mirrors.

    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:

    Code:
    sudo apt-get ....
    because http_proxy and ftp_proxy might be set differently in the "sudo environment", try

    Code:
    su
    and then as kmount said:

    Code:
    export http_proxy="http://proxy.com:port"
    export ftp_proxy="http://proxy.com:port"
    and run apt-get without the preceding sudo

  14. #14

    plexer's Avatar
    Join Date
    Dec 2005
    Location
    Norfolk
    Posts
    13,618
    Thank Post
    648
    Thanked 1,619 Times in 1,449 Posts
    Rep Power
    421
    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.

    Ben

  15. #15
    alecspoons's Avatar
    Join Date
    May 2009
    Location
    Norfolk
    Posts
    10
    Thank Post
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0
    Thanks again.

    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.

SHARE:
+ Post New Thread
Page 1 of 2 12 LastLast

Similar Threads

  1. Prometric In Norfolk
    By BaccyNet in forum Courses and Training
    Replies: 11
    Last Post: 17th October 2010, 04:41 PM
  2. Assistant Systems Manager - Norfolk - £16.5k-£18.5k
    By tmcd35 in forum Educational IT Jobs
    Replies: 4
    Last Post: 7th October 2008, 09:43 PM
  3. ICT Technician / Network Manager - West Norfolk
    By ninjabeaver in forum Educational IT Jobs
    Replies: 6
    Last Post: 20th June 2008, 10:30 PM
  4. Replies: 9
    Last Post: 25th March 2008, 06:13 PM
  5. ICT Systems Manager - Norfolk (£23,749 - £29,735)
    By Slartibartfast in forum Educational IT Jobs
    Replies: 0
    Last Post: 13th December 2007, 11:09 AM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •