Le Samedi 18 Mars 2006 21:42, Anssi Hannula a écrit :
> Anssi Hannula wrote:
> > IMHO the optimal situation (for both
> > Mandriva and PLF) would be that all pkgs (unless the maintainer doesn't
> > want to for some good reason) are backported, but by default no
> > backported packages are installed. Then the user could choose to e.g.
> > always install new xchat backports. (of course this applies only to pkgs
> > that no external pkgs require, e.g. firefox shouldn't be backported)
> >
> > Unfortunately I have no idea how that could be implemented without
> > massive changes to urpmi.
>
> Well, after some thought, urpmi wouldn't need so massive changes, only a
> filter to allow only certain pkgs from certain pkg source.
>
> By accident I noticed that the Debian Backports project has it working
> just like that:
> http://www.backports.org/instructions.html
>
> What do you think?

there is already option for using a regexp for defaut_media :

~ $ head -n 3 /etc/urpmi/urpmi.cfg
{
  default-media: x86_64
}
~ $ urpmq --list-media
cooker_plf-free
cooker_plf-nonfree
main_x86_64
contrib_x86_64
main_x86_64_debug
main_i586
contrib_i586

~ $ LC_ALL=C urpmq -r zsnes
no package named zsnes
~ $ urpmq -r zsnes --media i586
zsnes-1.42-1mdk

this way, a source will not be used unless specified on the command
line. 
but for urpmi on cooker only.

-- 
Michael Scherer
_______________________________________________
PLF-discuss mailing list
[email protected]
https://www.zarb.org/mailman/listinfo/plf-discuss

Reply via email to