TechTalkz.com Logo

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:56 AM   #61
David W. Hodgins
Guest
 
Posts: n/a
Re: Download duration while Easyurpmi

On Mon, 07 Jan 2008 06:20:53 -0500, santo <.in> wrote:

> I thought that adding the repositories was all I needed to do, now you
> say that /after/ adding them I should "...urpmi --wget --auto-update --
> auto-select --auto..."


The auto-update is not needed, if auto-select is being used, immediately
after adding the repositories. Doesn't hurt, but is not needed.

urpmi.addmedia will create the files in /var/lib/urpmi, for the new repository.

urpmi --auto-update will check to see if the mirror has had any updates, and
then update the files in /var/lib/urpmi, if needed.

urpmi --auto-select will compare each package listed as available in the
/var/lib/urpmi files, with the version that is installed, and select
any updates, for already installed packages.

> -OK, now that I have the main repository added what ma I supposed to do?
> - and most of all why?...and by the way, do I /have/ to add contrib as
> well?..


Contrib has a lot of packages created by users, not by Mandriva. It is
a good idea to add it, as well as contrib updates, plf (free & non-free),
plust plf updates (again, free & non-free).

After adding the main repository, and main updates, you should run
urpmi --auto-select, to get the various updates.

While I would expect main repository to be static, given that there is a
separate main updates repository, that isn't the case. Most updates are
only in the updates repository, but for some reason, main is sometimes
updated, as well, including (possibly only) the addition of new packages.

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:57 AM   #62
santo
Guest
 
Posts: n/a
Re: Download duration while Easyurpmi

On Sat, 05 Jan 2008 14:08:16 +0000, Jim Beard wrote:

> santo wrote:


> 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.


Yes, I am connecting wireless to another machine on a LAN ...
Anyway,... I used the "three steps" ; no info on the console so I let it
there to see what happen and after fortyseven minutes in total "main" and
"main_update" were added.
Plf-free took a wink of an eye...

>>> 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.


....OK! I have a confession to make!

After four years using Mandrake/Mandriva I still do not know/understand/
am sure/ how this all work.

