Re: [Cooker] urpmi -p webfetch - is it supposed to work?

2001-11-29 Thread François Pons

[EMAIL PROTECTED] (François Pons) writes:

> Borsenkow Andrej <[EMAIL PROTECTED]> writes:
> 
> > > You have removed both curl and wget ?
> > 
> > yes.
> 
> I reproduce it here withtout removing so... I fix this problem.

Fixed in 7mdk.

François.




Re: [Cooker] urpmi -p webfetch - is it supposed to work?

2001-11-29 Thread François Pons

Chmouel Boudjnah <[EMAIL PROTECTED]> writes:

> If the user doen't have nor curl nor wget, what is the better
> webfetcher ?

This means he has installed urpmi with --nodeps...

For such thing, we can do a lot of things. But urpmi will still continue to work
with local medium (while no network access are performed).

I can add another support with perl module, but this is not mandatory for
instance (other things to do).

François.




Re: [Cooker] urpmi -p webfetch - is it supposed to work?

2001-11-29 Thread Chmouel Boudjnah

[EMAIL PROTECTED] (François Pons) writes:

> Chmouel Boudjnah <[EMAIL PROTECTED]> writes:
> 
> > [EMAIL PROTECTED] (François Pons) writes:
> > 
> > > as webfetch is provided by both curl and wget: search if it is provided by one
> > > of them, if this is the case do nothing (there is no version information as
> > 
> > and how do you make a difference between level ?
> 
> What is level here ?

If the user doen't have nor curl nor wget, what is the better
webfetcher ?




Re: [Cooker] urpmi -p webfetch - is it supposed to work?

2001-11-29 Thread François Pons

Borsenkow Andrej <[EMAIL PROTECTED]> writes:

> > You have removed both curl and wget ?
> 
> yes.

I reproduce it here withtout removing so... I fix this problem.

François.




RE: [Cooker] urpmi -p webfetch - is it supposed to work?

2001-11-29 Thread Borsenkow Andrej


> 
> > Hmm ... it did not work at all and now suddenly it almost work.
Except
> > actually installing anything. After forcible removal of wget:
> >
> > [root@cooker root]# urpmi -p webfetch
> > The following packages contain webfetch: curl wget
> >
> > And nothing more.
> 
> You have removed both curl and wget ?

yes.

-andrej





Re: [Cooker] urpmi -p webfetch - is it supposed to work?

2001-11-29 Thread François Pons

Borsenkow Andrej <[EMAIL PROTECTED]> writes:

> Hmm ... it did not work at all and now suddenly it almost work. Except
> actually installing anything. After forcible removal of wget:
> 
> [root@cooker root]# urpmi -p webfetch
> The following packages contain webfetch: curl wget 
> 
> And nothing more.

You have removed both curl and wget ?

I will reproduce here to look at this.

> > > Else it is nice to give better explanation what -p is for.
> > 
> > 
> > I will try to update this part of the documentation, is it online help
> > and/or
> > man pages which are not very clear ?
> >
> 
> It is terse but if it supposed to works as described it is O.K. Because
> it does not work as described :-) I thought, may be it does something
> different.

It could do something slightly different.

François.




Re: [Cooker] urpmi -p webfetch - is it supposed to work?

2001-11-29 Thread François Pons

Chmouel Boudjnah <[EMAIL PROTECTED]> writes:

> [EMAIL PROTECTED] (François Pons) writes:
> 
> > as webfetch is provided by both curl and wget: search if it is provided by one
> > of them, if this is the case do nothing (there is no version information as
> 
> and how do you make a difference between level ?

What is level here ?

we should take care according to version available, or we add a version
information if necessary (virtual version so) but this is not needed currently.

François.






Re: [Cooker] urpmi -p webfetch - is it supposed to work?

2001-11-29 Thread Chmouel Boudjnah

[EMAIL PROTECTED] (François Pons) writes:

> as webfetch is provided by both curl and wget: search if it is provided by one
> of them, if this is the case do nothing (there is no version information as

and how do you make a difference between level ?




RE: [Cooker] urpmi -p webfetch - is it supposed to work?

2001-11-29 Thread Borsenkow Andrej

> 
> It is supposed to do something like that (I don't have tested it yet)
> 
> as webfetch is provided by both curl and wget: search if it is
provided by
> one
> of them, if this is the case do nothing (there is no version
information
> as
> this level) else look if curl or wget is installed (as webfetch is
> provided by
> one of these packages) and update the package already installed, else
ask
> user
> to choose one of them (not propable as previous version of urpmi
already
> requires wget).
> 

Hmm ... it did not work at all and now suddenly it almost work. Except
actually installing anything. After forcible removal of wget:

[root@cooker root]# urpmi -p webfetch
The following packages contain webfetch: curl wget 

And nothing more.

> > Else it is nice to give better explanation what -p is for.
> 
> 
> I will try to update this part of the documentation, is it online help
> and/or
> man pages which are not very clear ?
>

It is terse but if it supposed to works as described it is O.K. Because
it does not work as described :-) I thought, may be it does something
different.

-andrej




Re: [Cooker] urpmi -p webfetch - is it supposed to work?

2001-11-29 Thread François Pons

Borsenkow Andrej <[EMAIL PROTECTED]> writes:

It is supposed to do something like that (I don't have tested it yet)

as webfetch is provided by both curl and wget: search if it is provided by one
of them, if this is the case do nothing (there is no version information as
this level) else look if curl or wget is installed (as webfetch is provided by
one of these packages) and update the package already installed, else ask user
to choose one of them (not propable as previous version of urpmi already
requires wget).

> Else it is nice to give better explanation what -p is for.

It is an option to give a property/file required/package/provide to search
package to install from this text.

For example, urpmi -p KOI-8.so will try to update glibc (look at urpmq -p
KOI-8.so also) as glibc provide KOI-8.so

I will try to update this part of the documentation, is it online help and/or
man pages which are not very clear ?

François.