Le Thu, Aug 30, 2007 at 12:58:44PM CEST, « [EMAIL PROTECTED] » a jacqueté:
> Hi boys,
>
> I have one question about multiple repository configured.
>
> For example:
>
> I have configured in my rimelse multiple repository.
>
> It's possible that the same package is in several repository.
>
> When I want to install packages, how choose which repository?

For exemple in gentoo :

There is an official repository, and overlay (unofficial repositories).
If a package appear twice, one in official, one in overlay, it take the
overlay one. Because, it's often a package you've tunned, and want to
use (like a patchset).

Now if you have 2 or more overlay, and you've got twice the same
package, with same version, it take the overlay lastest overlay declared.

A way to avoid that behaviour is the add a token in version package like
-r1 or -r2 for release 1 and 2. It can be considered as a gentoo
release, but still owned by a specific version of that package.

A way to rimelese to handle this case (and to don't do -r1 etc) would be
prevent the user that there's a conflit and that rimelse can't handle
it.

But it could give the user information like :

        Theres is a conflict which vim-7.1
        It appear to be in:
                /path/to/repository/1
                /path/to/repository/2

        You could resolv the conflict by running:
                reb install /path/to/repository/1 package

Or prompt the user to which one he want to install (a bad idea IMHO for
automatic process).

It's just ideas. Could be enhanced essily.

Also, how is handle mutiple version of a package (for
patchset/correction/..) ?

> Maybe my question is not clear.

It is.

-- 
Beber

Attachment: pgpVwhcdMvBea.pgp
Description: PGP signature

Reply via email to