Re: /usr/share/doc vs. /usr/doc transition, debate reopened
I proposed:
>> 1. REQUIRE that /usr/doc is a symlink to the FHS directory /usr/share/doc.
Joseph Carter replied:
> Breaks dpkg. Propose it all you want, but it's not going to happen if you
> don't provide the patch for dpkg to follow symlinks. Either that or all
> packages must be upgraded and Pre-depends: base-files (>= someversion).
<sarcasm reason="this was a rather abrupt dismissal"> Interesting. I have
been using symlinks at the directory level in this way for some years now,
with dpkg, and nothing is broken yet. Can you explain how dpkg breaks
since I didn't notice? </sarcasm>
(Note that I am explicitly avoiding actually installing or deinstalling an
actual symlink which dpkg thinks is a directory ... with my proposal this
can, in fact, happen, but only if users deinstall all packages that refer
to the /usr/doc directory which is rather unlikely.)
> Your script also has a cow if /usr/doc isn't -> share/doc, which is bad
> because it may be necessary to use some symlink magic at some point. Not
> that it isn't a moot point unless you fix dpkg first.
This was intentional ... and in fact the script will merely warn you if
this is the case. I was merely trying to KISS since this is a rather
critical script.
More reactions welcome !
Best,
Kristoffer
--
Kristoffer Høgsbro Rose, phd, prof.associé <http://www.ens-lyon.fr/~krisrose>
addr. LIP, Ecole Normale Supérieure de Lyon, 46 Allée d'Italie, F-69364 Lyon 7
phone +33(0)4 7272 8642, fax +33(0)4 7272 8080 <Kristoffer.Rose@ENS-Lyon.FR>
pgp f-p: A4D3 5BD7 3EC5 7CA2 924E D21D 126B B8E0 <krisrose@{debian,tug}.org>
Reply to: