Bug#348661: vim doesn't handle its runtime files anymore: syntax highligt for help and in general is broken, it doesen't decoce gziped file per default and so on

2006-01-18 Thread Pierre Habouzit
Le Mer 18 Janvier 2006 11:56, Norbert Tretkowski a écrit :
> * Pierre Habouzit wrote:
> > if yes, please close that bug, and fix that yourself (and/or open a
> > bug on dpkg which is here the one responsible)
>
> If not, we should check if upgrading from sarge to unstable vim works
> as expected, especially the diversions -> alternatives conversion.

> I saw a problem yesterday, upgrading from a vim backport to a newer
> version of the vim backport, and /usr/bin/vim was still diverted
> after the upgrade, which ends up /usr/bin/vim to be vim 6.3.x instead
> 6.4, with the same result, enabling syntax hilighting failed, because
> the runtimepath was wrong (displayed to runtime files from vim 6.4,
> but 6.3 was running).

obviously this has to be checked... Though, the current vimrc merge 
seems to be due to dpkg ?! This was spotted by one of our users 
earlier, and that's why I suggested that.

We have two major answer here :

* remove /usr/share/vim/vim?? in the runtime list, using the recently
  added vimcurrent symlink --> that has been done

* use ucf to manage /etc/vim/*rc files, so that our changes to the
  runtime line (that the user is quite unlikely to change, whereas he
  has all the reason in the world to change the `" syntax on' line e.g.

I use ucf on some of my packages after having to many troubles with 
users that modified (legitimately) some config files, and didn't 
checked the change I did in the next version of the package. I've then 
used ucf, and my change just are merged into the user's 99% of the 
time, and I've received no bug related to config files so far.
-- 
·O·  Pierre Habouzit
··O[EMAIL PROTECTED]
OOOhttp://www.madism.org


pgpPIAiYa3kYv.pgp
Description: PGP signature


Bug#348661: vim doesn't handle its runtime files anymore: syntax highligt for help and in general is broken, it doesen't decoce gziped file per default and so on

2006-01-18 Thread Thomas Glanzmann
Hello,

> please just verify that your /etc/vimrc is up to date : verify that
> the one in the package has been merged, and is not stayed under
> /etc/vim/vimrc.dpkg-new.  if yes, please close that bug, and fix that
> yourself (and/or open a bug on dpkg which is here the one responsible)

that was it:

(travelmate) [~] ls -al /etc/vim/vimrc*
-rw-r--r--  1 root root 2843 Sep  1 18:45 /etc/vim/vimrc
-rw-r--r--  1 root root 2802 Nov 27 08:40 /etc/vim/vimrc.dpkg-dist
(travelmate) [~] mv /etc/vim/vimrc.dpkg-dist /etc/vim/vimrc
mv: overwrite `/etc/vim/vimrc', overriding mode 0644?
(travelmate) [~] / !!
/ mv /etc/vim/vimrc.dpkg-dist /etc/vim/vimrc

thank you for your immediate response.

Thomas


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Bug#348661: vim doesn't handle its runtime files anymore: syntax highligt for help and in general is broken, it doesen't decoce gziped file per default and so on

2006-01-18 Thread Thomas Glanzmann
Hello,

> Could you please give us the output of "ls -l /usr/bin/vim*"? I fear
> there went something wrong when upgrading the package from a version
> which used diversions to a newer package which now uses alternatives.

lrwxrwxrwx  1 root root  21 Jan 15 13:33 /usr/bin/vim -> 
/etc/alternatives/vim*
-rwxr-xr-x  1 root root 1090476 Dec 23 01:54 /usr/bin/vim.basic*
-rwxr-xr-x  1 root root 1505828 Dec 23 01:54 /usr/bin/vim.full*
-rwxr-xr-x  1 root root 1336524 Dec 23 01:54 /usr/bin/vim.gtk*
lrwxrwxrwx  1 root root   3 Jan 15 13:32 /usr/bin/vimdiff -> vim*
-rwxr-xr-x  1 root root1600 Dec 23 01:53 /usr/bin/vimtutor*

and /etc/alternatives/vim points to /usr/bin/vim.full

Thomas


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Bug#348661: vim doesn't handle its runtime files anymore: syntax highligt for help and in general is broken, it doesen't decoce gziped file per default and so on

2006-01-18 Thread Norbert Tretkowski
* Pierre Habouzit wrote:
> if yes, please close that bug, and fix that yourself (and/or open a
> bug on dpkg which is here the one responsible)

If not, we should check if upgrading from sarge to unstable vim works
as expected, especially the diversions -> alternatives conversion.

I saw a problem yesterday, upgrading from a vim backport to a newer
version of the vim backport, and /usr/bin/vim was still diverted after
the upgrade, which ends up /usr/bin/vim to be vim 6.3.x instead 6.4,
with the same result, enabling syntax hilighting failed, because the
runtimepath was wrong (displayed to runtime files from vim 6.4, but
6.3 was running).

Norbert


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Bug#348661: vim doesn't handle its runtime files anymore: syntax highligt for help and in general is broken, it doesen't decoce gziped file per default and so on

2006-01-18 Thread Pierre Habouzit
Le Mer 18 Janvier 2006 10:37, Thomas Glanzmann a écrit :
> Package: vim
> Version: 1:6.4-006+1
> Severity: serious
> Tags: experimental
>
> Hello,
> please test your packages before publishing them.

instead of bitching on the work of *many* persons (at least 3 different 
persons have checked that package before the upload, which makes 2 more 
than a lot of ones in debian), 

please just verify that your /etc/vimrc is up to date : verify that the 
one in the package has been merged, and is not stayed 
under /etc/vim/vimrc.dpkg-new.

if yes, please close that bug, and fix that yourself (and/or open a bug 
on dpkg which is here the one responsible)

-- 
·O·  Pierre Habouzit
··O[EMAIL PROTECTED]
OOOhttp://www.madism.org


pgpEjHdvkVZsw.pgp
Description: PGP signature


Bug#348661: vim doesn't handle its runtime files anymore: syntax highligt for help and in general is broken, it doesen't decoce gziped file per default and so on

2006-01-18 Thread Norbert Tretkowski
severity 348661 normal
tags 348661 -experimental
tags 348661 +unreproducible
thanks

* Thomas Glanzmann wrote:
> please test your packages before publishing them.

Please use an approriate severity, and check the bts before reporting
new bugreports.

Bug was reported already, but we weren't able to reproduce it yet, and
it didn't happen for us when testing the package (before we published
them, of course).

> It doesn't work for vim.full nor vim.basic.

Could you please give us the output of "ls -l /usr/bin/vim*"? I fear
there went something wrong when upgrading the package from a version
which used diversions to a newer package which now uses alternatives.

Thanks, Norbert


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Bug#348661: vim doesn't handle its runtime files anymore: syntax highligt for help and in general is broken, it doesen't decoce gziped file per default and so on

2006-01-18 Thread Thomas Glanzmann
Package: vim
Version: 1:6.4-006+1
Severity: serious
Tags: experimental

Hello,
please test your packages before publishing them.

:syn on gives me for example the following:

Error detected while processing /usr/share/vim/vim64/syntax/syntax.vim:
line   42:
E216: No such group or event: filetypedetect BufRead

travelmate:~# dpkg --get-selections \* | grep vim
vim install
vim-common  install
vim-fullinstall
vim-gtk install
vim-gui-common  install
vim-runtime install

It doesn't work for vim.full nor vim.basic.

Thomas

-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.12-1-386
Locale: LANG=C, [EMAIL PROTECTED] (charmap=ISO-8859-15)

Versions of packages vim depends on:
ii  libc62.3.5-8 GNU C Library: Shared libraries an
ii  libgpmg1 1.19.6-21   General Purpose Mouse - shared lib
ii  libncurses5  5.5-1   Shared libraries for terminal hand
ii  vim-common   1:6.4-006+1 Vi IMproved - Common files
ii  vim-runtime  1:6.4-006+1 Vi IMproved - Runtime files

vim recommends no packages.

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]