Bug#369740: old transition leaves /usr/share/doc/vim full of stale
files
Joey Hess
joeyh at debian.org
Wed May 31 23:26:52 UTC 2006
Package: vim
Version: 1:7.0-017+4
Severity: normal
I've checked 2 machines that track unstable and on both
/usr/share/doc/vim looks like this:
joey at kite:~doc/vim>ls -l /usr/share/doc/vim
total 76
-rw-r--r-- 1 root root 778 Dec 7 15:59 NEWS.Debian.gz
-rw-r--r-- 1 root root 1248 Dec 7 15:59 README
-rw-r--r-- 1 root root 1414 Nov 20 2005 README.Debian
-rw-r--r-- 1 root root 0 Nov 20 2005 TODO.Debian
-rw-r--r-- 1 root root 49825 Dec 7 16:02 changelog.Debian.gz
-rw-r--r-- 1 root root 5462 Oct 12 2005 copyright
Note timestamps, these files are from vim 1:6.4-004+1, not the current
version. If I remove and reinstall vim, these files are left behind and
dpkg complains:
joey at dragon:/var/log>sudo dpkg --purge vim
(Reading database ... 220390 files and directories currently installed.)
Removing vim ...
Purging configuration files for vim ...
dpkg - warning: while removing vim, directory `/usr/share/doc/vim' not
empty so not removed.
joey at dragon:/var/log>ls -la /usr/share/doc/vim
total 124K
drwxr-xr-x 2 root root 4.0K Dec 19 17:58 ./
drwxr-xr-x 1891 root root 44K May 31 19:08 ../
-rw-r--r-- 1 root root 778 Dec 7 15:59 NEWS.Debian.gz
-rw-r--r-- 1 root root 1.3K Dec 7 15:59 README
-rw-r--r-- 1 root root 1.4K Nov 20 2005 README.Debian
-rw-r--r-- 1 root root 0 Nov 20 2005 TODO.Debian
-rw-r--r-- 1 root root 49K Dec 7 16:02 changelog.Debian.gz
-rw-r--r-- 1 root root 5.4K Oct 12 2005 copyright
If I manually rm -rf the stale directory, and then reinstall vim, I get
a symlink:
lrwxrwxrwx 1 root root 10 May 31 19:22 /usr/share/doc/vim -> vim-common/
Apparently the transition to this symlink has been botched; note that
dpkg does not really support replacing directories full of files with
symlinks..
-- System Information:
Debian Release: testing/unstable
APT prefers unstable
APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/dash
Kernel: Linux 2.6.16-2-486
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Versions of packages vim depends on:
ii libc6 2.3.6-11 GNU C Library: Shared libraries
ii libgpmg1 1.19.6-22 General Purpose Mouse - shared lib
ii libncurses5 5.5-2 Shared libraries for terminal hand
ii vim-common 1:7.0-017+4 Vi IMproved - Common files
ii vim-runtime 1:7.0-017+4 Vi IMproved - Runtime files
vim recommends no packages.
-- no debconf information
--
see shy jo
-------------- 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-vim-maintainers/attachments/20060531/a9ff3ab3/attachment.pgp
More information about the pkg-vim-maintainers
mailing list