Speeding up Sulfur package downloads

Anything that pertains to Entropy, Equo or Sulfur

Moderator: Moderators

Speeding up Sulfur package downloads

Postby dave_p_b » Mon Nov 16, 2009 1:52

Hi

I keep on reading posts where people seem to be having problems with Sulfur. Either packages not found on mirrors, slow download speeds & magneto not working (updating) properly.

First off open up a konsole window. (You can do this by clicking on the KDE menu and typing in konsole in the search box). Type su and enter your root password.

Next, if you have Magneto open in the taskbar then right click on it and click Exit. (If it won't close then don't worry, you'll just have to reboot your computer afterwords). Similarly, if you have Sulfur open, it is important you close it!

In your konsole window (which should now be in root mode) type the command dbus-launch kwrite /etc/entropy/repositories.conf to launch the file you'll be editing.

Next, delete all the following lines:
# Sabayon Linux Official Repository
repository|sabayonlinux.org|Sabayon Linux Official Repository|http://pkg.sabayon.org|http://pkg.sabayon.org#bz2
repository|sabayonlinux.org||http://mirrors.cs.wmich.edu/sabayon/entropy|
repository|sabayonlinux.org||http://ftp.cc.uoc.gr/mirrors/linux/SabayonLinux/entropy|
repository|sabayonlinux.org||http://mirror.dun.nu/sabayonlinux/entropy|
repository|sabayonlinux.org||http://mirror.holland.sabayonlinux.org/entropy|
repository|sabayonlinux.org||http://cross-lfs.sabayonlinux.org/entropy|
repository|sabayonlinux.org||http://ftp.surfnet.nl/pub/os/Linux/distr/sabayonlinux/entropy|
repository|sabayonlinux.org||http://na.mirror.garr.it/mirrors/sabayonlinux/entropy|


and replace them with the following repositories: (Click the Select All, right click on one of the highlighted lines and click Copy)
Code: Select all
# Sabayon Linux Official Repository
repository|sabayonlinux.org|Sabayon Linux Official Repository|http://svn.sabayonlinux.org/entropy|http://svn.sabayonlinux.org/entropy#bz2
repository|sabayonlinux.org||http://ftp.surfnet.nl/pub/os/Linux/distr/sabayonlinux/entropy|
repository|sabayonlinux.org||http://na.mirror.garr.it/mirrors/sabayonlinux/entropy|
##repository|sabayonlinux.org||http://mirrors.cs.wmich.edu/sabayon/entropy|
##repository|sabayonlinux.org||http://ftp.cc.uoc.gr/mirrors/linux/SabayonLinux/entropy|
##repository|sabayonlinux.org||http://mirror.dun.nu/sabayonlinux/entropy|
##repository|sabayonlinux.org||http://mirror.holland.sabayonlinux.org/entropy|
##repository|sabayonlinux.org||http://cross-lfs.sabayonlinux.org/entropy|
##repository|sabayonlinux.org||http://pkg.sabayon.org|
#repository|sabayon-limbo|Sabayon Linux Limbo Repository|http://svn.sabayonlinux.org/entropy|http://svn.sabayonlinux.org/entropy#bz2
#repository|sabayon-limbo||http://na.mirror.garr.it/mirrors/sabayonlinux/entropy|


(For some reason, when you paste the lines into kwrite, spaces appear in front of each line, just delete the spaces)

The repository lines that start with ## (double hash sign) are basically not included in Sulfur because most of them are slow and some I haven't tested for speed. You can add these repositories by removing the ## (double hash sign).

The two repositories, at the bottom. starting with # (single hash sign) are included in Sulfur but are just not enabled. They can be enabled within Sulfur itself or by just removing the # (single hash signs) from the repositories.conf file. These two repositories at the bottom, called sabayon-limbo, basically contain cutting edge packages that are stored here before they hit the main sabayonlinux.org repositories.

After you've pasted in the new repositories, and got rid of the spaces, that's it !!
Now, save the repositories.conf file and start up Magneto (or reboot your computer if you wern't able to exit from Magneto earlier.)

Magneto should fetch updates a lot faster now and sulfur should download packages a lot faster. Fingers crossed :wink:

You should also make sure you are using the latest versions of Sulfur, equo etc. You can to this by opening up a konsole, typing su and entering your root password. Then type the command equo install sulfur entropy magneto-kde equo entropy-client-services --pretend. This will tell you if any of these packages need updating. If they do then just issue the same command but remove the --pretend bit off the end. You should find the latest version of Sulfur (0.99.3.6) works quite well.

All the best

Dave
dave_p_b
Old Dear Hen
 
Posts: 607
Joined: Fri Dec 15, 2006 1:39
Location: Exeter, UK

Re: Speeding up Sulfur package downloads

Postby dcollaziol » Mon Nov 16, 2009 2:52

Hi Dave,

I'm downloading from this repos, basicaly, and it's very slow. I'm downloading from Brasil. Maybe a sabayon admin can send an email to UFPR or Unicamp in brasil. They host gentoo and have good speed. I've just instaled sabayon 5, so I do not know admins to send an emai to advice :D
Diego
dcollaziol
Baby Hen
 
Posts: 5
Joined: Thu Nov 12, 2009 16:26
Location: Garibaldi/RS/Brasil

Re: Speeding up Sulfur package downloads

Postby joost » Mon Nov 16, 2009 8:59

If anybody can provide rsync mirrors that can sync each hour (e.g. at your university) We'll be very happy.
:D
joost
Sagely Hen
 
Posts: 2566
Joined: Fri Nov 17, 2006 12:11
Location: The Netherlands

Re: Speeding up Sulfur package downloads

Postby dunsurfin » Mon Nov 16, 2009 16:34

dave_p_b wrote:(For some reason, when you paste the lines into kwrite, spaces appear in front of each line, just delete the spaces)



If you manually select the lines, rather than using "select all", then copy and paste, the spaces don't appear.
Self-righteousness is a loud din raised to drown the voice of guilt within us - Eric Hoffer

Don't believe what it says on the right - I am anything but sagely; More oniony!
dunsurfin
Sagely Hen
 
Posts: 1333
Joined: Sun Jan 07, 2007 21:38
Location: Newcastle upon Tyne UK

Re: Speeding up Sulfur package downloads

Postby Crazymike0484 » Wed Nov 25, 2009 13:02

Last night i've updated my Sabayon, and i've noticed that many mirrors are offline... Only the main repository mirror responds, but at an ridiculous speed.... At 5,x Kbps.... It took all night long to update the system... Almost six hours (!!!) to update...

I'm from Portugal, Europe.

Cheers,
Miguel
Crazymike0484
Baby Hen
 
Posts: 3
Joined: Tue Nov 24, 2009 17:05

Re: Speeding up Sulfur package downloads

Postby totedati » Sun Dec 27, 2009 17:19

this happen, very slow repository speed, when updates is very new, only few hours pushed out and almost all high speed mirrors is out of sync ... i see that many times ... equo upgrade blablabla ... you have six new updates! jump in, 5 kbps download speed !?!? bleeach ...

svn.sabayonlinux.org is that champion with 5 kbps ... :lol:

usually you need to wait a little until main mirrors, high speeds mirros, is refreshed with that new entropy packages ... more that six hours is enough ...

;-D
linux is free, the expertise to harness it is not!
you don't make so much money selling open source software!
You make MORE money USING it, just like google!
linux registered user #352479
totedati
Technological Hen
 
Posts: 417
Joined: Thu Jan 11, 2007 0:24
Location: Sibiu, Romania

Re: Speeding up Sulfur package downloads

Postby albfneto » Sun Jan 17, 2010 18:22

in my system and locale, Brazil..
the two sets of repos working, but only SOMETIMES,, they are slow... 5 kbps only,

but this seems to me eventual.

generally, the repos working good.

when you add Limbo Repos, Limbo repos ARE Slow, but they only contain experimental packages, and are not for regular use, but for experimental purposes....
ALBERTO FEDERMAN NETO
albfneto
[email protected]
Favorite Distros: Sabayon, Gentoo, Mageia and OpenSUSE
User avatar
albfneto
Sagely Hen
 
Posts: 1705
Joined: Fri Nov 16, 2007 1:15
Location: Ribeirão Preto City, São Paulo State, Brazil

Re: Speeding up Sulfur package downloads

Postby totedati » Sun Jan 17, 2010 18:35

yeah ... for example today:

Code: Select all
sudo equo --verbose --ask upgrade
>>  @@ Calculating System Updates...                   
>>  @@ 4 => Packages matching update                   
>>  @@ 0 => Packages matching not available           
>>  @@ 1580 => Packages matching already up to date   
>>  @@ These are the chosen packages:                 
>>    # (1/4) [sabayonlinux.org] dev-libs/gdl-2.28.2   
>>      Versions:        2.28.1 / NoTag / 0 ===> 2.28.2 / NoTag / 0
>>      Action:          Upgrade                                   
>>    # (2/4) [sabayonlinux.org] gnome-extra/evolution-exchange-2.28.2
>>      Versions:        2.28.1 / NoTag / 0 ===> 2.28.2 / NoTag / 0   
>>      Action:          Upgrade                                     
>>    # (3/4) [sabayonlinux.org] media-video/ffmpeg-0.5_p20373       
>>      Versions:        0.5_p20373 / NoTag / 2 ===> 0.5_p20373 / NoTag / 3
>>      Action:          Upgrade                                           
>>    # (4/4) [sabayonlinux.org] x11-libs/gtk+-2.18.6                     
>>      Versions:        2.18.5 / NoTag / 0 ===> 2.18.6 / NoTag / 0       
>>      Action:          Upgrade                                           
>>  @@ Packages involved: 4                                               
     Would you like to continue with dependencies calculation ? [Yes/No]   
>>  @@ Calculating dependencies ...                                       
>>  @@ These are the packages that would be installed:                     
>>  ## [U] [sabayonlinux.org] x11-libs/gtk+-2.18.6|0   [2.18.5|0]         
>>  ## [U] [sabayonlinux.org] gnome-extra/evolution-exchange-2.28.2|0   [2.28.1|0]
>>  ## [U] [sabayonlinux.org] dev-libs/gdl-2.28.2|0   [2.28.1|0]                 
>>  ## [U] [sabayonlinux.org] media-video/ffmpeg-0.5_p20373|3   [0.5_p20373|2]   
>>  @@ Packages needing to be installed/updated/downgraded: 4                     
>>  @@ Packages needing to be removed: 0                                         
>>  @@ Packages needing to be installed: 0                                       
>>  @@ Packages needing to be reinstalled: 0                                     
>>  @@ Packages needing to be updated: 4                                         
>>  @@ Packages needing to be downgraded: 0                                       
>>  @@ Download size: 15.7MB                                                     
>>  @@ Used disk space: 978.9kB                                                   
>>  @@ You need at least: 32.3MB of free space                                   
     Would you like to execute the queue ? [Yes/No]                               
>>  :: (1/4) >>> x11-libs/gtk+-2.18.6                                             
>>    ## Downloading archive: x11-libs:gtk+-2.18.6~0.tbz2                         
>>    ## ( mirror #1 ) Downloading from: na.mirror.garr.it                       
>>    ## ( mirror #1 ) Error downloading from: na.mirror.garr.it - not found.     
>>    ## ( mirror #2 ) Downloading from: ftp.surfnet.nl                           
>>    ## ( mirror #2 ) Error downloading from: ftp.surfnet.nl - not found.       
>>    ## ( mirror #3 ) Downloading from: cross-lfs.sabayonlinux.org               
>>    ## ( mirror #3 ) Error downloading from: cross-lfs.sabayonlinux.org - not found.
>>    ## ( mirror #4 ) Downloading from: mirror.holland.sabayonlinux.org             
>>    ## ( mirror #4 ) Error downloading from: mirror.holland.sabayonlinux.org - discarded download.
>>    ## Package cannot be fetched. Try to update repositories. Error: 1                           
>>    ## An error occured. Action aborted.                                                         
>>  @@ Download incomplete.                                                                         
>>  @@ Configuration files scan complete.


is obvious all four updates is very fresh, and high speed mirrors is out of sync ... i don't even wait for svn.sabayonlinux.org to show his 5 kbps ugly heads ... CTRL+C and next day will try again ...

and for limbo repositories is all about more frequent updates ... main mirrors cant be in sync with his speedy morphing ...

i wonder ... as a highly reliable and cheap mirrors for entropy binary packages, can't be used a service like amazon S3!?

wikipedia.org - Amazon Simple Storage Service (Amazon S3)

look interesting!
linux is free, the expertise to harness it is not!
you don't make so much money selling open source software!
You make MORE money USING it, just like google!
linux registered user #352479
totedati
Technological Hen
 
Posts: 417
Joined: Thu Jan 11, 2007 0:24
Location: Sibiu, Romania

Re: Speeding up Sulfur package downloads

Postby joost » Sun Jan 17, 2010 21:12

I said this before, there can be a delay sometimes. just wait for other fast mirrors to pickup the updates. This will always be within 3 hours.
joost
Sagely Hen
 
Posts: 2566
Joined: Fri Nov 17, 2006 12:11
Location: The Netherlands

Re: Speeding up Sulfur package downloads

Postby Stupot » Tue Jan 19, 2010 16:18

joost, is it possible to have your system sync with the mirrors instead of svn? This would avoid a lot of people trying to update without the mirrors being synced.
Stupot
Sagely Hen
 
Posts: 1537
Joined: Wed Feb 14, 2007 3:44
Location: St. Louis, MO, USA


Return to Entropy|Equo|Rigo Package Managers

Who is online

Users browsing this forum: No registered users and 7 guests

cron