Page 1 of 4 123 ... LastLast
Results 1 to 10 of 37
  1. #1
    *nix Technical Support
    Overall activity: 35.0%

    Join Date
    Jan 2009
    Location
    /home/hellnoire
    Posts
    9,845
    Liked
    319 times
    Points
    26,077

    Updating 8.10 to 9.04

    I figure since there is one day left, there is no harm in posting this.

    If you want to upgrade From Ubuntu Intrepid (8.10) to Jaunty (9.04) use this tutorial for faster upgrades.We are going to use apt-p2p for this tutorial.apt-p2p is a p2p proxy for apt dowloads, it will act as a proxy between apt requests and a repository server, downloading any request files from peers (if possible), else will fallback to direct HTTP download. In general, apt-p2p save bandwidth, use limited cpu and memory resources and reduce congestion on the ubuntu mirrors.apt-p2p will get the request files from peers, therefore, it will avoid the congestion on the ubuntu mirrors.

    Note:- This is only for advanced users, IF DONE WRONG, IT CAN AND WILL MESS UP YOUR OPERATING SYSTEM.
    apt-p2p features

    * Downloads from peers, increasing the available bandwidth to the user

    * Reduces the bandwidth requirements needed to setup a repository of packages

    * Seamlessly integrates with the current APT tool

    * Automatically falls back to downloading from an HTTP mirror when peers are not available

    * Builds on other already existing tools where possible

    * Fast and requires limited CPU and memory

    * Will try to download any file it can find a hash for from peers (including Packages.bz2, Sources.gz, …)

    Install apt-p2p in ubuntu

    Code:
    sudo aptitude install apt-p2p
    This will complete the installation.

    Configuring apt-p2p

    First you need to take a backup of your source list

    Code:
    sudo cp /etc/apt/sources.list /etc/apt/sources.list.backup
    Edit sources.list file

    Code:
    gedit /etc/apt/sources.list
    Add “localhost:9977/ after the “http://” save and exit the file

    Code:
    deb http://localhost:9977/archive.canonical.com/ubuntu intrepid partner
        deb-src http://localhost:9977/archive.canonical.com/ubuntu intrepid partner
        deb http://localhost:9977/*mirror-address*/ubuntu/ intrepid main universe restricted multiverse
        deb-src http://localhost:9977/*mirror-address*/ubuntu/ intrepid main universe restricted multiverse
    So basically just insert “localhost:9977″ after the “http://” and where **mirror-address** is the address of the mirror

    Now remove the cache files using the following command

    Code:
    sudo rm -rf /var/cache/apt-p2p/cache/*
    Update the source list file using the following command

    Code:
    sudo apt-get update
    Start upgrade from Interpid to Jaunty

    Code:
    sudo update-manager
    If you want to Check peers, downloads and uploads speed and DHT statistics Open Internet browser,

    go to
    Code:
    http://localhost:9977

    KEEP IN MIND THIS IS FOR ADVANCED USERS ONLY. If you still have a limited experience with Linux, then DON'T DO IT OR ASK HOW TO. This is as simple as this can be made.

    Another way to update to Ubuntu 9.04 is by the HTTP method. This is slower, but not only easier, but more of a chance of success without errors. Simply go System>Adminstration>Software Sources and change the drop down to Normal Releases as seen here:

    You should now be able to update via the Update Manager.

    The third, and perhaps second easiest way is to either have the CD shipped to you or download and burn to a disk, then boot from it. Once booted, you should see an option to upgrade the current OS. Choose that and install it that way. Since it doesn't deal with the internet, it is going to be safer then the others.

    Finally, the fourth way, the easiest way: back up your data and install the new version over top of the old one. Doesn't get any easier.

    REMEMBER! Run these commands in a day, when the new version of Ubuntu is official! And for the love of cod, DON'T use the Apt-p2p unless you know exactly what you're doing. There are safer ways to update, as you can see.

    Apt-p2p tut written by UbuntuGeek. I could have stolen last year's tut from TorrentFreak but as you could guess, it's out of date.
    pacman -Syyu life not found in sync db

  2. #2
    Experienced User
    Overall activity: 0%

    Join Date
    Dec 2008
    Location
    Malaysia
    Posts
    1,608
    Liked
    0 times
    Points
    8,958
    I uninstall Ubuntu cause of changing grub loader cause a lot problem to me, will install back when 9.04 version out.

  3. #3
    Rookie
    Overall activity: 7.0%

    Join Date
    Jan 2009
    Location
    Malaysia
    Posts
    2,138
    Liked
    24 times
    Points
    44,879
    Great. Now I can't download as I am sure streamyx will throttle its speed.

    That is it? The 2nd way? That I can do. Er, don't need to put this into he place like when I did my Open Office?
    deb http://localhost:9977/archive.canonical.com/ubuntu intrepid partner
    deb-src http://localhost:9977/archive.canonical.com/ubuntu intrepid partner
    deb http://localhost:9977/*mirror-address*/ubuntu/ intrepid main universe restricted multiverse
    deb-src http://localhost:9977/*mirror-address*/ubuntu/ intrepid main universe restricted multiverse
    Last edited by LunarWolf; 04-22-2009 at 02:59 PM.
    Thoughts are like a never ending ocean where it is deep, endless and dangerous

  4. #4
    Experienced User
    Overall activity: 0%

    Join Date
    Dec 2008
    Location
    Malaysia
    Posts
    1,608
    Liked
    0 times
    Points
    8,958
    Lunar, just request a disc tomorrow, and install when the disc come. Or download the ISO but i think the speed will be reduced a lot as many people will get it.

  5. #5
    *nix Technical Support
    Overall activity: 35.0%

    Join Date
    Jan 2009
    Location
    /home/hellnoire
    Posts
    9,845
    Liked
    319 times
    Points
    26,077
    Lunar, I don't think you'd advanced enough to even worry about apt-p2p, no offense. And the throttling of Streamyx would kill your upgrade. So either request the disk or download via Update Manager. Or you could do step 4 Lol, but honestly, I think you've gone though enough formating, so that's why I posted this. If you aren't using apt-p2p, you don't need to add to your sources.

    YuMeng, if you mean the standard HTTP way, that will be on high demand for the next two or three days. That's why I'm downloading via torrent

  6. #6
    Experienced User
    Overall activity: 0%

    Join Date
    Mar 2009
    Location
    Tokyo,Japan
    Posts
    422
    Liked
    0 times
    Points
    6,913
    nice post hellnoire...btw,if i'm trying the p2p,then somehow i screw it up,can i reformat back?

  7. #7
    *nix Technical Support
    Overall activity: 35.0%

    Join Date
    Jan 2009
    Location
    /home/hellnoire
    Posts
    9,845
    Liked
    319 times
    Points
    26,077
    You'd need to reinstall via CD if the P2P messes up on you, Kronos. That's often the easiest way to do so.

  8. #8
    Experienced User
    Overall activity: 0%

    Join Date
    Dec 2008
    Location
    Malaysia
    Posts
    1,608
    Liked
    0 times
    Points
    8,958
    Unless you will waste the money to buy CD.

  9. #9
    Rookie
    Overall activity: 7.0%

    Join Date
    Jan 2009
    Location
    Malaysia
    Posts
    2,138
    Liked
    24 times
    Points
    44,879
    Why isn't it the update manager working? I set the setting as shown by Hellnoire. My mirror server is located in Taiwan,

    Do I need to add in any other stuff?
    Last edited by LunarWolf; 04-23-2009 at 06:52 AM.

  10. #10
    Moderator
    Overall activity: 73.0%

    Join Date
    Dec 2008
    Location
    Italy
    Posts
    6,895
    Liked
    1067 times
    Points
    71,755
    Hi all,
    I installed Ubuntu 8.10 thanks to WUBI on my desktop PC with XP SP3.
    My question is: do you think I can upgrade to Ubuntu 9.0.4 by the HTTP method which hellnoire kindly explained?
    Sorry, I'm not a Linux advanced user.

    Thanks in advance
    Last edited by leofelix; 04-23-2009 at 07:57 AM.

 

 
Page 1 of 4 123 ... LastLast

Similar Threads

  1. Updating Mozilla...
    By grr in forum Software
    Replies: 10
    Last Post: 08-10-2010, 12:35 PM
  2. Updating WLM
    By LunarWolf in forum General Forum
    Replies: 3
    Last Post: 09-30-2009, 11:04 PM
  3. Updating Java
    By Anakey in forum Software
    Replies: 7
    Last Post: 06-03-2009, 06:45 AM
  4. Updating .NET Framework
    By Albin in forum Software
    Replies: 5
    Last Post: 10-29-2008, 10:49 PM
  5. updating the drivers!!!!
    By cmsvicky in forum Hardware
    Replies: 1
    Last Post: 01-20-2007, 09:51 AM

Tags for this Thread

All times are GMT +8. The time now is 08:14 AM.