Bug#366504: vim-runtime: Overwrites /usr/share/vim/vimcurrent in vim-common

Frans Pop elendil at planet.nl
Wed Jun 14 17:33:21 UTC 2006


Hi,

I'm not sure if this bug is really totally fixed now, although I'm seeing
it in reverse...

During an upgrade today of an unstable box that had not been updated in a
while, I got the following situation:

Preparing to replace vim 1:6.4-007+1 (using .../vim_1%3a7.0-017+5_sparc.deb) ...
Unpacking replacement vim ...
Preparing to replace vim-common 1:6.4-007+1 (using .../vim-common_1%3a7.0-017+5_sparc.deb) ...
Unpacking replacement vim-common ...
dpkg: error processing /var/cache/apt/archives/vim-common_1%3a7.0-017+5_sparc.deb (--unpack):
 trying to overwrite `/usr/share/vim/vimcurrent', which is also in package vim-runtime
dpkg: considering removing vim-common in favour of vim-runtime ...
dpkg: yes, will remove vim-common in favour of vim-runtime.
Preparing to replace vim-runtime 1:6.4-007+1 (using .../vim-runtime_1%3a7.0-017+5_all.deb) ...
Unpacking replacement vim-runtime ...
[...]
Errors were encountered while processing:
 /var/cache/apt/archives/vim-common_1%3a7.0-017+5_sparc.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install.  Trying to recover:
[...]
dpkg: dependency problems prevent configuration of vim:
 vim depends on vim-common (= 1:7.0-017+5); however:
  Package vim-common is not installed.
dpkg: error processing vim (--configure):
 dependency problems - leaving unconfigured
[...]
Setting up vim-runtime (7.0-017+5) ...
[...]
Errors were encountered while processing:
 vim
Press return to continue.


This left vim in a broken state. Running aptitude again did solve the
problem:

Unpacking vim-common (from .../vim-common_1%3a7.0-017+5_sparc.deb) ...
Setting up vim-common (7.0-017+5) ...
Installing new version of config file /etc/vim/vimrc ...

Setting up vim (7.0-017+5) ...
rmdir: /usr/share/doc/vim: Directory not empty

Press return to continue.


All in all not a very clean upgrade.

Cheers,
FJP

P.S. Note that this bug is closed. I'll leave it to you if you want to
reopen based on this report.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/pkg-vim-maintainers/attachments/20060614/ee0bb978/attachment.pgp


More information about the pkg-vim-maintainers mailing list