On Sat, Jul 26, 2008 at 05:29:04AM -0300, Nelson A. de Oliveira wrote: > While trying to upgrade from vim 1:7.1.314-3 to experimental's 2:7.2b.001-1, > I've got this error message: > > (...) > Preparing to replace vim-runtime 1:7.1.314-3 (using > .../vim-runtime_2%3a7.2b.001-1_all.deb) ... > Leaving `diversion of /usr/share/vim/vim72b/doc/help.txt to > /usr/share/vim/vim72b/doc/help.txt.vim-tiny by vim-runtime' > Leaving `diversion of /usr/share/vim/vim72b/doc/tags to > /usr/share/vim/vim72b/doc/tags.vim-tiny by vim-runtime' > Removing `diversion of /usr/share/vim/vim71/doc/help.txt to > /usr/share/vim/vim71/doc/help.txt.vim-tiny by vim-runtime' > dpkg-divert: rename involves overwriting `/usr/share/vim/vim71/doc/help.txt' > with > different file `/usr/share/vim/vim71/doc/help.txt.vim-tiny', not allowed > dpkg: error processing > /var/cache/apt/archives/vim-runtime_2%3a7.2b.001-1_all.deb (--unpack): > subprocess pre-installation script returned error exit status 2 > Processing /usr/share/vim/addons/doc > Selecting previously deselected package vim. > Unpacking vim (from .../vim_2%3a7.2b.001-1_i386.deb) ... > Errors were encountered while processing: > /var/cache/apt/archives/vim-runtime_2%3a7.2b.001-1_all.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-runtime (= 2:7.2b.001-1); however: > Version of vim-runtime on system is 1:7.1.314-3. > dpkg: error processing vim (--configure): > dependency problems - leaving unconfigured > (...)
Hmm, I'm unable to reproduce this in a clean chroot nor have I seen it in the upgrades I've been doing on my system to test the packages. In the chroot tests, I've installed vim & vim-tiny (which automatically pulls in vim-common and vim-runtime) and then upgrade to the experimental versions. Everything worked fine. I tried different ordering of packages on the command-line as well as simply performing an upgrade of all packages in case it was an issue with order of upgrades. Could you post the output of “dpkg-divert --list” and “ls -l /usr/share/vim/vim71/doc”? -- James GPG Key: 1024D/61326D40 2003-09-02 James Vega <[EMAIL PROTECTED]>
signature.asc
Description: Digital signature