:-(

I thought that adding the repositories was all I needed to do, now you
say that /after/ adding them I should "...urpmi --wget --auto-update --
auto-select --auto..."

....

Beats me!

Please keep in mind that I am a totally ignorant computer user; I got my
first computer four years ago and started right away with Linux/
Mandrake_9.1...and many things people might think should be obvious , are
not obvious to me. I have no idea how the NET works, I do my homework but
now I am forced to ask ...
-OK, now that I have the main repository added what ma I supposed to do?
- and most of all why?...and by the way, do I /have/ to add contrib as
well?...

Phew! it is hard to admit a defeat but sort of "liberating" also...
Thanks for your help...
santo



> Cheers!
>
> jim b.


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

On Mon, 07 Jan 2008 06:20:53 -0500, santo <.in> wrote:

> I thought that adding the repositories was all I needed to do, now you
> say that /after/ adding them I should "...urpmi --wget --auto-update --
> auto-select --auto..."


The auto-update is not needed, if auto-select is being used, immediately
after adding the repositories. Doesn't hurt, but is not needed.

urpmi.addmedia will create the files in /var/lib/urpmi, for the new repository.

urpmi --auto-update will check to see if the mirror has had any updates, and
then update the files in /var/lib/urpmi, if needed.

urpmi --auto-select will compare each package listed as available in the
/var/lib/urpmi files, with the version that is installed, and select
any updates, for already installed packages.

> -OK, now that I have the main repository added what ma I supposed to do?
> - and most of all why?...and by the way, do I /have/ to add contrib as
> well?..


Contrib has a lot of packages created by users, not by Mandriva. It is
a good idea to add it, as well as contrib updates, plf (free & non-free),
plust plf updates (again, free & non-free).

After adding the main repository, and main updates, you should run
urpmi --auto-select, to get the various updates.

While I would expect main repository to be static, given that there is a
separate main updates repository, that isn't the case. Most updates are
only in the updates repository, but for some reason, main is sometimes
updated, as well, including (possibly only) the addition of new packages.

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, 06:00 AM   #64
Jim Beard
Guest
 
Posts: n/a
Re: Download duration while Easyurpmi

santo wrote:
> Yes, I am connecting wireless to another machine on a LAN ...
> Anyway,... I used the "three steps" ; no info on the console so I let it
> there to see what happen and after fortyseven minutes in total "main" and
> "main_update" were added.
> Plf-free took a wink of an eye...


If I remember correctly, main, main-update,
and contrib are close to 10 MB in size. The
plf repositories are maybe a few hundred KB.

Are you on dial-up? If so, we really need to
know. This will make a big difference in the
strategy used to get needed updates, as there
are (at a WAG) maybe 700 MB to be downloaded.

If on dial-up, you will first need to schedule
your downloads for midnight to 6 am, and each
night pick packages that will total about the
right amount to complete in that time.

Add to that, you should first update those
things used in updating your system -- anything
with a name starting or ending in drak or drake,
wget and curl, rpm, anything starting urpmi.

After that, maybe the x11 packages, and then
applications programs.

> I thought that adding the repositories was all I needed to do, now you
> say that /after/ adding them I should "...urpmi --wget --auto-update --
> auto-select --auto..."


I know there is an option when installing to have
the OS alert you when there is an update to be installed.
Maybe there is an option to automatically do the
update. Hmmmmm. 47 minutes to download and install
updates from main and main_updates might be about right.

Launch mcc and start off as if updating your system
using the GUI. See how much it says you need to
update. If it is a few packages, install them.
If it is a few hundred packages, and you are on
dial-up, it is time to start thinking.

> -OK, now that I have the main repository added what ma I supposed to do?
> - and most of all why?...and by the way, do I /have/ to add contrib as
> well?...


main contains the same packages you get on the install dvd.
It's main purpose is to allow you to install additional
software without resorting to an install disk.

main_updates contains updates to the packages in main.

contrib and contrib_updates contains many of the
applications programs you have installed on your system.
You do need them.

The plf repositories contain software that either is
proprietary (not available in source code) or that
may infringe on patents or copyrights in some countries.

Some audio codecs, video software, and reverse
engineered drivers falls in these categories.

Now, with your repositories set up using easyurpmi,
launch mcc, go to software management, then to
configure media sources for install and updates,
and see what mirrors are set up and enabled. If
that is ok, quit that and go to updates and see what
you need to update.

Cheers!

jim b.


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

santo wrote:
> Yes, I am connecting wireless to another machine on a LAN ...
> Anyway,... I used the "three steps" ; no info on the console so I let it
> there to see what happen and after fortyseven minutes in total "main" and
> "main_update" were added.
> Plf-free took a wink of an eye...


If I remember correctly, main, main-update,
and contrib are close to 10 MB in size. The
plf repositories are maybe a few hundred KB.

Are you on dial-up? If so, we really need to
know. This will make a big difference in the
strategy used to get needed updates, as there
are (at a WAG) maybe 700 MB to be downloaded.

If on dial-up, you will first need to schedule
your downloads for midnight to 6 am, and each
night pick packages that will total about the
right amount to complete in that time.

Add to that, you should first update those
things used in updating your system -- anything
with a name starting or ending in drak or drake,
wget and curl, rpm, anything starting urpmi.

After that, maybe the x11 packages, and then
applications programs.

> I thought that adding the repositories was all I needed to do, now you
> say that /after/ adding them I should "...urpmi --wget --auto-update --
> auto-select --auto..."


I know there is an option when installing to have
the OS alert you when there is an update to be installed.
Maybe there is an option to automatically do the
update. Hmmmmm. 47 minutes to download and install
updates from main and main_updates might be about right.

Launch mcc and start off as if updating your system
using the GUI. See how much it says you need to
update. If it is a few packages, install them.
If it is a few hundred packages, and you are on
dial-up, it is time to start thinking.

> -OK, now that I have the main repository added what ma I supposed to do?
> - and most of all why?...and by the way, do I /have/ to add contrib as
> well?...


main contains the same packages you get on the install dvd.
It's main purpose is to allow you to install additional
software without resorting to an install disk.

main_updates contains updates to the packages in main.

contrib and contrib_updates contains many of the
applications programs you have installed on your system.
You do need them.

The plf repositories contain software that either is
proprietary (not available in source code) or that
may infringe on patents or copyrights in some countries.

Some audio codecs, video software, and reverse
engineered drivers falls in these categories.

Now, with your repositories set up using easyurpmi,
launch mcc, go to software management, then to
configure media sources for install and updates,
and see what mirrors are set up and enabled. If
that is ok, quit that and go to updates and see what
you need to update.

Cheers!

jim b.


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

On Mon, 07 Jan 2008 06:20:53 -0500, santo <.in> wrote:

> I thought that adding the repositories was all I needed to do, now you
> say that /after/ adding them I should "...urpmi --wget --auto-update --
> auto-select --auto..."


The auto-update is not needed, if auto-select is being used, immediately
after adding the repositories. Doesn't hurt, but is not needed.

urpmi.addmedia will create the files in /var/lib/urpmi, for the new repository.

urpmi --auto-update will check to see if the mirror has had any updates, and
then update the files in /var/lib/urpmi, if needed.

urpmi --auto-select will compare each package listed as available in the
/var/lib/urpmi files, with the version that is installed, and select
any updates, for already installed packages.

> -OK, now that I have the main repository added what ma I supposed to do?
> - and most of all why?...and by the way, do I /have/ to add contrib as
> well?..


Contrib has a lot of packages created by users, not by Mandriva. It is
a good idea to add it, as well as contrib updates, plf (free & non-free),
plust plf updates (again, free & non-free).

After adding the main repository, and main updates, you should run
urpmi --auto-select, to get the various updates.

While I would expect main repository to be static, given that there is a
separate main updates repository, that isn't the case. Most updates are
only in the updates repository, but for some reason, main is sometimes
updated, as well, including (possibly only) the addition of new packages.

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, 06:09 AM   #67
Jim Beard
Guest
 
Posts: n/a
Re: Download duration while Easyurpmi

santo wrote:
> Yes, I am connecting wireless to another machine on a LAN ...
> Anyway,... I used the "three steps" ; no info on the console so I let it
> there to see what happen and after fortyseven minutes in total "main" and
> "main_update" were added.
> Plf-free took a wink of an eye...


If I remember correctly, main, main-update,
and contrib are close to 10 MB in size. The
plf repositories are maybe a few hundred KB.

Are you on dial-up? If so, we really need to
know. This will make a big difference in the
strategy used to get needed updates, as there
are (at a WAG) maybe 700 MB to be downloaded.

If on dial-up, you will first need to schedule
your downloads for midnight to 6 am, and each
night pick packages that will total about the
right amount to complete in that time.

Add to that, you should first update those
things used in updating your system -- anything
with a name starting or ending in drak or drake,
wget and curl, rpm, anything starting urpmi.

After that, maybe the x11 packages, and then
applications programs.

> I thought that adding the repositories was all I needed to do, now you
> say that /after/ adding them I should "...urpmi --wget --auto-update --
> auto-select --auto..."


I know there is an option when installing to have
the OS alert you when there is an update to be installed.
Maybe there is an option to automatically do the
update. Hmmmmm. 47 minutes to download and install
updates from main and main_updates might be about right.

Launch mcc and start off as if updating your system
using the GUI. See how much it says you need to
update. If it is a few packages, install them.
If it is a few hundred packages, and you are on
dial-up, it is time to start thinking.

> -OK, now that I have the main repository added what ma I supposed to do?
> - and most of all why?...and by the way, do I /have/ to add contrib as
> well?...


main contains the same packages you get on the install dvd.
It's main purpose is to allow you to install additional
software without resorting to an install disk.

main_updates contains updates to the packages in main.

contrib and contrib_updates contains many of the
applications programs you have installed on your system.
You do need them.

The plf repositories contain software that either is
proprietary (not available in source code) or that
may infringe on patents or copyrights in some countries.

Some audio codecs, video software, and reverse
engineered drivers falls in these categories.

Now, with your repositories set up using easyurpmi,
launch mcc, go to software management, then to
configure media sources for install and updates,
and see what mirrors are set up and enabled. If
that is ok, quit that and go to updates and see what
you need to update.

Cheers!

jim b.


--
UNIX is not user-unfriendly; it merely
expects users to be computer-friendly.
  Reply With Quote
Old 09-01-2008, 03:17 PM   #68
santo
Guest
 
Posts: n/a
Re: Download duration while Easyurpmi

On Tue, 08 Jan 2008 04:13:45 +0000, Jim Beard wrote:

> santo wrote:
>> Yes, I am connecting wireless to another machine on a LAN ...
>> Anyway,... I used the "three steps" ; no info on the console so I let
>> it there to see what happen and after fortyseven minutes in total
>> "main" and "main_update" were added.
>> Plf-free took a wink of an eye...

>
> If I remember correctly, main, main-update, and contrib are close to 10
> MB in size. The plf repositories are maybe a few hundred KB.
>
> Are you on dial-up? If so, we really need to know. This will make a
> big difference in the strategy used to get needed updates, as there are
> (at a WAG) maybe 700 MB to be downloaded.
>
> If on dial-up, you will first need to schedule your downloads for
> midnight to 6 am, and each night pick packages that will total about the
> right amount to complete in that time.
>
> Add to that, you should first update those things used in updating your
> system -- anything with a name starting or ending in drak or drake, wget
> and curl, rpm, anything starting urpmi.
>
> After that, maybe the x11 packages, and then applications programs.
>
>> I thought that adding the repositories was all I needed to do, now you
>> say that /after/ adding them I should "...urpmi --wget --auto-update --
>> auto-select --auto..."

>
> I know there is an option when installing to have the OS alert you when
> there is an update to be installed. Maybe there is an option to
> automatically do the update. Hmmmmm. 47 minutes to download and
> install updates from main and main_updates might be about right.
>
> Launch mcc and start off as if updating your system using the GUI. See
> how much it says you need to update. If it is a few packages, install
> them. If it is a few hundred packages, and you are on dial-up, it is
> time to start thinking.
>
>> -OK, now that I have the main repository added what ma I supposed to
>> do? - and most of all why?...and by the way, do I /have/ to add contrib
>> as well?...

>
> main contains the same packages you get on the install dvd. It's main
> purpose is to allow you to install additional software without resorting
> to an install disk.
>
> main_updates contains updates to the packages in main.
>
> contrib and contrib_updates contains many of the applications programs
> you have installed on your system. You do need them.
>
> The plf repositories contain software that either is proprietary (not
> available in source code) or that may infringe on patents or copyrights
> in some countries.
>
> Some audio codecs, video software, and reverse engineered drivers falls
> in these categories.
>
> Now, with your repositories set up using easyurpmi, launch mcc, go to
> software management, then to configure media sources for install and
> updates, and see what mirrors are set up and enabled. If that is ok,
> quit that and go to updates and see what you need to update.
>
> Cheers!
>
> jim b.


Thanks guys about everything...it seems clearer now...

at least I hope...
:-)
santo
  Reply With Quote
