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
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-
Leaving `diversion of /usr/share/
Leaving `diversion of /usr/share/
Removing `diversion of /usr/share/
dpkg-divert: rename involves overwriting `/usr/share/
different file `/usr/share/
dpkg: error processing /var/cache/
subprocess pre-installation script returned error exit status 2
Processing /usr/share/
Errors were encountered while processing:
/var/cache/
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-
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
PackageArchitec
ProcEnviron:
SHELL=/bin/bash
PATH=/
LANG=en_IN
SourcePackage: vim
Uname: Linux 2.6.27-7-generic i686
description: | updated |
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.