[SOLVED] Mageia 2 - Change the Download progress

This forum is dedicated to advanced help and support :

Ask here your questions about advanced usage of Mageia. For example you may post here all your questions about network and automated installs, complex server configurations, kernel tuning, creating your own Mageia mirrors, and all tasks likely to be touchy even for skilled users.

[SOLVED] Mageia 2 - Change the Download progress

Postby Tommylee567 » Jun 2nd, '12, 18:25

Hi
Im not sure if it is the correct place to post this. I'm wondering what i can do for rpmdrake's update speed i.e. how to change the speed of the box that shows information when downloading? I mean, the info that displays when downloading a file takes a long time to update. about 20-30 seconds probably. so it is not in a second update so i can see what speed the download progress is going or any other status. is there a way to adjust that time delay to one second?

And why does it download lists files every time i click on a file to download. It retrieves a (either) 1.2 MB list file or a 12 MB list file. Is there something wrong i would like to know....cause already i have the list on my pc and updated then why does it download again for some files when i click them? Just my doubt.

Thanks!
Tim
Last edited by Tommylee567 on Jun 2nd, '12, 19:19, edited 1 time in total.
I Love Mageia
Tommylee567
 
Posts: 16
Joined: Jun 2nd, '12, 14:56
Location: India

Re: Mageia 2 - Change the Download progress speed for RPMDra

Postby doktor5000 » Jun 2nd, '12, 19:03

Tommylee567 wrote:And why does it download lists files every time i click on a file to download. It retrieves a (either) 1.2 MB list file or a 12 MB list file. Is there something wrong i would like to know....cause already i have the list on my pc and updated then why does it download again for some files when i click them? Just my doubt.


It will download metadata files if those are either not existent locally yet or are outdated, or have been updated on the server since. Nothing wrong with that, and they are only downloaded on-demand, f.ex. if you click on the details or files list for some package, if it's that what you mean.

For the download progress indicator, you'd probably have to patch the software.
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18016
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: Mageia 2 - Change the Download progress speed for RPMDra

Postby Tommylee567 » Jun 2nd, '12, 19:06

Thanks!
So you say that we leave rpmdrake alone? (or no other config files or something to adjust?)
I Love Mageia
Tommylee567
 
Posts: 16
Joined: Jun 2nd, '12, 14:56
Location: India

Re: Mageia 2 - Change the Download progress speed for RPMDra

Postby Tommylee567 » Jun 2nd, '12, 19:08

doktor5000 wrote:It will download metadata files if those are either not existent locally yet or are outdated, or have been updated on the server since. Nothing wrong with that, and they are only downloaded on-demand, f.ex. if you click on the details or files list for some package, if it's that what you mean.


Ok, since this is normal i will leave it. I have updated the list so i was wondering why it kept downloading. Ok. Thanks for the info.
I Love Mageia
Tommylee567
 
Posts: 16
Joined: Jun 2nd, '12, 14:56
Location: India

Re: Mageia 2 - Change the Download progress speed for RPMDra

Postby isadora » Jun 2nd, '12, 19:15

Image
..........bird from paradise..........

Perfection is achieved, not when there is nothing more to add, but when there is nothing left to take away.
—Antoine de Saint-Exupéry
User avatar
isadora
 
Posts: 2763
Joined: Mar 25th, '11, 16:03
Location: Netherlands

Re: Mageia 2 - Change the Download progress speed for RPMDra

Postby Tommylee567 » Jun 2nd, '12, 19:17

@isadora,
Sorry, i will mark it.
I Love Mageia
Tommylee567
 
Posts: 16
Joined: Jun 2nd, '12, 14:56
Location: India

Re: [SOLVED] Mageia 2 - Change the Download progress

Postby isadora » Jun 2nd, '12, 21:29

Thank you.
..........bird from paradise..........

Perfection is achieved, not when there is nothing more to add, but when there is nothing left to take away.
—Antoine de Saint-Exupéry
User avatar
isadora
 
Posts: 2763
Joined: Mar 25th, '11, 16:03
Location: Netherlands

Re: Mageia 2 - Change the Download progress speed for RPMDra

Postby doktor5000 » Jun 3rd, '12, 19:14

Tommylee567 wrote:So you say that we leave rpmdrake alone? (or no other config files or something to adjust?)