Old 09-01-2008, 04:37 PM   #69
Frank Peelo
Guest
 
Posts: n/a
Re: Download duration while Easyurpmi

Jim Beard wrote:
> santo wrote:
>
>> Yes, I am connecting wireless to another machine on a LAN ...
>> Anyway,... I used the "three steps" ; no info on the console so I let
>> it there to see what happen and after fortyseven minutes in total
>> "main" and "main_update" were added.
>> Plf-free took a wink of an eye...

>
>
> If I remember correctly, main, main-update,
> and contrib are close to 10 MB in size. The
> plf repositories are maybe a few hundred KB.
>
> Are you on dial-up? If so, we really need to
> know. This will make a big difference in the
> strategy used to get needed updates, as there
> are (at a WAG) maybe 700 MB to be downloaded.
>
> If on dial-up, you will first need to schedule
> your downloads for midnight to 6 am, and each
> night pick packages that will total about the
> right amount to complete in that time.


As a relatively recent escapee from dial-up, that makes me shiver.
Dial-up is charged by the second...

And good luck keeping a modem connection up for 6 hours.

Is there any easy/automated way of doing this from a CD? -- assuming
there's some CD image that can be downloaded on a better-equiped PC
elsewhere first.

Frank
  Reply With Quote
Old 10-01-2008, 07:41 AM   #70
Jim Beard
Guest
 
