Bug#381526: severity of 381526 is serious

allomber at math.u-bordeaux.fr allomber at math.u-bordeaux.fr
Sun Sep 17 17:44:59 UTC 2006


severity 381526 serious
quit

Hello vim maintainers,

vim in sarge ship /usr/share/doc/vim as a directory

$ls -dl /usr/share/doc/vim
drwxr-xr-x  3 root root 4096 2006-06-11 19:20 /usr/share/doc/vim

The sarge package vim-doc ship file in that directory:

$ dpkg -L vim-doc
...
/usr/share/doc/vim/html/arabic.html
/usr/share/doc/vim/html/autocmd.html
/usr/share/doc/vim/html/change.html
/usr/share/doc/vim/html/cmdline.html
...

vim in etch shipp /usr/share/doc/vim as a symlink
ls -dl /sid/usr/share/doc/vim
lrwxrwxrwx  1 root root 10 2006-09-11 21:56 /sid/usr/share/doc/vim -> vim-common

However dpkg itself will not replace directories by symlinks, thus
generating the error
trying to overwrite `/usr/share/doc/vim', which is also in package vim-doc

(Generally I advise against /usr/share/doc/package being a symlink
because it cause more problems than any space saving it could do).

Here what I got with piuparts:

# piuparts -a -d sarge -d etch gnupg vim-doc gvim
  ....

  Removing vim-common ...
  (Reading database ... 15354 files and directories currently installed.)
  Preparing to replace vim 1:6.3-071+1sarge1 (using .../vim_1%3a7.0-035+1_i386.deb) ...
  Unpacking replacement vim ...
  dpkg: error processing /var/cache/apt/archives/vim_1%3a7.0-035+1_i386.deb (--unpack):
   trying to overwrite `/usr/share/doc/vim', which is also in package vim-doc

Cheers,
-- 
Bill. <ballombe at debian.org>

Imagine a large red swirl here. 




More information about the pkg-vim-maintainers mailing list