TechTalkz.com LogoAsk the Expert

Go Back   TechTalkz.com Technology & Computer Troubleshooting Forums > Tech Support Archives > Linux & Opensource > Mandriva Linux

Notices

Download duration while Easyurpmi

Mandriva Linux


Reply
 
Thread Tools Display Modes
Old 09-01-2008, 05:17 AM   #11
David W. Hodgins
Guest
 
Posts: n/a
Re: Download duration while Easyurpmi

On Sat, 05 Jan 2008 09:08:16 -0500, Jim Beard <> wrote:

> urpmi --wget --auto-update --auto-select --auto
> Not to worry about losing power during a download,
> though. wget will remember what it has downloaded


Add --resume to the above options, so a partially downloaded file will
resume from where it left off.

Regards, Dave Hodgins

--
Change nomail.afraid.org to ody.ca to reply by email.
(nomail.afraid.org has been set up specifically for
use in usenet. Feel free to use it yourself.)
  Reply With Quote
Old 09-01-2008, 05:17 AM   #12
santo
Guest
 
Posts: n/a
Re: Download duration while Easyurpmi

On Fri, 04 Jan 2008 15:09:44 +0000, Jim Beard wrote:

> Santo wrote:
>> when adding repositories "main udate plf-free" I noticed that in the
>> console the amount of MB or time remaining did not appear - in
>> Mandriva 2006PP it did... - so I had no ideas how long the download
>> would last.