Posts: n/a
Re: Download duration while Easyurpmi



>> santo wrote:
>>> Yes, I am connecting wireless to another machine on a LAN ...
>>> Anyway,... I used the "three steps" ; no info on the console so I let
>>> it there to see what happen and after fortyseven minutes in total
>>> "main" and "main_update" were added.
>>> Plf-free took a wink of an eye...


> Jim Beard wrote:
>> If I remember correctly, main, main-update,
>> and contrib are close to 10 MB in size. The
>> plf repositories are maybe a few hundred KB.
>>
>> Are you on dial-up? If so, we really need to
>> know. This will make a big difference in the
>> strategy used to get needed updates, as there
>> are (at a WAG) maybe 700 MB to be downloaded.
>>
>> If on dial-up, you will first need to schedule
>> your downloads for midnight to 6 am, and each
>> night pick packages that will total about the
>> right amount to complete in that time.


Frank Peelo wrote:
> As a relatively recent escapee from dial-up, that makes me shiver.
> Dial-up is charged by the second...
>
> And good luck keeping a modem connection up for 6 hours.
>
> Is there any easy/automated way of doing this from a CD? -- assuming
> there's some CD image that can be downloaded on a better-equiped PC
> elsewhere first.


Use urpmi to set up the mirrors on a fast-connection
machine as if it were your slow-connection machine.