Sorry, i can't answer the first part of the question, but i also didn't understand what you actual problem is with the download progress display. Do you want it to update more often?
If you want to fix that, you have to fiddle with rpmdrake code or open up a bug report if you can't do it on your own: https://wiki.mageia.org/en/How_to_report_a_bug_properly

AFAIK there are no setting files for rpmdrake.
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18016
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: [SOLVED] Mageia 2 - Change the Download progress

Postby Tommylee567 » Jun 3rd, '12, 19:31

Sorry as i am in windows i couldn't get you a screen shot.
When you start downloading a package from the server, a small progress bar comes up right? and that progress bar takes time to update the info on the screen.
like ETA 2min 6s at 26KBps 80% complete.
So what i meant was that stays frozen for nearly 30 seconds or so and then it suddenly updates or to say, moves. That is what i meant, if it is possible can i do anything to make it update the GUI every 1 second?
Still puzzled? I hope no...

Thank you!
Also, i dont think that will be a bug. if you find it as a bug i will get it to the bug tracker.
I Love Mageia
Tommylee567
 
Posts: 16
Joined: Jun 2nd, '12, 14:56
Location: India

Re: [SOLVED] Mageia 2 - Change the Download progress

Postby doktor5000 » Jun 3rd, '12, 20:21

Well, it only displays what the underlying downloader would show on a command line. Depending on the speed, snappiness and reliablity of your connection and the mirror you use, it could take some time that this refreshes, this is the same when using curl or wget in a terminal directly, just try it. For me the updates are rather fast, within 1-3 seconds the first update, and the subsequent updates are enough and rather frequent. So this is no bug, but related to the environmental circumstances. The same as running Mageia on an ancient computer and complaining that it won't run default KDE install fluidly enough ... ;)

Which mirror are you using currently? Please show your /etc/urpmi/urpmi.cfg
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18016
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: [SOLVED] Mageia 2 - Change the Download progress

Postby Tommylee567 » Jun 3rd, '12, 20:34

Doktor, by the way you are saying, i better rest my case. cause my connection is a GPRS that goes max to 30KB/s.
As you have asked the list, here it is. But i think it is not the normal as server speed. maybe my connection as it is slow. I will try it in the office broadband connection.
Thank you for your willingness to answer the silly topic question.


Code: Select all
{
}

core\ media cdrom://x86_64/media/core {
  ignore
  key-ids: 80420f66
}

Core\ Release\ (distrib1)  {
  key-ids: 80420f66
  mirrorlist: $MIRRORLIST
  with-dir: media/core/release
}

Core\ Release\ Debug\ (distrib2)  {
  ignore
  key-ids: 80420f66
  mirrorlist: $MIRRORLIST
  with-dir: media/debug/core/release
}

Core\ Updates\ (distrib3)  {
  key-ids: 80420f66
  mirrorlist: $MIRRORLIST
  update
  with-dir: media/core/updates
}

Core\ Updates\ Debug\ (distrib4)  {
  ignore
  key-ids: 80420f66
  mirrorlist: $MIRRORLIST
  with-dir: media/debug/core/updates
}

Core\ Updates\ Testing\ (distrib5)  {
  ignore
  key-ids: 80420f66
  mirrorlist: $MIRRORLIST
  with-dir: media/core/updates_testing
}

Core\ Updates\ Testing\ Debug\ (distrib6)  {
  ignore
  mirrorlist: $MIRRORLIST
  with-dir: media/debug/core/updates_testing
}

Core\ Backports\ (distrib7)  {
  ignore
  key-ids: 80420f66
  mirrorlist: $MIRRORLIST
  with-dir: media/core/backports
}

Core\ Backports\ Debug\ (distrib8)  {
  ignore
  key-ids: 80420f66
  mirrorlist: $MIRRORLIST
  with-dir: media/debug/core/backports
}

Core\ Backports\ Testing\ (distrib9)  {
  ignore
  key-ids: 80420f66
  mirrorlist: $MIRRORLIST
  with-dir: media/core/backports_testing
}

Core\ Backports\ Testing\ Debug\ (distrib10)  {
  ignore
  key-ids: 80420f66
  mirrorlist: $MIRRORLIST
  with-dir: media/debug/core/backports_testing
}

Nonfree\ Release\ (distrib11)  {
  key-ids: 80420f66
  mirrorlist: $MIRRORLIST
  with-dir: media/nonfree/release
}

