tags 341081 + moreinfo confirmed thanks On Mon, Nov 28, 2005 at 05:09:29AM -0500, Will Dyson wrote: > On upgrade to the new 6.4 vim packages which use alternatives to manage > /usr/bin/vim, a stale 'diversion of /usr/bin/vim to /usr/bin/vim.org by > vim-gnome' was left on my system.
I think I just put the right code in the wrong place. Could you please
check:
1) if /var/lib/dpkg/info/vim-gnome.postrm contains something like:
remove_old_diversion() {
if [ -f /usr/bin/vim.org ]; then
dpkg-divert --package $pkg --remove --rename \
--divert /usr/bin/vim.org /usr/bin/vim
fi
}
2) if executing:
if [ -f /usr/bin/vim.org ]; then
dpkg-divert --package $pkg --remove --rename \
--divert /usr/bin/vim.org /usr/bin/vim
fi
properly remove the diversion?
If it fixes the problem I just need to move the "remove_old_diversion"
stuff in the postinst script instead of the postrm one. Don't know why I
put it there ... mumble mumble.
Thanks for your report.
Cheers.
--
Stefano Zacchiroli -*- Computer Science PhD student @ Uny Bologna, Italy
[EMAIL PROTECTED],debian.org,bononia.it} -%- http://www.bononia.it/zack/
If there's any real truth it's that the entire multidimensional infinity
of the Universe is almost certainly being run by a bunch of maniacs. -!-
signature.asc
Description: Digital signature

