Re: [Cooker] URPMI - hdlist.cz and FTPs

2002-04-03 Thread François Pons

Ron Stodden <[EMAIL PROTECTED]> writes:

> Does French have a similar problem?

"media" and "medium" are used, not "mediums", I kept it because I misnamed it
initialy and I take a little time to check this. I will replace mediums by
medium so.

François.




Re: [Cooker] URPMI - hdlist.cz and FTPs

2002-04-03 Thread Ron Stodden

François Pons wrote:
> 
> It is undocumented but --mediums is accepted as --media, should I add --medium
> too :-)

Incorrect usage of "media" for medium is very common in English 'as
she is spoke'.

But the incorrection only applies to the English language, and not
necessarily to programming languages.  For exanple in a language that
supports lists, you can have a list variable called "media" which at
any point in time might contain 0, 1, 2 or more members and be
perfectly correct in all cases.

So, yes, I think you should add --medium, just for those who are picky
about their use of language.  Strictly, you should remove mediums
because there is no such word in English and one should not encourage
misusages.

In the case of naming of an argument that supports lists, medium,
mediums, media (and medias? - yes, I have heard it!) would all be
synonyms.

Does French have a similar problem?

-- 
Ron. [au]




Re: [Cooker] URPMI - hdlist.cz and FTPs

2002-04-03 Thread François Pons

Ron Stodden <[EMAIL PROTECTED]> writes:

> Borsenkow Andrej wrote:
> > 
> > If you have several media defined you can use
> > 
> > urpmi --media media1,media2,...
> > 
> > to force install from specific sites only.
> 
> Oh dear, we are supposed to be speaking English here.   Above
> obviously should be:
> 
> > If you have several media defined you can use
> > 
> > urpmi --medium medium1,medium2,...
> > 
> > to force install from specific sites only.
> 
> media is the plural of medium.

It is undocumented but --mediums is accepted as --media, should I add --medium
too :-)

François.




Re: [Cooker] URPMI - hdlist.cz and FTPs

2002-03-31 Thread David Walluck

On Fri, 29 Mar 2002, Ron Stodden wrote:

> Borsenkow Andrej wrote:
> >
> > If you have several media defined you can use
> >
> > urpmi --media media1,media2,...
> >
> > to force install from specific sites only.
>
> Oh dear, we are supposed to be speaking English here.   Above
> obviously should be:
>
> > If you have several media defined you can use
> >
> > urpmi --medium medium1,medium2,...
> >
> > to force install from specific sites only.
>
> media is the plural of medium.
>
>

Yay! Another English question. Yes, "media" is the plural of "medium" (so
is "mediums"), but I believe media is correct. Note that the list of media
which follows (e.g. 1 or more *media*). Plus, it's normally referred to as
installation "media", since, for example, in Mandrake there are 3 CD's.
This certainly constitutes more than one medium, not counting any other
ftp/http/whatever sites you have specified.

-- 
Sincerely,

David Walluck
<[EMAIL PROTECTED]>





Re: [Cooker] URPMI - hdlist.cz and FTPs

2002-03-29 Thread JJ

Ron Stodden wrote:
> 
> Borsenkow Andrej wrote:
> >
> > If you have several media defined you can use
> >
> > urpmi --media media1,media2,...
> >
> > to force install from specific sites only.
> 
> Oh dear, we are supposed to be speaking English here.   Above
> obviously should be:
> 
> > If you have several media defined you can use
> >
> > urpmi --medium medium1,medium2,...
> >
> > to force install from specific sites only.
> 
> media is the plural of medium.
> 
> --
> Ron. [au]
Not really, I think "media", "media1", and "media2" have PLURAL files? I
do understand your point, however, but can't "media" be a word unto
itself?
Curious,
John




Re: [Cooker] URPMI - hdlist.cz and FTPs

2002-03-29 Thread Guillaume Rousse

Ainsi parlait Keld Jørn Simonsen :
[..]
> of cause you are right, and most also rely on a kernel...
> But are these dependencies really noted with all packages?
They are explicit requires (the one that the packager include in spec file), 
and implicit added by spec helper. Basically, it looks for every linked 
libraries , every used interpreter, etc...
And all rpm rely automatically on a given version of rpmlib itself, to be 
able to extract.
-- 
Guillaume Rousse <[EMAIL PROTECTED]>
GPG key http://lis.snv.jussieu.fr/~rousse/gpgkey.html




Re: [Cooker] URPMI - hdlist.cz and FTPs

2002-03-28 Thread Keld Jørn Simonsen

On Thu, Mar 28, 2002 at 07:35:13PM +0100, Guillaume Rousse wrote:
> Ainsi parlait Keld Jørn Simonsen :
> > On Thu, Mar 28, 2002 at 06:18:42PM +0100, Guillaume Rousse wrote:
> > > urpmi needs to know of relationships between rpm (what requires what) to
> > > work, that is the point of this index (a complete hdlist.cz or a lighter
> > > synthesis file). So you can't use it for a raw remote rpm repository.
> >
> > But could you not create than a default hdlist with no dependencies, and
> > then optionally add dependencies? Many packages stand alone.
> Just shows me one package without any dependency :-)
> All native packages requires at least glibc, with a given version, plus all 
> linked libraries, etc...

of cause you are right, and most also rely on a kernel...
But are these dependencies really noted with all packages?

Keld




Re: [Cooker] URPMI - hdlist.cz and FTPs

2002-03-28 Thread Ron Stodden

