Downloading the updates

If you are new to Linux or new to Sabayon Linux and just not sure where to post, here ya go. Post without fear of being told to RTFM :-)

Moderator: Moderators

Downloading the updates

Postby m.reza » Fri Feb 14, 2014 14:57

Hello, everybody
I have almost 900MB updates. My internet connection has some problems - I live in this country with these ridiculous, irritating problems - and equo just downloaded a package 3 times, once almost up to 80% and failed. Is this normal? I thought it could resume the download! I can't go on like this. I have big limits on my internet - again because of this country.
The bottom line is that I think it's not normal. Anybody help, please :cry: :cry:
m.reza
Young Hen
 
Posts: 30
Joined: Sat Dec 21, 2013 13:37

Re: Downloading the updates

Postby batvink » Fri Feb 14, 2014 23:19

If you have enough disc-space;
Code: Select all
su

Code: Select all
nano -w /etc/entropy/client.conf

What the following settings do, are very well explained in the file.
i suggest you read that.

Scroll down until you find: packages-autoprune-days = 5
Remove the parameter. (parameter unset means: feature disabled)

scroll down until you find: packages-delta = disable
change it to:
Code: Select all
packages-delta = enable

If that line begins with a #, remove it.
Save the file, ctrl-o and exit, ctrl-x
DON'T use equo cleanup anymore.
User avatar
batvink
Old Dear Hen
 
Posts: 495
Joined: Sun Oct 28, 2007 11:44
Location: the netherlands

Re: Downloading the updates

Postby batvink » Fri Feb 14, 2014 23:50

Please keep in mind that, once edited /etc/entropy/client.conf;
when upgrading the system, Entropy wants to revert your settings to default,
by asking you to perform a "equo conf update"
User avatar
batvink
Old Dear Hen
 
Posts: 495
Joined: Sun Oct 28, 2007 11:44
Location: the netherlands

Re: Downloading the updates

Postby m.reza » Sat Feb 15, 2014 18:03

Thank you so much. "packages-delta" was already enabled. But I removed the other line.
I have 2 questions. First, once I updated a package, what happens if I run "equo cleanup"? I mean, is it harmful for the system?
Second, do you think it really works? The package that equo downloaded almost 3 times was "mesa" or something like that. It downloaded partially and failed (up to 80%). So equo restarted the download. I want it to resume the downloads.
Again, thank you.

And sorry, just to make it clear. I should not run "equo conf update", should I? Or else, I have to edit that file again, right?
Last edited by m.reza on Sat Feb 15, 2014 22:06, edited 1 time in total.
m.reza
Young Hen
 
Posts: 30
Joined: Sat Dec 21, 2013 13:37

Re: Downloading the updates

Postby batvink » Sat Feb 15, 2014 18:28

Question 1 is already answered in "client.conf"
if you still use "equo cleanup", then the whole idea behind packages-delta can be thrown away, along with your post.

Question 2,
Did you sort out your mirrors? "equo repo mirrorsort <repository>"
It sounds like some mirrors are taking too long, or are out of reach.
If a package fails to download, Entropy automatically tries the next mirror in the list.
please read this section of the Wiki:
https://wiki.sabayon.org/index.php?titl ... _or_mirror
To add/find more mirrors, close to you:
https://wiki.sabayon.org/index.php?titl ... positories
User avatar
batvink
Old Dear Hen
 
Posts: 495
Joined: Sun Oct 28, 2007 11:44
Location: the netherlands

Re: Downloading the updates

Postby m.reza » Sat Feb 15, 2014 18:52

I'll check out the conf file.
I don't still get the idea of packages-delta. Can you provide some links explaining it? (Thanks in advance)
I always do sort my mirrors out before upgrading. "equo repo mirrorsort sabayon-weekly". And I think it did go and try another mirror. But after downloading more than 250MB, it started to re-download from another mirror, and that's the problem. Big, big, big bandwidth limits I have!
Thank you, by the way.
m.reza
Young Hen
 
Posts: 30
Joined: Sat Dec 21, 2013 13:37

Re: Downloading the updates

Postby ryan_46 » Sun Feb 16, 2014 10:10

m.reza

The idea of packages-delta is that when there is an update only the differences between the package being updated and the new version have to be downloaded. Thus if the difference is only 400 KB out of a 5 MB package, only the 400 KB is downloaded. Saving bandwidth. If "equo cleanup" is run, then the stored binary package (not the installed package) is removed and then the whole 5 MB will have to be downloaded.
ryan_46
Baby Hen
 
Posts: 1
Joined: Tue Feb 11, 2014 5:02

Re: Downloading the updates

Postby m.reza » Sun Feb 16, 2014 15:55

Thank you. Now I get the idea. I thought this was only for Gentoo (Is it related to package manager or something else?)
Thanks again.
m.reza
Young Hen
 
Posts: 30
Joined: Sat Dec 21, 2013 13:37

Re: Downloading the updates

Postby batvink » Sun Feb 16, 2014 16:24

User avatar
batvink
Old Dear Hen
 
Posts: 495
Joined: Sun Oct 28, 2007 11:44
Location: the netherlands


Return to Beginners|Newbies Area

Who is online

Users browsing this forum: No registered users and 2 guests

cron