Nonfree\ Release\ Debug\ (distrib12)  {
  ignore
  key-ids: 80420f66
  mirrorlist: $MIRRORLIST
  with-dir: media/debug/nonfree/release
}

Nonfree\ Updates\ (distrib13)  {
  key-ids: 80420f66
  mirrorlist: $MIRRORLIST
  update
  with-dir: media/nonfree/updates
}

Nonfree\ Updates\ Debug\ (distrib14)  {
  ignore
  key-ids: 80420f66
  mirrorlist: $MIRRORLIST
  with-dir: media/debug/nonfree/updates
}

Nonfree\ Updates\ Testing\ (distrib15)  {
  ignore
  key-ids: 80420f66
  mirrorlist: $MIRRORLIST
  with-dir: media/nonfree/updates_testing
}

Nonfree\ Updates\ Testing\ Debug\ (distrib16)  {
  ignore
  key-ids: 80420f66
  mirrorlist: $MIRRORLIST
  with-dir: media/debug/nonfree/updates_testing
}

Nonfree\ Backports\ (distrib17)  {
  ignore
  key-ids: 80420f66
  mirrorlist: $MIRRORLIST
  with-dir: media/nonfree/backports
}

Nonfree\ Backports\ Debug\ (distrib18)  {
  ignore
  key-ids: 80420f66
  mirrorlist: $MIRRORLIST
  with-dir: media/debug/nonfree/backports
}

Nonfree\ Backports\ Testing\ (distrib19)  {
  ignore
  key-ids: 80420f66
  mirrorlist: $MIRRORLIST
  with-dir: media/nonfree/backports_testing
}

Nonfree\ Backports\ Testing\ Debug\ (distrib20)  {
  ignore
  key-ids: 80420f66
  mirrorlist: $MIRRORLIST
  with-dir: media/debug/nonfree/backports_testing
}

Tainted\ Release\ (distrib21)  {
  ignore
  key-ids: 80420f66
  mirrorlist: $MIRRORLIST
  with-dir: media/tainted/release
}

Tainted\ Release\ Debug\ (distrib22)  {
  ignore
  key-ids: 80420f66
  mirrorlist: $MIRRORLIST
  with-dir: media/debug/tainted/release
}

Tainted\ Updates\ (distrib23)  {
  ignore
  key-ids: 80420f66
  mirrorlist: $MIRRORLIST
  update
  with-dir: media/tainted/updates
}

Tainted\ Updates\ Debug\ (distrib24)  {
  ignore
  key-ids: 80420f66
  mirrorlist: $MIRRORLIST
  with-dir: media/debug/tainted/updates
}

Tainted\ Updates\ Testing\ (distrib25)  {
  ignore
  key-ids: 80420f66
  mirrorlist: $MIRRORLIST
  with-dir: media/tainted/updates_testing
}

Tainted\ Updates\ Testing\ Debug\ (distrib26)  {
  ignore
  key-ids: 80420f66
  mirrorlist: $MIRRORLIST
  with-dir: media/debug/tainted/updates_testing
}

Tainted\ Backports\ (distrib27)  {
  ignore
  key-ids: 80420f66
  mirrorlist: $MIRRORLIST
  with-dir: media/tainted/backports
}

Tainted\ Backports\ Debug\ (distrib28)  {
  ignore
  key-ids: 80420f66
  mirrorlist: $MIRRORLIST
  with-dir: media/debug/tainted/backports
}

Tainted\ Backports\ Testing\ (distrib29)  {
  ignore
  key-ids: 80420f66
  mirrorlist: $MIRRORLIST
  with-dir: media/tainted/backports_testing
}

Tainted\ Backports\ Testing\ Debug\ (distrib30)  {
  ignore
  key-ids: 80420f66
  mirrorlist: $MIRRORLIST
  with-dir: media/debug/tainted/backports_testing
}

Core\ 32bit\ Release\ (distrib31)  {
  ignore
  key-ids: 80420f66
  mirrorlist: $MIRRORLIST
  with-dir: media/../../i586/media/core/release
}

Core\ 32bit\ Release\ Debug\ (distrib32)  {
  ignore
  key-ids: 80420f66
  mirrorlist: $MIRRORLIST
  with-dir: media/../../i586/media/debug/core/release
}