>
> With short downloads such as the cz file for plf-free, the download does
> not last long enough for your software to start displaying the size.
>
>> Then the area suffered a power cut - not uncommon where I live...- :-(
>> ...after that I could not get an internet connection anymore...I tried
>> to understand the cause but do not have the knowledge to figure it
>> out...I was sure it had something to do with the download being
>> suddenly stopped, some .LOCK file somewhere maybe...

>
> That problem is more likely to be at your router or modem, and you have
> told us nothing about either, nor about the nature of your connection.
> You likewise have not copied and pasted any error messages that appeared
> when you tried to connect to the internet again.
>
>> So I reinstalled Mandriva2008free...

>
> If you enjoy attacking piss-ant problems with a 16-lb sledgehammer, be
> my guest. But doing so will not help you learn how to handle the
> problem the next time it occurs, if its does indeed occur again.


Well. I remember it said I did not have any LAN or WAN etc...configured,
which was not the case...
I really did not want to reinstall but I did not know what else to do...

Poor ants!...

I am connecting wireless with a D-Link box...anyway, I'll try again, only
I would really be happy ( and it would simplify my task, If I knew how
many MB or time remaining is left...)

>> Is there a way to know the duration of the download other
> > than the console while adding he repositories?

>
> Set up your mirrors and then, as root in a terminal window, urpmi --wget
> --auto-update --auto-select --auto You may get a little better reporting
> on status, but if the file is small you still will not see the size.


You mean I should not follow the three steps suggested by EasyUrpmi?


>> On a totally different level:
>> ...was I hallucinating or when I installed the first time Googleearth
>> was listed at Start/Internet/GoogleEarth?

>
> Why would one's mind hallucinate something like that? There are
> occasional problems with the menus in Mandriva but I mostly work from
> the command line and cannot help on this one. If a menu item or icon on
> the tool bar goes away that I want, I add a new one.

What I meant was that after the first installation "I thought" I saw
GoogleEarth, now I can not even find it in MCC...


>> ...please bear with me I am at office and writing from a windows
>> machine using googlegroups...I'll try to use it less and less in the
>> future...




> Several of the folks who read this newsgroup killfile all posts from
> Google, so odds of a reply diminish. But a few will look at almost
> anything, and a reply from one of them will not trigger the killfile
> mechanism so eventually most potential respondents will see anything
> meriting a response.


See? I set up my Pan newsreader agin at home...

thanks,
santo

> Cheers!
>
> jim b.


  Reply With Quote
Old 09-01-2008, 05:17 AM   #13
Jim Beard
Guest
 
Posts: n/a
Re: Download duration while Easyurpmi

David W. Hodgins wrote:
> On Sat, 05 Jan 2008 09:08:16 -0500, Jim Beard <> wrote:
>
>> urpmi --wget --auto-update --auto-select --auto
>> Not to worry about losing power during a download,
>> though. wget will remember what it has downloaded

>
> Add --resume to the above options, so a partially downloaded file will
> resume from where it left off.
>
> Regards, Dave Hodgins


Doesn't wget do that automatically?

Wget has been designed for robustness over slow or unstable
network
connections; if a download fails due to a network problem, it
will keep
retrying until the whole file has been retrieved. If the
server sup-
ports regetting, it will instruct the server to continue the
download
from where it left off.

Is the --resume option for urpmi also needed?

Cheers!

jim b.

--
UNIX is not user-unfriendly; it merely
expects users to be computer-friendly.
  Reply With Quote
Old 09-01-2008, 05:18 AM   #14
Unruh
Guest
 
Posts: n/a
Re: Download duration while Easyurpmi

Santo <.in> writes:

>Few weeks ago I installed Mandriva2008 free...


>when adding repositories "main udate plf-free" I noticed that in the
>console the amount of MB or time remaining did not appear - in
>Mandriva 2006PP it did... - so I had no ideas how long the download
>would last.


>Then the area suffered a power cut - not uncommon where I live...- :-(


>...after that I could not get an internet connection anymore...I tried
>to understand the cause but do not have the knowledge to figure it
>out...I was sure it had something to do with the download being
>suddenly stopped, some .LOCK file somewhere maybe...


No. That had nothing to do with you not being able to get an internet
connection.



>So I reinstalled Mandriva2008free...


That was overkill.


>Why that piece of information does not appear anymore?Is there a way
>to know the duration of the download other than the console while
>adding he repositories?


  Reply With Quote
Old 09-01-2008, 05:18 AM   #15
Bit Twister
Guest
 
Posts: n/a
Re: Download duration while Easyurpmi

On Sat, 5 Jan 2008 13:25:40 +0100 (CET), santo wrote:
>
> You mean I should not follow the three steps suggested by EasyUrpmi?


Those 3 steps give you the command line commands to add the selected
mirrors. Your other option is to use the GUI interface via Mandriva
Control Center.

  Reply With Quote
Old 09-01-2008, 05:18 AM   #16
David W. Hodgins
Guest
 
Posts: n/a
Re: Download duration while Easyurpmi

On Sat, 05 Jan 2008 14:49:21 -0500, Jim Beard <> wrote:

> Is the --resume option for urpmi also needed?


Yes, urpmi will not pass the -c option to wget, unless resume has been
specified. wget will only auto resume, when it retries, during the
same execution. On a fresh start, without the -c option, it will
restart the download, from the beginning.

At least, without going back, and retesting this, I'm pretty sure that's
the case.

Regards, Dave Hodgins

--
Change nomail.afraid.org to ody.ca to reply by email.
(nomail.afraid.org has been set up specifically for
use in usenet. Feel free to use it yourself.)
  Reply With Quote
Old 09-01-2008, 05:18 AM   #17
Jim Beard
Guest
 
Posts: n/a
Re: Download duration while Easyurpmi

santo wrote:
> Well. I remember it said I did not have any LAN or WAN etc...configured,
> which was not the case...


To diagnose your problem, we need to know exactly
what you tried to do, and what the error messages
were (if any), or what happened (or did not happen).

At this moment, I still have no idea exactly what
your original problem was. If the Internet connection
was not longer configured, use mcc to configure it.
But I do not know if this was your problem.

> I really did not want to reinstall but I did not know what else to do...


That is now history. Learn what to do next time
something goes amiss.

> I am connecting wireless with a D-Link box...anyway, I'll try again, only
> I would really be happy ( and it would simplify my task, If I knew how
> many MB or time remaining is left...)


Wireless? Connecting to your ISP wireless? Or connecting
to another machine on a LAN wireless? This makes a big difference,
either way. You must tell people what your system is like
if you expect help.

>> Set up your mirrors and then, as root in a terminal window, urpmi --wget
>> --auto-update --auto-select --auto You may get a little better reporting
>> on status, but if the file is small you still will not see the size.

>
> You mean I should not follow the three steps suggested by EasyUrpmi?


The three steps required by EasyUrpmi set up your
mirrors, sometimes called repositories. This specifies
where to get additional software and updates for you machine.

urpmi --wget --auto-update --auto-select --auto
assumes you have done this already, and gets any
updates available. It seems to provide somewhat more
verbose status reports than the mcc interface, so maybe
you will get better reporting on file size.

Not to worry about losing power during a download,
though. wget will remember what it has downloaded
and start up again when next you run the above command.
If the downloaded file is corrupt, the md5sum check
will spot that, and the corrupt file will not be
used for an install.
>
>>> On a totally different level:
>>> ...was I hallucinating or when I installed the first time Googleearth
>>> was listed at Start/Internet/GoogleEarth?

>> Why would one's mind hallucinate something like that? There are
>> occasional problems with the menus in Mandriva but I mostly work from
>> the command line and cannot help on this one. If a menu item or icon on
>> the tool bar goes away that I want, I add a new one.

> What I meant was that after the first installation "I thought" I saw
> GoogleEarth, now I can not even find it in MCC...


In your menus, look under Internet for Google Earth Install.

Cheers!

jim b.

--
UNIX is not user-unfriendly; it merely
expects users to be computer-friendly.
  Reply With Quote
Old 09-01-2008, 05:18 AM   #18
David W. Hodgins
Guest
 
Posts: n/a
Re: Download duration while Easyurpmi

On Sat, 05 Jan 2008 09:08:16 -0500, Jim Beard <> wrote:

> urpmi --wget --auto-update --auto-select --auto
> Not to worry about losing power during a download,
> though. wget will remember what it has downloaded


Add --resume to the above options, so a partially downloaded file will
resume from where it left off.

Regards, Dave Hodgins

--
Change nomail.afraid.org to ody.ca to reply by email.
(nomail.afraid.org has been set up specifically for
use in usenet. Feel free to use it yourself.)
  Reply With Quote
Old 09-01-2008, 05:19 AM   #19
Jim Beard
Guest
 
Posts: n/a
Re: Download duration while Easyurpmi

David W. Hodgins wrote:
> On Sat, 05 Jan 2008 09:08:16 -0500, Jim Beard <> wrote:
>
>> urpmi --wget --auto-update --auto-select --auto
>> Not to worry about losing power during a download,
>> though. wget will remember what it has downloaded

>
> Add --resume to the above options, so a partially downloaded file will
> resume from where it left off.
>
> Regards, Dave Hodgins


Doesn't wget do that automatically?

Wget has been designed for robustness over slow or unstable
network
connections; if a download fails due to a network problem, it
will keep
retrying until the whole file has been retrieved. If the
server sup-
ports regetting, it will instruct the server to continue the
download
from where it left off.

Is the --resume option for urpmi also needed?

Cheers!

jim b.

--
UNIX is not user-unfriendly; it merely
expects users to be computer-friendly.
  Reply With Quote
Old 09-01-2008, 05:20 AM   #20
David W. Hodgins
Guest
 
Posts: n/a
Re: Download duration while Easyurpmi

On Sat, 05 Jan 2008 14:49:21 -0500, Jim Beard <> wrote:

> Is the --resume option for urpmi also needed?


Yes, urpmi will not pass the -c option to wget, unless resume has been
specified. wget will only auto resume, when it retries, during the
same execution. On a fresh start, without the -c option, it will
restart the download, from the beginning.

At least, without going back, and retesting this, I'm pretty sure that's
the case.

Regards, Dave Hodgins

--
Change nomail.afraid.org to ody.ca to reply by email.
(nomail.afraid.org has been set up specifically for
use in usenet. Feel free to use it yourself.)
  Reply With Quote
Reply

Thread Tools
Display Modes



< Home - Windows Help - MS Office Help - Hardware Support >


New To Site?Need Help?

All times are GMT +5.5. The time now is 08:43 AM.


vBulletin, Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO
Copyright © 2005-2010, TechTalkz.com. All Rights Reserved - Privacy Policy
Valid XHTML 1.0 Transitional