On 14 Jul 2010, at 19:35, Alexander Hansen wrote:

> On 7/14/10 1:13 PM, Jean-François Mertens wrote:
>>
>> On 14 Jul 2010, at 18:54, Dominique Dhumieres wrote:
>>
>>> On ppc OSX 10.5.8, installing texlive-base-0.20080816-3
>>> failed with:
>>>
>>> ...
>>> updmap: Map file links or copies:
>>> lrwxr-xr-x  1 root  admin  16 Jul 12 17:12 /sw/var/lib/texmf/fonts/
>>> map/dvipdfm/updmap/dvipdfm.map -> dvipdfm_dl14.map
>>> lrwxr-xr-x  1 root  admin  14 Jul 12 17:12 /sw/var/lib/texmf/fonts/
>>> map/dvips/updmap/psfonts.map -> psfonts_t1.map
>>> lrwxr-xr-x  1 root  admin  15 Jul 12 17:12 /sw/var/lib/texmf/fonts/
>>> map/pdftex/updmap/pdftex.map -> pdftex_dl14.map
>>>
>>> updmap: Done.
>>> Adjusting permissions ...
>>> * Web2c: (web2c). TeX, Metafont, and companion programs.
>>> * DVI-to-Postscript: (dvips).        Translating TeX DVI files to
>>> PostScript.
>>> * DVI-to-PNG: (dvipng).              Translating TeX DVI files to
>>> Portable Network Graphics (PNG).
>>> Errors were encountered while processing:
>>> /sw/fink/dists/unstable/main/binary-darwin-powerpc/text/texlive-
>>> base_0.20080816-3_darwin-powerpc.deb
>>> ### execution of /sw/bin/dpkg-lockwait failed, exit code 1
>>> Failed: can't install package texlive-base-0.20080816-3
>>>
>>
>> Sorry Dominique, but that's not the error, the error must be much
>> higher.
>> You have to check your log from the point on where you see
>>
>>> Unpacking replacement texlive-base ...
>>
>> The error could very well be right there
>> (eg, if you have asymptote installed,
>>> /sw64/bin/dpkg: error processing //sw64/fink/debs/texlive-
>>> base_0.20080816-3_darwin-x86_64.deb (--install):
>>> trying to overwrite `/sw64/share/texmf-local', which is also in
>>> package asymptote
>> :)


> I believe the standard procedure is for packages to install their TeX
> stuff in %p/etc/texmf.local instead, and then to make sure that TeX
> knows about them in PostInst (cf. gnuplot).  asymptote isn't doing  
> that.
> I'll cc Martin.

You're completely right (but notice the little "smile" at the end of my
msg: I felt confident that this was the issue, and that the maintainer
would pick it up without formal notice ..)

This issue is a bit more basic than the stray asymptote file:
it is that dpkg gets thrown in disarray when pkg 2 declares
something as a symlink (to a folder, or always?), and pkg 1 as a folder.
Then _ I think _ if I remember well.. _  nothing would go wrong
when installing pkg 1 after pkg 2 : the deb would just expand
according the already existing symlink in the file-system
But afterwards dpkg thinks this symlink is a folder, belonging to pkg  
1 !.

Then, when trying to replace or overwrite the folder in pkg 1
by the symlink in pkg 2 (pkg 2 could be just pkg 1 with %r=%r+1),
dpkg just refuses to do it, if I remember well. !

Would be nice if someone knew the exact specs and logic, and could  
tell them
_ the above are just fuzzy memories ..

JF


------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
Fink-users mailing list
Fink-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to