[Pkg-samba-maint] Moving swat documentation, dpkg issues?

Steve Langasek vorlon at debian.org
Sat Dec 3 14:21:55 UTC 2005


On Sat, Dec 03, 2005 at 03:08:42PM +0100, Peter Eisentraut wrote:

> here's a combined patch for bugs #281971 (make samba-doc-pdf package)
> and #233447 (remove duplicate docs in swat, symlink to samba-doc).

> The strange thing is, when I install the new packages on top of old
> ones, I get

> $ ll /usr/share/samba/swat/help/
> drwxr-xr-x  2 root root 4096 2005-12-03 14:53 manpages
> drwxr-xr-x  2 root root 4096 2005-12-03 14:53 Samba3-ByExample
> drwxr-xr-x  2 root root 4096 2005-12-03 14:53 Samba3-Developers-Guide
> drwxr-xr-x  2 root root 4096 2005-12-03 14:53 Samba3-HOWTO
> lrwxrwxrwx  1 root root   43 2005-12-03 14:53 using_samba -> ../../../doc/samba-doc/htmldocs/using_samba
> -rw-r--r--  1 root root 4319 2005-12-03 14:09 welcome.html

> with the first four directories empty.  They all should be symlinks
> like the last one.  If I install the packages on an empty system, all
> the symlinks are installed correctly.

> It seems as though dpkg is having some troubles changing a directory
> to a symlink during a package upgrade.  Does that make sense?

Yes.  This is documented in Policy 6.5, #4.

-- 
Steve Langasek                   Give me a lever long enough and a Free OS
Debian Developer                   to set it on, and I can move the world.
vorlon at debian.org                                   http://www.debian.org/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.alioth.debian.org/pipermail/pkg-samba-maint/attachments/20051203/b9778f80/attachment.pgp


More information about the Pkg-samba-maint mailing list