Borsenkow Andrej wrote:
> 
> If you have several media defined you can use
> 
> urpmi --media media1,media2,...
> 
> to force install from specific sites only.

Oh dear, we are supposed to be speaking English here.   Above
obviously should be:

> If you have several media defined you can use
> 
> urpmi --medium medium1,medium2,...
> 
> to force install from specific sites only.

media is the plural of medium.

-- 
Ron. [au]




Re: [Cooker] URPMI - hdlist.cz and FTPs

2002-03-28 Thread Guillaume Rousse

Ainsi parlait Keld Jørn Simonsen :
> On Thu, Mar 28, 2002 at 06:18:42PM +0100, Guillaume Rousse wrote:
> > urpmi needs to know of relationships between rpm (what requires what) to
> > work, that is the point of this index (a complete hdlist.cz or a lighter
> > synthesis file). So you can't use it for a raw remote rpm repository.
>
> But could you not create than a default hdlist with no dependencies, and
> then optionally add dependencies? Many packages stand alone.
Just shows me one package without any dependency :-)
All native packages requires at least glibc, with a given version, plus all 
linked libraries, etc...
-- 
Guillaume Rousse <[EMAIL PROTECTED]>
GPG key http://lis.snv.jussieu.fr/~rousse/gpgkey.html




Re: [Cooker] URPMI - hdlist.cz and FTPs

2002-03-28 Thread Borsenkow Andrej

÷ þÔ×, 28.03.2002, × 20:16, Justin T. ÎÁÐÉÓÁÌ:
> Hey,
> 
> I just wanted to know the possibility of adding an options that I think might 
> make life easier (for me at least):
> 
> - hdlist creation from dir listing or FTP connections with no hdlist required.
> 

As already explained, impossible. hdlist is just RPM headers in one
file. You need the extract headers from (remote) RPMs to build hdlist.

> 
> One other quick question:  If I have a listing and do a quick update, how do I 
> get it to pull the file (using urpmi) from a particular site.  Is there some 
> way to set up a priority system?  I would like to prioritize the urpmi 
> downloads in a way that it will take the file first from some sites before 
> others and sometimes they manage to have the same naming scheme, just built 
> differently... or something along those lines.
>

If you have several media defined you can use

urpmi --media media1,media2,...

to force install from specific sites only.

It is really hard (given current design) to allow for retrying download
from different sites. urpmi takes a list of RPM names and resolves it
into list of RPM URLs. I.e. when download starts, urpmi has absolute URL
so when it fails it can't just go to another site and try there.

Doing it sure is possible but requires non-trivial change and won't work
with current rpmdrake anyway without much hassle :(


-andrej




Re: [Cooker] URPMI - hdlist.cz and FTPs

2002-03-28 Thread Keld Jørn Simonsen

On Thu, Mar 28, 2002 at 06:18:42PM +0100, Guillaume Rousse wrote:
> urpmi needs to know of relationships between rpm (what requires what) to 
> work, that is the point of this index (a complete hdlist.cz or a lighter 
> synthesis file). So you can't use it for a raw remote rpm repository.

But could you not create than a default hdlist with no dependencies, and
then optionally add dependencies? Many packages stand alone.

Keld




Re: [Cooker] URPMI - hdlist.cz and FTPs

2002-03-28 Thread Justin T.

Thanks for the quick response :)

I understand now what it is used for.  I was thinking it was more for just a 
listing of the files and had nothing to do with relationships between RPMs.

Justin T

On Thursday 28 March 2002 18:18, Guillaume Rousse wrote:
> Ainsi parlait Justin T. :
> > Hey,
> >
> > I just wanted to know the possibility of adding an options that I think
> > might make life easier (for me at least):
> >
> > - hdlist creation from dir listing or FTP connections with no hdlist
> > required.
> >
> > The reasoning (for me) behind this is that I would like to add the FTP
> > sites from pclinuxonline (especially the Project Athlon, which is
> > particularily interesting to me.)  There is however no hdlist.cz in the
> > directories and without this I cannot add them to urpmi or rpmdrake. 
> > This used to work at one point a while ago, but no longer.
> >
> > Otherwise I am doing something wrong, in which case please feel free to
> > let me know the error of my ways :)
>
> urpmi needs to know of relationships between rpm (what requires what) to
> work, that is the point of this index (a complete hdlist.cz or a lighter
> synthesis file). So you can't use it for a raw remote rpm repository.





Re: [Cooker] URPMI - hdlist.cz and FTPs

2002-03-28 Thread Guillaume Rousse

Ainsi parlait Justin T. :
> Hey,
>
> I just wanted to know the possibility of adding an options that I think
> might make life easier (for me at least):
>
> - hdlist creation from dir listing or FTP connections with no hdlist
> required.
>
> The reasoning (for me) behind this is that I would like to add the FTP
> sites from pclinuxonline (especially the Project Athlon, which is
> particularily interesting to me.)  There is however no hdlist.cz in the
> directories and without this I cannot add them to urpmi or rpmdrake.  This
> used to work at one point a while ago, but no longer.
>
> Otherwise I am doing something wrong, in which case please feel free to let
> me know the error of my ways :)
urpmi needs to know of relationships between rpm (what requires what) to 
work, that is the point of this index (a complete hdlist.cz or a lighter 
synthesis file). So you can't use it for a raw remote rpm repository.
-- 
Guillaume Rousse <[EMAIL PROTECTED]>
GPG key http://lis.snv.jussieu.fr/~rousse/gpgkey.html