Re: [Cooker] URPMI suggestion. ( /etc/urpmi/urpmi.cfg )

2002-12-09 Thread François Pons
Le ven 06/12/2002 à 21:02, Jesper Krogh a écrit :

 If i remove:
 /var/lib/urpmi/hdlist.secure.cz
 And run:
 urpmi.update secure I get:
 unable to access hdlist file of secure, medium ignored
 But thats not true... it could just get it from the Ftp it knows. 

Yes, first when it reads the configuration file, it see no hdlist so the
medium is ignored but urpmi.update ignored_medium_name allow to try to
update an ignored medium (and drop the ignored flag).

 And a second suggestion. The possibility to have more than one server defining 
 the same sources. So I wont miss if my local mirror reboots when my cronjob 
 runs urpmi.update.

It will be done, I don't known exactly now how to code this but it will
be available (maybe even soon ?)

 But urpmi is really shaping up and looks very good. 

Thanks !

François.





Re: [Cooker] URPMI suggestion. ( /etc/urpmi/urpmi.cfg )

2002-12-06 Thread François Pons
Le ven 06/12/2002 à 18:11, Jesper Krogh a écrit :
 Hi. I have a suggestion.
 
 The current layout of urpmi.cfg file is this way:
 secure  {
   hdlist: hdlist.secure.cz
   with_hdlist: ../base/hdlist.cz
   list: list.secure
   update
 }
 
 entities.
 
 It would be wery nice if all relevant information was stored in the urpmi.cfg 
 file, so you could copy it to another system and do a:
 urpmi.update -a 
 and it would retrieve the hdlists if they were accessible. 

It is the case (url) now, except if a user/password is visible inside
it.

 Due to the current layout of configuration files for urpmi, is it quite 
 impossible to view the configuration and verify that it is as I would expect 
 it to be. And even more impossible to copy a complete configuration to 
 another system ( if I don't have the exact urpmi.addmedia commands ).

Not enough simple ?

François.





Re: [Cooker] URPMI suggestion. ( /etc/urpmi/urpmi.cfg )

2002-12-06 Thread Olivier Thauvin
Le Vendredi 6 Décembre 2002 17:57, François Pons a écrit :
 Le ven 06/12/2002 à 18:11, Jesper Krogh a écrit :
  Hi. I have a suggestion.
 
  The current layout of urpmi.cfg file is this way:
  secure  {
hdlist: hdlist.secure.cz
with_hdlist: ../base/hdlist.cz
list: list.secure
update
  }
 
  entities.
 
  It would be wery nice if all relevant information was stored in the
  urpmi.cfg file, so you could copy it to another system and do a:
  urpmi.update -a
  and it would retrieve the hdlists if they were accessible.

 It is the case (url) now, except if a user/password is visible inside
 it.

  Due to the current layout of configuration files for urpmi, is it quite
  impossible to view the configuration and verify that it is as I would
  expect it to be. And even more impossible to copy a complete
  configuration to another system ( if I don't have the exact
  urpmi.addmedia commands ).

 Not enough simple ?

 François.

Or use urpmi.setup - system information :)

-- 
Linux pour Mac !? Enfin le moyen de transformer
une pomme en véritable ordinateur. - JL.
Olivier Thauvin - http://nanardon.homelinux.org/




Re: [Cooker] URPMI suggestion. ( /etc/urpmi/urpmi.cfg )

2002-12-06 Thread Jesper Krogh
On Friday 06 December 2002 18:57, François Pons wrote:
 Le ven 06/12/2002 à 18:11, Jesper Krogh a écrit :
  Hi. I have a suggestion.
 
  The current layout of urpmi.cfg file is this way:
  secure  {
hdlist: hdlist.secure.cz
with_hdlist: ../base/hdlist.cz
list: list.secure
update
  }
 
  entities.
 
  It would be wery nice if all relevant information was stored in the
  urpmi.cfg file, so you could copy it to another system and do a:
  urpmi.update -a
  and it would retrieve the hdlists if they were accessible.

 It is the case (url) now, except if a user/password is visible inside
 it.

Ok, I have updated, now i looks more like I'd expect it to do.

  Due to the current layout of configuration files for urpmi, is it quite
  impossible to view the configuration and verify that it is as I would
  expect it to be. And even more impossible to copy a complete
  configuration to another system ( if I don't have the exact
  urpmi.addmedia commands ).

 Not enough simple ?

Exactly. Now I have this entity in /etc/urpmi/urpmi.cfg:
secure ftp://ftp.sunet.se/pub/os/Linux/distributions/mandrake/updates/9.0/RPMS 
{
  hdlist: hdlist.secure.cz
  with_hdlist: ../base/hdlist.cz
  update
}

If i remove:
/var/lib/urpmi/hdlist.secure.cz
And run:
urpmi.update secure I get:
unable to access hdlist file of secure, medium ignored
But thats not true... it could just get it from the Ftp it knows. 

And a second suggestion. The possibility to have more than one server defining 
the same sources. So I wont miss if my local mirror reboots when my cronjob 
runs urpmi.update.

But urpmi is really shaping up and looks very good. 

Thanks.

-- 
Jesper Krogh, [EMAIL PROTECTED]