dpkg: error processing /var/cache/apt/archives/vim-runtime_2%3a7.2.025-2ubuntu1_all.deb (--unpack): subprocess pre-installation script returned error exit status 2

Bug #297035 reported by Shirish Agarwal
2
Affects Status Importance Assigned to Milestone
vim (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Binary package hint: vim

Hi all,
        I'm using the uk main server for updates

$ sudo aptitude install vim
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initializing package states... Done
The following packages will be upgraded:
  vim-runtime
The following partially installed packages will be configured:
  vim
1 packages upgraded, 0 newly installed, 0 to remove and 20 not upgraded.
Need to get 0B/5801kB of archives. After unpacking 1708kB will be used.
Do you want to continue? [Y/n/?] Y
Writing extended state information... 1%
Writing extended state information... Done
Reading changelogs... Done
(Reading database ... 175362 files and directories currently installed.)
Preparing to replace vim-runtime 1:7.1.314-3ubuntu3 (using .../vim-runtime_2%3a7.2.025-2ubuntu1_all.deb) ...
Leaving `diversion of /usr/share/vim/vim72/doc/help.txt to /usr/share/vim/vim72/doc/help.txt.vim-tiny by vim-runtime'
Leaving `diversion of /usr/share/vim/vim72/doc/tags to /usr/share/vim/vim72/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.2.025-2ubuntu1_all.deb (--unpack):
 subprocess pre-installation script returned error exit status 2
Processing /usr/share/vim/addons/doc
Errors were encountered while processing:
 /var/cache/apt/archives/vim-runtime_2%3a7.2.025-2ubuntu1_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.2.025-2ubuntu1); however:
  Version of vim-runtime on system is 1:7.1.314-3ubuntu3.
dpkg: error processing vim (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 vim
Reading package lists... Done

The issue is with vim-runtime, unless that doesn't work one can't configure vim.

ProblemType: Bug
Architecture: i386
Dependencies:

DistroRelease: Ubuntu 9.04
Package: vim-runtime 1:7.1.314-3ubuntu3
PackageArchitecture: all
ProcEnviron:
 SHELL=/bin/bash
 PATH=/home/username/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
 LANG=en_IN
SourcePackage: vim
Uname: Linux 2.6.27-7-generic i686

Tags: apport-bug
description: updated
Revision history for this message
Jean-Baptiste Lallement (jibel) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. This particular bug has already been reported and is a duplicate of bug 296324, so it is being marked as such. Please look at the other bug report to see if there is any missing information that you can provide, or to see if there is a workaround for the bug. Additionally, any further discussion regarding the bug should occur in the other report. Feel free to continue to report any other bugs you may find.

Changed in vim:
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.