Re: vim-perl update fails
On Thu, Dec 28, 2000 at 03:02:52PM +0100, Dr. Guenter Bechly wrote:
> Hi,
>
> yesterday I updated vim-perl from Debian unstable and got
> the following error during installation with dselect:
[snip]
> Should I file this as a bug, or could be something wrong with my Perl
> installation?
Don't file a bug. There's already _at least_ 5 or 6 bugs about this
problem in the BTS...
There are just two wrong linebreaks in the postinst script.
Just correct /var/lib/dpkg/info/vim.postinst (or maybe vim-perl.postinst
in your case) so that the update-alternatives call is exactly one
line (use '\'), e.g.:
update-alternatives --install /usr/bin/$i $i \
/usr/bin/vim 120 \
--slave /usr/share/man/man1/$i.1.gz $i.1.gz \
/usr/share/man/man1/vim.1.gz
Then call apt-get install vim-perl again, and it should install fine.
Uwe.
--
Uwe Hermann <uh1763@hermann-uwe.de>
http://www.hermann-uwe.de/
-----------------------------------
:wq
Reply to: