The problems here are that the old vim packages, 7.0-035+1ubuntu5, are
broken:

 * vim-tiny sets up slave links /usr/share/man/ru.UTF-8/man1/vim.1.gz
   etc. but the vim-tiny archive does not contain those directories
   so that if a new vim-common is unpacked the alternative becomes
   broken.  (These directories are in the vim-common package.)

 * vim-tiny does not remove the alternatives on prerm upgrade, only
   on prerm remove.  The effect is that when the package is upgraded
   the old alternatives hang around.

Depending on the order of events during upgrade, either vim-common or
vim-tiny may be unpacked first and if you're unlucky things break.

Additionally:

 * update-alternatives will sometimes foolishly try to create and then
   remove the slave link when there is no provided alternative.

To fix this we will do the following:

 * vim-common will be changed to contain /usr/share/man/ru.UTF-8/man1
   as an empty directory.  This will have to remain until the next
   Ubuntu LTS to avoid problems with upgrades from Dapper.

 * update-alternatives will be changed not to try to create the slave
   link if it's going to delete it again straight away.

Ian.

** Changed in: dpkg (Ubuntu)
   Importance: Undecided => Medium
     Assignee: (unassigned) => Ian Jackson
       Status: Unconfirmed => Confirmed

** Changed in: vim (Ubuntu)
   Importance: Undecided => Medium

-- 
vim-tiny postinst fails
https://launchpad.net/bugs/84906

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to