[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Effect of Replaces in coexisting packages



Norbert Preining wrote:

> I am back from very relaxed holidays, everyday climbing in the
> morning and swimming in the afternoon, and the evenings were full
> with Retsina, Dolmades, Mousaka etc. Hmmm.

Envy ....

> Back to work:
> 
> On Die, 30 Aug 2005, Ralf Stubner wrote:
>>>> My suggestion would be to not replace files but to divert them.
>>>> That is the only way for a file to be in 2 packages that can
>>>> coexist. Replaces is realy only working right for moving a file
>>>> from a to b.
>>> 
>> 
>> I have no idea, though, why Norbert posted his 'don't use Replaces'
>> message.
> 
> Because of the above, and the problems that happen when you replace a
>  file, then purge the replacing package, and the previous is left
> with stupid stuff.
> 
> I had the problem in one incarnation of the cm-super packages. I 
> replaced the map files from texlive-packages, then purged the
> cm-super,. thus purged the map files, but the config files under
> updmap.d from texlive still refered to the map files, and voila,
> everything breaks.

Ok, such a scenario was the reason for Frank's message to the dpkg
maintainers. Probably the best solution is a versioned Replaces and
Conflicts against texlive-fontsrecommended/texlive-fontsextra and remove
the metrics in question from later versions of these packages. After
all, that's what Replaces is meant for ...

cheerio
ralf



Reply to: