+ Post New Thread
Results 1 to 10 of 10
*nix Thread, Fedora PreUpgrade Utility and the proxy [lancsngfl] in Technical; after the release of fedora 11 on tuesday ive been thinking how to update my servers that run fedora and ...
  1. #1
    Arcath's Avatar
    Join Date
    Feb 2009
    Location
    Lancashire
    Posts
    972
    Thank Post
    102
    Thanked 116 Times in 101 Posts
    Rep Power
    74

    Fedora PreUpgrade Utility and the proxy [lancsngfl]

    after the release of fedora 11 on tuesday ive been thinking how to update my servers that run fedora and my netbook.

    After a little research i discovered a utility in fedora that basically swaps the f10 repos for the f11 repos and runs an update. This seemed perfect, the servers would be able to update and the only down time would be the reboot at the end. To test it i turned on my netbook made sure there was no important documents that needed backing up and then launched the utility.

    The problem appears to be that it wont work behind the proxy, yum has its moments trying to find mirrors not filtered by the smart filter, but it normally comes across an accessbile mirror after no more than 3 attempts.

    This utility seems unable to function behind the proxy, i will try the netbook again when i get home and have un filtered internet, but obviously thats no help to my servers.

    Has anyone used this utility possibly to go 9 -> 10 behind the LancsNGFL proxy?

  2. #2
    Arcath's Avatar
    Join Date
    Feb 2009
    Location
    Lancashire
    Posts
    972
    Thank Post
    102
    Thanked 116 Times in 101 Posts
    Rep Power
    74
    its definatley the proxy, brought my netbook back to our office with un filtered internet and its set off no problems

  3. #3
    tmbenson's Avatar
    Join Date
    May 2009
    Location
    blacko
    Posts
    51
    Thank Post
    12
    Thanked 4 Times in 4 Posts
    Rep Power
    12
    Not sure if its the same principle with servers, im not too familiar with them.

    Our school also runs through NGFL, i managed to bypass this for updates on a standalone desktop by editing the .Bashrc file.

    Search the root folder for .bashrc and add the following to the end:

    export http_proxy=http://proxy.lancsngfl.ac.uk:8080
    export ftp_proxy=http://proxy.lancsngfl.ac.uk:8080

    hopefully this should be sufficient.

    Let me know,

    Tom

  4. Thanks to tmbenson from:

    Arcath (11th June 2009)

  5. #4

    Join Date
    Sep 2008
    Location
    Birmingham
    Posts
    82
    Thank Post
    31
    Thanked 8 Times in 7 Posts
    Rep Power
    13
    under /etc/yum.repos.d/fedora-updates.repo change the https to http for the mirrorlist.

    Then try it. That solved it for me earlier!

    Edit:
    You'll need to do it to all the repos that you are using!
    Last edited by AdamK; 11th June 2009 at 03:33 PM.

  6. Thanks to AdamK from:

    Arcath (11th June 2009)

  7. #5
    Arcath's Avatar
    Join Date
    Feb 2009
    Location
    Lancashire
    Posts
    972
    Thank Post
    102
    Thanked 116 Times in 101 Posts
    Rep Power
    74
    ok i'll try those on the first server that needs updating, left my netbook updating in the office, wireless = mistake, 2,4GB and its been going for nearly 2.5 hours now

  8. #6

    Join Date
    Sep 2008
    Location
    Birmingham
    Posts
    82
    Thank Post
    31
    Thanked 8 Times in 7 Posts
    Rep Power
    13
    Cool,

    Let us know if it works. I had to do it on a new install just to update, but I'm guessing it was the same problem your having.

  9. #7
    tmbenson's Avatar
    Join Date
    May 2009
    Location
    blacko
    Posts
    51
    Thank Post
    12
    Thanked 4 Times in 4 Posts
    Rep Power
    12
    you can also execute the commands above within a shell, on an individual basis.

    However if you do run it this way you will have to enter the export everytime you open a shell.

    Just another way around proxy though.

    Tom

  10. #8
    Arcath's Avatar
    Join Date
    Feb 2009
    Location
    Lancashire
    Posts
    972
    Thank Post
    102
    Thanked 116 Times in 101 Posts
    Rep Power
    74
    well it shafted my netbook it annaconda had a fail moment during the install after 60% of the packages had been updated so when it tried fedora 10 again it died horribly. so im going to format it and start again using ext4 instead of ext3.

    Not sure what cuased it but "preupgrade" is the only way to do it. you can basically change all the 10s to 11s in your yum conf and then run an update.

  11. #9

    Join Date
    Sep 2008
    Location
    Birmingham
    Posts
    82
    Thank Post
    31
    Thanked 8 Times in 7 Posts
    Rep Power
    13
    Gutted

    You'll still need to do the yum thing above though with a fresh install so you can get yum to work through the proxy.
    Obviously you still need to put the proxy into /etc/yum.conf too though.

    Also there are still a few bugs in F11, one annoying one is that the network doesn't seem to activate on boot, so "ifup eth0" in terminal does the trick. Not sure if the updates fix that, didn't get to check before I went home last night, but will have a play today if I get time.

  12. #10
    Arcath's Avatar
    Join Date
    Feb 2009
    Location
    Lancashire
    Posts
    972
    Thank Post
    102
    Thanked 116 Times in 101 Posts
    Rep Power
    74
    yeah i had my netbook setup to swap to the proxy / turn it off depending on the IP that it has.

    Yeah the network problems in f10 meant that i just used reservations in the DHCP server to set the IP on the servers

SHARE:
+ Post New Thread

Similar Threads

  1. Using Fedora 9
    By nephilim in forum *nix
    Replies: 5
    Last Post: 17th November 2008, 12:54 PM
  2. Lancsngfl Down?
    By Paul_L in forum CLEO
    Replies: 5
    Last Post: 13th November 2008, 01:35 PM
  3. Fedora & FOG Imaging
    By mmoseley in forum General Chat
    Replies: 0
    Last Post: 4th February 2008, 09:49 PM
  4. Karoshi on Fedora Core 5
    By fooby in forum *nix
    Replies: 22
    Last Post: 16th June 2006, 12:52 PM
  5. My Fedora server won't boot
    By StewartKnight in forum *nix
    Replies: 7
    Last Post: 10th January 2006, 04:05 PM

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
  •