Core\ 32bit\ Updates\ (distrib33)  {
  ignore
  key-ids: 80420f66
  mirrorlist: $MIRRORLIST
  update
  with-dir: media/../../i586/media/core/updates
}

Core\ 32bit\ Updates\ Debug\ (distrib34)  {
  ignore
  key-ids: 80420f66
  mirrorlist: $MIRRORLIST
  with-dir: media/../../i586/media/debug/core/updates
}

Core\ 32bit\ Updates\ Testing\ (distrib35)  {
  ignore
  key-ids: 80420f66
  mirrorlist: $MIRRORLIST
  with-dir: media/../../i586/media/core/updates_testing
}

Core\ 32bit\ Updates\ Testing\ Debug\ (distrib36)  {
  ignore
  mirrorlist: $MIRRORLIST
  with-dir: media/../../i586/media/debug/core/updates_testing
}

Core\ 32bit\ Backports\ (distrib37)  {
  ignore
  key-ids: 80420f66
  mirrorlist: $MIRRORLIST
  with-dir: media/../../i586/media/core/backports
}

Core\ 32bit\ Backports\ Debug\ (distrib38)  {
  ignore
  key-ids: 80420f66
  mirrorlist: $MIRRORLIST
  with-dir: media/../../i586/media/debug/core/backports
}

Core\ 32bit\ Backports\ Testing\ (distrib39)  {
  ignore
  key-ids: 80420f66
  mirrorlist: $MIRRORLIST
  with-dir: media/../../i586/media/core/backports_testing
}

Core\ 32bit\ Backports\ Testing\ Debug\ (distrib40)  {
  ignore
  key-ids: 80420f66
  mirrorlist: $MIRRORLIST
  with-dir: media/../../i586/media/debug/core/backports_testing
}
I Love Mageia
Tommylee567
 
Posts: 16
Joined: Jun 2nd, '12, 14:56
Location: India

Re: [SOLVED] Mageia 2 - Change the Download progress

Postby doktor5000 » Jun 3rd, '12, 22:10

Well, as you are using MIRRORLIST feature which is the default when you setup repositories (it should give you a list of mirrors, based on your location and available/working mirrors in your geographic region based on geolocation, but unfortunately it doesn't guarantee that you're actually using a well-functioning and fast mirror) it is hard to tell.
Also if you're on GPRS or broadband then ping times and times needed to send response packages is much larger then using DSL broadband connection with low ping times, this might explain the problem you're seeing, but there can't be done anything about it as it would be natural.
If you retest this in the office with a good and fast mirror you should see normal behavior.

You may want to remove all your repos and readd them, using a specific mirror. Where are you from, if i may ask, so i can tell you a good mirror?
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18016
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: [SOLVED] Mageia 2 - Change the Download progress

Postby Tommylee567 » Jun 4th, '12, 19:09

You are quite right brother. if it works for you then i will leave it.
By the way, im in India. i may get the taiwan server or japan or even the australia internode or something server.
The package manager did not give any server listing for me.

This reminds me of PCLOS that they made a script specifically for that reason. It scans all the ping times and sorts it out from an ascending list and then tells the user the lowest ping rates, so the user can select what he wants. i liked that one. you can't be providing people with good server places for all your time.

So back to the matter, how to do the mirror search myself? if you include any script like PCLOS, it would be nice. and even include that in the server list so we can download it as a package.
And why there aren't any mirror listed in the script in the above (my) post, it just says $mirrorlist ? i will try the wiki base for more info until you reply. thanks!

And sorry that i did not reply immediately.
Thanks for the reply.
I Love Mageia
Tommylee567
 
Posts: 16
Joined: Jun 2nd, '12, 14:56
Location: India

Re: [SOLVED] Mageia 2 - Change the Download progress

Postby doktor5000 » Jun 4th, '12, 22:16

Tommylee567 wrote:The package manager did not give any server listing for me.

Well, yes it does, but it's not that obvious. MCC -> Configure media sources for install and update -> File -> Add a specific media mirror -> Full set of sources ;)

For the mirror list, just have a look at http://mirrors.mageia.org/ where also a geogrpahical map and filtering by country is available and you get some more infos about the mirrors.
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18016
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany


Return to Advanced support

Who is online

Users browsing this forum: No registered users and 1 guest