[gobolinux-users] Solution for situation when more programs provide same file

mpb mpb.mail at gmail.com
Fri Jun 29 21:21:23 UTC 2007


On 6/29/07, Carlo Calica <carlo at calica.com> wrote:
> On 6/29/07, mpb <mpb.mail at gmail.com> wrote:
> >
> > My concern is that creating .Alternative in the current Links
> > subdirectories files feels dirty to me.  What if some Program actually
> > has a file named .Alternative...?
> >
> > How about symlinks as follows:
> >
> > System/Links/Conflicts/ProgramA/lib/libfoo.so ->
> > System/Links/Conflicts/ProgramB/lib/libfoo.so ->
> > etc.
> >
> > Or alternatively:
> >
> > System/Links/Conflicts/Libraries/libfoo.so/ProgramA-1.0 ->
> > System/Links/Conflicts/Libraries/libfoo.so/ProgramB-3.4 ->
> > etc.
> >
>
> Conflicts is a better name than Alternatives.  Matches existing
> nomenclature better.  Not sure about turning each conflicting file
> into a directory.  I REALLY like how the original package is named so
> you don't need to look where the symlink is pointing to.  The previous
> proposals have an incrementing counter which I don't like.  Long lived
> installs would have .Alternative13432424--libfoo.so which gets
> unwieldy fast.  Reclaiming unused numbers is an option but adds
> complexity.

How about:

System/Links/Conflicts/Libraries/libfoo.so--ProgramA-3.4 ->

-mpb


More information about the gobolinux-users mailing list