Add the --no-install option to your urpmi command. In effect,
"Only download packages, don't install them. After operation, you'll
find them in /var/cache/urpmi/rpms." (from man urpmi )

urpmi --no-install --wget --auto-update --auto-select --auto
will get all updates needed. Burn them to a CD. Take the
CD to your machine, and copy them to a directory there,
maybe $HOME/newdir. cd to $HOME/newdir and use the command
urpmi ./* and everything will be installed.

Run md5sum on the packages downloaded and then again
on the packages when in $HOME/newdir. If they do not
match, that could bollix things.

If the fast-connection machine is a Winblows machine,
on your machine use mcc as if you were going to update
or install, but stop just before installing. Use the
list of what would be installed as your shopping list.
Use ftp or gftp or whatever to go to the mirrors
(/etc/urpmi.cfg will have the list of mirrors, and
pathnames to the repositories you need as well) and
use the fast machine to download the packages you need
that way. If you skip the mcc routine, you may not
get all packages needed and wind up in dependency hell...

It is not real easy, but it will work. And a few hundred
megabytes on dial-up can take hours. Been there. Done that.
Much prefer fiber to the home, and 10 minutes to download
700MB of updates after a new OS install.

Cheers!

jim b.

--
UNIX is not user-unfriendly; it merely
expects users to be computer-friendly.
  Reply With Quote
Reply

Thread Tools
Display Modes



< Windows Help - MS Office Help - Hardware Support >


New To Site? Need Help?

All times are GMT +5.5. The time now is 01:46 PM.


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