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

Re: Bug#40706: AMENDMENT 17/7/99] /usr/share/doc vs. /usr/doc transition



Hi,
>>"Joey" == Joey Hess <joey@kitenet.net> writes:

 Joey> Manoj Srivastava wrote:
 >> dpkg may well have problems with the symlink, so any
 >> packages still installing in /usr/doc/<package> could cause problems
 >> with dpkg. Since the move is likely to take a long time, this grand 
 >> move-in-one-fell-swoop is likely to be fraught with problems.

 Joey> After reading Kristoffer's post I am wondering if we're being
 Joey> too paranoid.  I know dpkg works ok if the sysadmin locally
 Joey> moves something and symlinks it similarly to how he
 Joey> proposes. At least, the only reports of failures when that is
 Joey> done that I've seen were all in xaw-wrappers where I was too
 Joey> zealous in following symlinks. I don't remember any dpkg
 Joey> problems related to it.

 Joey> I'm sure dpkg would get very upset if it thought there were
 Joey> files in both /usr/doc/ and /usr/share/doc and the files had
 Joey> the same name and the directories were linked, but as
 Joey> Kristoffer points out, policy can just forbid this.

 Joey> How much testing would we need to give this method before you'd
 Joey> be content to use it?

        Hmm. Could you set up the symlink, install a package that
 installs stuff in /usr/doc; install a package that installs stuff in
 /usr/share/doc/; purge both packages. If these work, then we just
 have to worry about the mechanism that does the moving -- can one
 downgrade the package? Can one recover from an error while performing
 the move? can one accomodate files already in /usr/share/doc? 

        manoj
-- 
 "'Tis not too late to seek a newer world." Alfred, Lord Tennyson
Manoj Srivastava   <srivasta@debian.org>  <http://www.debian.org/%7Esrivasta/>
Key C7261095 fingerprint = CB D9 F4 12 68 07 E4 05  CC 2D 27 12 1D F5 E8 6E


Reply to: