Debian Bug report logs - #399024
Upgrade fails because of missing man page directory

version graph

Package: vim; Maintainer for vim is Debian Vim Maintainers <pkg-vim-maintainers@lists.alioth.debian.org>; Source for vim is src:vim (PTS, buildd, popcon).

Reported by: Michal Čihař <michal@cihar.com>

Date: Fri, 17 Nov 2006 08:33:06 UTC

Severity: important

Found in version vim/1:7.0-164+1

Fixed in version vim/1:7.0-164+2

Done: James Vega <jamessan@debian.org>

Bug is archived. No further changes may be made.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, Debian VIM Maintainers <pkg-vim-maintainers@lists.alioth.debian.org>:
Bug#399024; Package vim. (full text, mbox, link).


Acknowledgement sent to Michal Čihař <michal@cihar.com>:
New Bug report received and forwarded. Copy sent to Debian VIM Maintainers <pkg-vim-maintainers@lists.alioth.debian.org>. (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: Michal Čihař <michal@cihar.com>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: Upgrade fails because of missing man page directory
Date: Fri, 17 Nov 2006 09:19:47 +0100
Package: vim
Version: 1:7.0-164+1
Severity: important

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi

After today unstable upgrade, vim configuration failed with:

update-alternatives: unable to make /usr/share/man/ru.UTF-8/man1/editor.1.gz.dpkg-tmp a symlink to /etc/alternatives/editor.ru.UTF-8.1.gz: No such file or directory
dpkg: error processing vim (--configure): subprocess post-installation script returned error exit status 2

I didn't yet have time to investigate more.

- -- 
    Michal Čihař | http://cihar.com | http://blog.cihar.com

- -- System Information:
Debian Release: 4.0
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-2-686
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)

Versions of packages vim depends on:
ii  libc6                        2.3.6.ds1-8 GNU C Library: Shared libraries
ii  libgpmg1                     1.19.6-23   General Purpose Mouse - shared lib
ii  libncurses5                  5.5-5       Shared libraries for terminal hand
ii  vim-common                   1:7.0-164+1 Vi IMproved - Common files
ii  vim-runtime                  1:7.0-164+1 Vi IMproved - Runtime files

vim recommends no packages.

- -- no debconf information

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)

iD8DBQFFXXCj3DVS6DbnVgQRAsQzAKD6Ctwe3VLp8zROGMowPNtj+XAkTgCgzHkM
/KpxYEmHuFflh0jP2W42AoU=
=sSRc
-----END PGP SIGNATURE-----



Information forwarded to debian-bugs-dist@lists.debian.org, larry.p.lade@gmail.com, Debian VIM Maintainers <pkg-vim-maintainers@lists.alioth.debian.org>:
Bug#399024; Package vim. (full text, mbox, link).


Acknowledgement sent to Larry Lade <larry.p.lade@gmail.com>:
Extra info received and forwarded to list. Copy sent to larry.p.lade@gmail.com, Debian VIM Maintainers <pkg-vim-maintainers@lists.alioth.debian.org>. (full text, mbox, link).


Message #10 received at 399024@bugs.debian.org (full text, mbox, reply):

From: Larry Lade <larry.p.lade@gmail.com>
To: Debian Bug Tracking System <399024@bugs.debian.org>
Subject: vim: Upgrade fails because of missing man page directory
Date: Fri, 17 Nov 2006 11:11:50 -0700
Package: vim
Version: 1:7.0-164+1
Followup-For: Bug #399024


Confirmed.

This bug appears in packages vim, vim-gnome, and vim-gtk.

Note this bug also occurs when trying to REMOVE the packages in question. 

--Begin output--

Setting up vim (7.0-164+1) ...
update-alternatives: unable to make /usr/share/man/ru.UTF-8/man1/editor.1.gz.dpkg-tmp a symlink to /etc/alternatives/editor.ru.UTF-8.1.gz: No such file or directory
dpkg: error processing vim (--configure):
 subprocess post-installation script returned error exit status 2
Setting up vim-gnome (7.0-164+1) ...
update-alternatives: unable to make /usr/share/man/ru.UTF-8/man1/editor.1.gz.dpkg-tmp a symlink to /etc/alternatives/editor.ru.UTF-8.1.gz: No such file or directory
dpkg: error processing vim-gnome (--configure):
 subprocess post-installation script returned error exit status 2
Setting up vim-gtk (7.0-164+1) ...
update-alternatives: unable to make /usr/share/man/ru.UTF-8/man1/editor.1.gz.dpkg-tmp a symlink to /etc/alternatives/editor.ru.UTF-8.1.gz: No such file or directory
dpkg: error processing vim-gtk (--configure):
 subprocess post-installation script returned error exit status 2

--End output--

-- System Information:
Debian Release: 4.0
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-howard
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)

Versions of packages vim depends on:
ii  libc6                        2.3.6.ds1-8 GNU C Library: Shared libraries
ii  libgpmg1                     1.19.6-23   General Purpose Mouse - shared lib
ii  libncurses5                  5.5-5       Shared libraries for terminal hand
ii  vim-common                   1:7.0-164+1 Vi IMproved - Common files
ii  vim-runtime                  1:7.0-164+1 Vi IMproved - Runtime files

vim recommends no packages.

-- no debconf information



Information forwarded to debian-bugs-dist@lists.debian.org, Debian VIM Maintainers <pkg-vim-maintainers@lists.alioth.debian.org>:
Bug#399024; Package vim. (full text, mbox, link).


Acknowledgement sent to James Vega <jamessan@debian.org>:
Extra info received and forwarded to list. Copy sent to Debian VIM Maintainers <pkg-vim-maintainers@lists.alioth.debian.org>. (full text, mbox, link).


Message #15 received at 399024@bugs.debian.org (full text, mbox, reply):

From: James Vega <jamessan@debian.org>
To: Larry Lade <larry.p.lade@gmail.com>, 399024@bugs.debian.org
Subject: Re: Bug#399024: vim: Upgrade fails because of missing man page directory
Date: Fri, 17 Nov 2006 14:40:46 -0500
[Message part 1 (text/plain, inline)]
On Fri, Nov 17, 2006 at 11:11:50AM -0700, Larry Lade wrote:
> Package: vim
> Version: 1:7.0-164+1
> Followup-For: Bug #399024
> 
> 
> Confirmed.
> 
> This bug appears in packages vim, vim-gnome, and vim-gtk.
> 
> Note this bug also occurs when trying to REMOVE the packages in question. 
> 
> --Begin output--
> 
> Setting up vim (7.0-164+1) ...
> update-alternatives: unable to make /usr/share/man/ru.UTF-8/man1/editor.1.gz.dpkg-tmp a symlink to /etc/alternatives/editor.ru.UTF-8.1.gz: No such file or directory
> dpkg: error processing vim (--configure):
>  subprocess post-installation script returned error exit status 2

This is interesting since the postinst script for 1:7.0-164+1 doesn't
have ru.UTF-8 anywhere in it.  I'm guessing this is because the previous
versions did and we're only removing alternatives on "prerm remove" not
"prerm upgrade".  I'll confirm this and should be able to get a new
upload which fixes it this weekend.

James
-- 
GPG Key: 1024D/61326D40 2003-09-02 James Vega <jamessan@debian.org>
[signature.asc (application/pgp-signature, inline)]

Information forwarded to debian-bugs-dist@lists.debian.org, Debian VIM Maintainers <pkg-vim-maintainers@lists.alioth.debian.org>:
Bug#399024; Package vim. (full text, mbox, link).


Acknowledgement sent to "Larry Lade" <larry.p.lade@gmail.com>:
Extra info received and forwarded to list. Copy sent to Debian VIM Maintainers <pkg-vim-maintainers@lists.alioth.debian.org>. (full text, mbox, link).


Message #20 received at 399024@bugs.debian.org (full text, mbox, reply):

From: "Larry Lade" <larry.p.lade@gmail.com>
To: "James Vega" <jamessan@debian.org>
Cc: 399024@bugs.debian.org
Subject: Re: Bug#399024: vim: Upgrade fails because of missing man page directory
Date: Fri, 17 Nov 2006 13:11:22 -0700
[Message part 1 (text/plain, inline)]
I did a _re-install_ (remove failed with same error) of package vim-tiny.
This bug appears to have disappeared on all packages since. Very strange...
Perhaps this will provide a workaround for the time being.
[Message part 2 (text/html, inline)]

Information forwarded to debian-bugs-dist@lists.debian.org, Debian VIM Maintainers <pkg-vim-maintainers@lists.alioth.debian.org>:
Bug#399024; Package vim. (full text, mbox, link).


Acknowledgement sent to Dreambuster <dreambuster@wanadoo.fr>:
Extra info received and forwarded to list. Copy sent to Debian VIM Maintainers <pkg-vim-maintainers@lists.alioth.debian.org>. (full text, mbox, link).


Message #25 received at 399024@bugs.debian.org (full text, mbox, reply):

From: Dreambuster <dreambuster@wanadoo.fr>
To: 399024@bugs.debian.org
Subject: vim: Upgrade fails because of missing man page directory
Date: Sat, 18 Nov 2006 07:03:39 +0100
Is necessary to make a " apt-get  dist-upgrade " to regulate this.



Information forwarded to debian-bugs-dist@lists.debian.org, Debian VIM Maintainers <pkg-vim-maintainers@lists.alioth.debian.org>:
Bug#399024; Package vim. (full text, mbox, link).


Acknowledgement sent to James Vega <jamessan@debian.org>:
Extra info received and forwarded to list. Copy sent to Debian VIM Maintainers <pkg-vim-maintainers@lists.alioth.debian.org>. (full text, mbox, link).


Message #30 received at 399024@bugs.debian.org (full text, mbox, reply):

From: James Vega <jamessan@debian.org>
To: Larry Lade <larry.p.lade@gmail.com>, 399024@bugs.debian.org, 399024-submitter@bugs.debian.org
Subject: Re: Bug#399024: vim: Upgrade fails because of missing man page directory
Date: Sat, 18 Nov 2006 09:23:59 -0500
[Message part 1 (text/plain, inline)]
On Fri, Nov 17, 2006 at 02:40:46PM -0500, James Vega wrote:
> On Fri, Nov 17, 2006 at 11:11:50AM -0700, Larry Lade wrote:
> > Package: vim
> > Version: 1:7.0-164+1
> > Followup-For: Bug #399024
> > 
> > 
> > Confirmed.
> > 
> > This bug appears in packages vim, vim-gnome, and vim-gtk.
> > 
> > Note this bug also occurs when trying to REMOVE the packages in question. 
> > 
> > --Begin output--
> > 
> > Setting up vim (7.0-164+1) ...
> > update-alternatives: unable to make /usr/share/man/ru.UTF-8/man1/editor.1.gz.dpkg-tmp a symlink to /etc/alternatives/editor.ru.UTF-8.1.gz: No such file or directory
> > dpkg: error processing vim (--configure):
> >  subprocess post-installation script returned error exit status 2
> 
> This is interesting since the postinst script for 1:7.0-164+1 doesn't
> have ru.UTF-8 anywhere in it.  I'm guessing this is because the previous
> versions did and we're only removing alternatives on "prerm remove" not
> "prerm upgrade".  I'll confirm this and should be able to get a new
> upload which fixes it this weekend.

I'm unable to reproduce this problem.  I've tried through both an
"aptitude upgrade" and "apt-get upgrade" from 1:7.0-158+1 to
1:7.0-164+1.  Do you know which version you were upgrading from when
this happened?

James
-- 
GPG Key: 1024D/61326D40 2003-09-02 James Vega <jamessan@debian.org>
[signature.asc (application/pgp-signature, inline)]

Message sent on to Michal Čihař <michal@cihar.com>:
Bug#399024. (full text, mbox, link).


Information forwarded to debian-bugs-dist@lists.debian.org, Debian VIM Maintainers <pkg-vim-maintainers@lists.alioth.debian.org>:
Bug#399024; Package vim. (full text, mbox, link).


Acknowledgement sent to Bas Zoetekouw <bas@debian.org>:
Extra info received and forwarded to list. Copy sent to Debian VIM Maintainers <pkg-vim-maintainers@lists.alioth.debian.org>. (full text, mbox, link).


Message #38 received at 399024@bugs.debian.org (full text, mbox, reply):

From: Bas Zoetekouw <bas@debian.org>
To: 399024@bugs.debian.org
Subject: Re: Bug#399024: vim: Upgrade fails because of missing man page directory
Date: Sat, 18 Nov 2006 17:12:44 +0100
Hi!

> I'm unable to reproduce this problem.  I've tried through both an
> "aptitude upgrade" and "apt-get upgrade" from 1:7.0-158+1 to
> 1:7.0-164+1.  Do you know which version you were upgrading from when
> this happened?

I just encountered this bug while upgrading vim-full from 1:7.0-158+1 to
current unstable (1:7.0-164+1).

-- 
+--------------------------------------------------------------------+
| Bas Zoetekouw              | GPG key: 0644fab7                     |
|----------------------------| Fingerprint: c1f5 f24c d514 3fec 8bf6 |
| bas@debian.org             |              a2b1 2bae e41f 0644 fab7 |
+--------------------------------------------------------------------+ 



Information forwarded to debian-bugs-dist@lists.debian.org, Debian VIM Maintainers <pkg-vim-maintainers@lists.alioth.debian.org>:
Bug#399024; Package vim. (full text, mbox, link).


Acknowledgement sent to Michal Čihař <michal@cihar.com>:
Extra info received and forwarded to list. Copy sent to Debian VIM Maintainers <pkg-vim-maintainers@lists.alioth.debian.org>. (full text, mbox, link).


Message #43 received at 399024@bugs.debian.org (full text, mbox, reply):

From: Michal Čihař <michal@cihar.com>
To: James Vega <jamessan@debian.org>
Cc: 399024@bugs.debian.org
Subject: Re: Bug#399024: vim: Upgrade fails because of missing man page directory
Date: Sat, 18 Nov 2006 19:13:36 +0100
[Message part 1 (text/plain, inline)]
Hi

On Sat, 18 Nov 2006 09:23:59 -0500
James Vega <jamessan@debian.org> wrote:

> I'm unable to reproduce this problem.  I've tried through both an
> "aptitude upgrade" and "apt-get upgrade" from 1:7.0-158+1 to
> 1:7.0-164+1.  Do you know which version you were upgrading from when
> this happened?

Aptitude log shows following:

[UPGRADE] vim 1:7.0-158+1 -> 1:7.0-164+1
[UPGRADE] vim-common 1:7.0-158+1 -> 1:7.0-164+1
[UPGRADE] vim-full 1:7.0-158+1 -> 1:7.0-164+1
[UPGRADE] vim-gui-common 1:7.0-158+1 -> 1:7.0-164+1
[UPGRADE] vim-runtime 1:7.0-158+1 -> 1:7.0-164+1

After few times running configure, errors were disappearing - first time
vim-full and vim failed, then only vim, which failed several times, and
with today update even vim has configured...

-- 
    Michal Čihař | http://cihar.com | http://blog.cihar.com
[signature.asc (application/pgp-signature, attachment)]

Information forwarded to debian-bugs-dist@lists.debian.org, Debian VIM Maintainers <pkg-vim-maintainers@lists.alioth.debian.org>:
Bug#399024; Package vim. (full text, mbox, link).


Acknowledgement sent to "Larry Lade" <larry.p.lade@gmail.com>:
Extra info received and forwarded to list. Copy sent to Debian VIM Maintainers <pkg-vim-maintainers@lists.alioth.debian.org>. (full text, mbox, link).


Message #48 received at 399024@bugs.debian.org (full text, mbox, reply):

From: "Larry Lade" <larry.p.lade@gmail.com>
To: "James Vega" <jamessan@debian.org>
Cc: 399024@bugs.debian.org, 399024-submitter@bugs.debian.org
Subject: Re: Bug#399024: vim: Upgrade fails because of missing man page directory
Date: Sat, 18 Nov 2006 14:03:43 -0700
[Message part 1 (text/plain, inline)]
According to dpkg.log packages vim, vim-common, vim-runtime, vim-tiny,
vim-gtk, vim-gnome, vim-gui-common  from 1:7.0-094+1 to 1:7.0-122+1, to 1:
7.0-152+1, to 1:7.0-158+1, to 1:7.0-164+1. The error messages about the
Russian manpage do not appear in that log. I can attach the log if you think
it would be useful.

Synaptic's History tool oddly records no activity on these packages since 26
October (122 -> 152 upgrade).

I'm starting to suspect this is cruft introduced by some other package some
time ago. I'm still perplexed where "/usr/share/man/ru.UTF-8/" is coming
from, since I don't even have such a directory on my filesystem.

Hmm... a quick Google search indicates this path appearing in reports for
Vim 7.0 on other bug tracking systems.
[Message part 2 (text/html, inline)]

Message sent on to Michal Čihař <michal@cihar.com>:
Bug#399024. (full text, mbox, link).


Information forwarded to debian-bugs-dist@lists.debian.org, Debian VIM Maintainers <pkg-vim-maintainers@lists.alioth.debian.org>:
Bug#399024; Package vim. (full text, mbox, link).


Acknowledgement sent to James Vega <jamessan@debian.org>:
Extra info received and forwarded to list. Copy sent to Debian VIM Maintainers <pkg-vim-maintainers@lists.alioth.debian.org>. (full text, mbox, link).


Message #56 received at 399024@bugs.debian.org (full text, mbox, reply):

From: James Vega <jamessan@debian.org>
To: Larry Lade <larry.p.lade@gmail.com>
Cc: 399024@bugs.debian.org, 399024-submitter@bugs.debian.org
Subject: Re: Bug#399024: vim: Upgrade fails because of missing man page directory
Date: Sat, 18 Nov 2006 16:24:21 -0500
[Message part 1 (text/plain, inline)]
On Sat, Nov 18, 2006 at 02:03:43PM -0700, Larry Lade wrote:
> According to dpkg.log packages vim, vim-common, vim-runtime, vim-tiny,
> vim-gtk, vim-gnome, vim-gui-common  from 1:7.0-094+1 to 1:7.0-122+1, to 1:
> 7.0-152+1, to 1:7.0-158+1, to 1:7.0-164+1. The error messages about the
> Russian manpage do not appear in that log. I can attach the log if you think
> it would be useful.

The portion about upgrading to 1:7.0-164+1 may be, but I'm not very
hopeful.

> Synaptic's History tool oddly records no activity on these packages since 26
> October (122 -> 152 upgrade).
> 
> I'm starting to suspect this is cruft introduced by some other package some
> time ago. I'm still perplexed where "/usr/share/man/ru.UTF-8/" is coming
> from, since I don't even have such a directory on my filesystem.

Up until 1:7.0-164+1, Vim (vim-common specifically) shipped man pages in
that directory.  Every vim variant also setup alternatives links in the
various man page directories.  In 1:7.0-164+1, we stopped shipping man
pages in /usr/share/man/ru.{UTF-8,KOI8-R}/man1 and moved the KOI8-R man
pages to /usr/share/man/ru/man1 based on another bug report that had
been filed against Vim a while ago.

What I suspected was happening was that when we setup the alternatives in
vim-$variant's postinst, it had problems with the ru.KOI8-R and ru.UTF-8
no longer being shipped.  That doesn't seem to be the case though, at
least when I perform an upgrade.  I'll try it in a fresh chroot later to
see if something about my normal environment is making things work when
they shouldn't.  Otherwise, I'm at a loss as to why it's working for me
and not for other people.

James
-- 
GPG Key: 1024D/61326D40 2003-09-02 James Vega <jamessan@debian.org>
[signature.asc (application/pgp-signature, inline)]

Message sent on to Michal Čihař <michal@cihar.com>:
Bug#399024. (full text, mbox, link).


Information forwarded to debian-bugs-dist@lists.debian.org, Debian VIM Maintainers <pkg-vim-maintainers@lists.alioth.debian.org>:
Bug#399024; Package vim. (full text, mbox, link).


Acknowledgement sent to "Giuseppe D'Angelo" <dangelo@cli.di.unipi.it>:
Extra info received and forwarded to list. Copy sent to Debian VIM Maintainers <pkg-vim-maintainers@lists.alioth.debian.org>. (full text, mbox, link).


Message #64 received at 399024@bugs.debian.org (full text, mbox, reply):

From: "Giuseppe D'Angelo" <dangelo@cli.di.unipi.it>
To: Debian Bug Tracking System <399024@bugs.debian.org>
Subject: vim: bugs hits nano as well
Date: Fri, 15 Dec 2006 11:17:22 +0100
Package: vim
Version: 1:7.0-164+1
Followup-For: Bug #399024

Hi. I can confirm this bug when upgrading from 1:7.0-152+1 to 1:7.0-164+1.

The odd thing is that the upgrade of nano fails as well for the same
reason!

Here's the dpkg output (from a apt-get dist-upgrade):

Configuro nano (2.0.1-1) ...
update-alternatives: impossibile creare il collegamento simbolico /usr/share/man/ru.UTF-8/man1/editor.1.gz.dpkg-tmp a /etc/alternatives/editor.ru.UTF-8.1.gz: No such file or directory
dpkg: errore processando nano (--configure):
 il sottoprocesso post-installation script ha restituito un codice di errore 2
Configuro vim (7.0-164+1) ...
update-alternatives: impossibile creare il collegamento simbolico /usr/share/man/ru.UTF-8/man1/view.1.gz.dpkg-tmp a /etc/alternatives/view.ru.UTF-8.1.gz: No such file or directory
dpkg: errore processando vim (--configure):
 il sottoprocesso post-installation script ha restituito un codice di errore 2
Configuro vim-gnome (7.0-164+1) ...
update-alternatives: impossibile creare il collegamento simbolico /usr/share/man/ru.UTF-8/man1/view.1.gz.dpkg-tmp a /etc/alternatives/view.ru.UTF-8.1.gz: No such file or directory
dpkg: errore processando vim-gnome (--configure):
 il sottoprocesso post-installation script ha restituito un codice di errore 2
Configuro vim-perl (7.0-164+1) ...
update-alternatives: impossibile creare il collegamento simbolico /usr/share/man/ru.KOI8-R/man1/ex.1.gz.dpkg-tmp a /etc/alternatives/ex.ru.KOI8-R.1.gz: No such file or directory
dpkg: errore processando vim-perl (--configure):
 il sottoprocesso post-installation script ha restituito un codice di errore 2
Sono occorsi degli errori processando:
 nano
 vim
 vim-gnome
 vim-perl
E: Sub-process /usr/bin/dpkg returned an error code (1)

Perhaps this is a more general problem?

-- System Information:
Debian Release: 4.0
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/dash
Kernel: Linux 2.6.15-1-686
Locale: LANG=it_IT@euro, LC_CTYPE=it_IT@euro (charmap=ISO-8859-15)

Versions of packages vim depends on:
ii  libc6                        2.3.6.ds1-9 GNU C Library: Shared libraries
ii  libgpmg1                     1.19.6-23   General Purpose Mouse - shared lib
ii  libncurses5                  5.5-5       Shared libraries for terminal hand
ii  vim-common                   1:7.0-164+1 Vi IMproved - Common files
ii  vim-runtime                  1:7.0-164+1 Vi IMproved - Runtime files

vim recommends no packages.

-- no debconf information



Information forwarded to debian-bugs-dist@lists.debian.org, Debian VIM Maintainers <pkg-vim-maintainers@lists.alioth.debian.org>:
Bug#399024; Package vim. (full text, mbox, link).


Acknowledgement sent to Colin Watson <cjwatson@ubuntu.com>:
Extra info received and forwarded to list. Copy sent to Debian VIM Maintainers <pkg-vim-maintainers@lists.alioth.debian.org>. (full text, mbox, link).


Message #69 received at 399024@bugs.debian.org (full text, mbox, reply):

From: Colin Watson <cjwatson@ubuntu.com>
To: James Vega <jamessan@debian.org>
Cc: Larry Lade <larry.p.lade@gmail.com>, 399024@bugs.debian.org, 399024-submitter@bugs.debian.org
Subject: Re: Bug#399024: vim: Upgrade fails because of missing man page directory
Date: Sun, 24 Dec 2006 13:25:56 +0000
[Message part 1 (text/plain, inline)]
On Sat, Nov 18, 2006 at 04:24:21PM -0500, James Vega wrote:
> On Sat, Nov 18, 2006 at 02:03:43PM -0700, Larry Lade wrote:
> > According to dpkg.log packages vim, vim-common, vim-runtime, vim-tiny,
> > vim-gtk, vim-gnome, vim-gui-common  from 1:7.0-094+1 to 1:7.0-122+1, to 1:
> > 7.0-152+1, to 1:7.0-158+1, to 1:7.0-164+1. The error messages about the
> > Russian manpage do not appear in that log. I can attach the log if you think
> > it would be useful.
> 
> The portion about upgrading to 1:7.0-164+1 may be, but I'm not very
> hopeful.

I'm also seeing this on Ubuntu when upgrading from 1:7.0-122+1ubuntu1 to
1:7.0-164+1ubuntu1. I don't think the Ubuntu changes are relevant.

> > I'm starting to suspect this is cruft introduced by some other package some
> > time ago. I'm still perplexed where "/usr/share/man/ru.UTF-8/" is coming
> > from, since I don't even have such a directory on my filesystem.
> 
> Up until 1:7.0-164+1, Vim (vim-common specifically) shipped man pages in
> that directory.  Every vim variant also setup alternatives links in the
> various man page directories.  In 1:7.0-164+1, we stopped shipping man
> pages in /usr/share/man/ru.{UTF-8,KOI8-R}/man1 and moved the KOI8-R man
> pages to /usr/share/man/ru/man1 based on another bug report that had
> been filed against Vim a while ago.
> 
> What I suspected was happening was that when we setup the alternatives in
> vim-$variant's postinst, it had problems with the ru.KOI8-R and ru.UTF-8
> no longer being shipped.  That doesn't seem to be the case though, at
> least when I perform an upgrade.  I'll try it in a fresh chroot later to
> see if something about my normal environment is making things work when
> they shouldn't.  Otherwise, I'm at a loss as to why it's working for me
> and not for other people.

It's got something to do with existing alternatives. I've attached my
/var/lib/dpkg/alternatives/view, which mentions ru.KOI8-R and ru.UTF-8.

Strangely, though, repeated 'dpkg --configure -a' invocations sort it
out, which suggests that one way to work around this would be to retry
each update-alternatives call once if it fails. Nasty, but perhaps
functional.

update-alternative does have code to discard obsolete slave links (look
for "obsolete" in /usr/sbin/update-alternatives). Perhaps there's some
way to get it to do that more competently?

In any case, this does feel like an update-alternatives bug as well,
even if you work around it in vim.

Cheers,

-- 
Colin Watson                                       [cjwatson@ubuntu.com]
[view (text/plain, attachment)]

Message sent on to Michal Čihař <michal@cihar.com>:
Bug#399024. (full text, mbox, link).


Reply sent to James Vega <jamessan@debian.org>:
You have taken responsibility. (full text, mbox, link).


Notification sent to Michal Čihař <michal@cihar.com>:
Bug acknowledged by developer. (full text, mbox, link).


Message #77 received at 399024-close@bugs.debian.org (full text, mbox, reply):

From: James Vega <jamessan@debian.org>
To: 399024-close@bugs.debian.org
Subject: Bug#399024: fixed in vim 1:7.0-164+2
Date: Thu, 04 Jan 2007 20:47:04 +0000
Source: vim
Source-Version: 1:7.0-164+2

We believe that the bug you reported is fixed in the latest version of
vim, which is due to be installed in the Debian FTP archive:

vim-common_7.0-164+2_i386.deb
  to pool/main/v/vim/vim-common_7.0-164+2_i386.deb
vim-doc_7.0-164+2_all.deb
  to pool/main/v/vim/vim-doc_7.0-164+2_all.deb
vim-full_7.0-164+2_i386.deb
  to pool/main/v/vim/vim-full_7.0-164+2_i386.deb
vim-gnome_7.0-164+2_i386.deb
  to pool/main/v/vim/vim-gnome_7.0-164+2_i386.deb
vim-gtk_7.0-164+2_i386.deb
  to pool/main/v/vim/vim-gtk_7.0-164+2_i386.deb
vim-gui-common_7.0-164+2_all.deb
  to pool/main/v/vim/vim-gui-common_7.0-164+2_all.deb
vim-lesstif_7.0-164+2_i386.deb
  to pool/main/v/vim/vim-lesstif_7.0-164+2_i386.deb
vim-perl_7.0-164+2_i386.deb
  to pool/main/v/vim/vim-perl_7.0-164+2_i386.deb
vim-python_7.0-164+2_i386.deb
  to pool/main/v/vim/vim-python_7.0-164+2_i386.deb
vim-ruby_7.0-164+2_i386.deb
  to pool/main/v/vim/vim-ruby_7.0-164+2_i386.deb
vim-runtime_7.0-164+2_all.deb
  to pool/main/v/vim/vim-runtime_7.0-164+2_all.deb
vim-tcl_7.0-164+2_i386.deb
  to pool/main/v/vim/vim-tcl_7.0-164+2_i386.deb
vim-tiny_7.0-164+2_i386.deb
  to pool/main/v/vim/vim-tiny_7.0-164+2_i386.deb
vim_7.0-164+2.diff.gz
  to pool/main/v/vim/vim_7.0-164+2.diff.gz
vim_7.0-164+2.dsc
  to pool/main/v/vim/vim_7.0-164+2.dsc
vim_7.0-164+2_i386.deb
  to pool/main/v/vim/vim_7.0-164+2_i386.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 399024@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
James Vega <jamessan@debian.org> (supplier of updated vim package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Thu,  4 Jan 2007 01:50:25 -0500
Source: vim
Binary: vim-full vim-lesstif vim-common vim-gnome vim-doc vim-runtime vim vim-gtk vim-perl vim-ruby vim-gui-common vim-tiny vim-python vim-tcl
Architecture: source all i386
Version: 1:7.0-164+2
Distribution: unstable
Urgency: medium
Maintainer: Debian VIM Maintainers <pkg-vim-maintainers@lists.alioth.debian.org>
Changed-By: James Vega <jamessan@debian.org>
Description: 
 vim        - Vi IMproved - enhanced vi editor
 vim-common - Vi IMproved - Common files
 vim-doc    - Vi IMproved - HTML documentation
 vim-full   - Vi IMproved - enhanced vi editor - full fledged version
 vim-gnome  - Vi IMproved - enhanced vi editor - with GNOME2 GUI
 vim-gtk    - Vi IMproved - enhanced vi editor - with GTK2 GUI
 vim-gui-common - Vi IMproved - Common GUI files
 vim-lesstif - Vi IMproved - enhanced vi editor - with LessTif GUI
 vim-perl   - Vi IMproved - enhanced vi editor - with Perl support
 vim-python - Vi IMproved - enhanced vi editor - with Python support
 vim-ruby   - Vi IMproved - enhanced vi editor - with Ruby support
 vim-runtime - Vi IMproved - Runtime files
 vim-tcl    - Vi IMproved - enhanced vi editor - with TCL support
 vim-tiny   - Vi IMproved - enhanced vi editor - compact version
Closes: 399024 401000
Changes: 
 vim (1:7.0-164+2) unstable; urgency=medium
 .
   [ James Vega ]
   * debian/vim-variant.preinst:
     + Move diversion removal here from vim-variant.postinst.  Manually remove
       /usr/bin/vim in order to be able to remove the diversion.  Fixes
       upgrades from Sarge leaving behind stale binaries.  (closes: #401000)
     + Remove the alternatives for ru.{UTF-8,KOI8-R} manpages so the
       alternatives system doesn't attempt to keep the links around after the
       upgrade.  Fixes upgrades from Etch.  (closes: #399024)
Files: 
 8815c300107d7195a21d2df093cd03ac 1435 editors optional vim_7.0-164+2.dsc
 589cc8bc77d4e19ce4dd0ffdaf8cbcad 325829 editors optional vim_7.0-164+2.diff.gz
 707da8cdc4b891c0aa845e8fbdc0e80a 158030 editors optional vim-gui-common_7.0-164+2_all.deb
 a25582ab352ef789c4768972cf022db2 6430942 editors optional vim-runtime_7.0-164+2_all.deb
 20b18a96702707aba4f2735a96607a8d 2046938 doc optional vim-doc_7.0-164+2_all.deb
 0b0e9e3a540a86bea4f1af8b5a0af1f7 540986 editors important vim-tiny_7.0-164+2_i386.deb
 218fb4334aece97d86b64247d8bf7c55 914600 editors extra vim-ruby_7.0-164+2_i386.deb
 064aa3d3d76055f9cb83c6d6346a2ffd 874032 editors extra vim-tcl_7.0-164+2_i386.deb
 0c232ad97cd379df18ba0c63c7c26467 866438 editors extra vim-gtk_7.0-164+2_i386.deb
 d8035143222d9d4cfb186f1defd4454a 860652 editors extra vim-lesstif_7.0-164+2_i386.deb
 052a8790f1b687496ede10a088d4f8ac 925392 editors extra vim-perl_7.0-164+2_i386.deb
 48f477eb21217543bd482ead780cd473 919110 editors extra vim-python_7.0-164+2_i386.deb
 e7d7bf75d4d9dc300964e5d51f03bf8b 868644 editors extra vim-gnome_7.0-164+2_i386.deb
 af22ad06b0af2e3258faee9f925c95b9 948390 editors extra vim-full_7.0-164+2_i386.deb
 301e033806748048fa7bc0f9ec565d84 206050 editors important vim-common_7.0-164+2_i386.deb
 82e6acd6e070c678d18b461bb4317c01 746022 editors optional vim_7.0-164+2_i386.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iEYEARECAAYFAkWdXc8ACgkQDb3UpmEybUD0sgCglRmEvOarUuHzySBSDYdzNcFH
/LkAn3+NH2u/p4SVLZyzQgBZIBPgseIU
=NyUl
-----END PGP SIGNATURE-----




Information forwarded to debian-bugs-dist@lists.debian.org, Debian VIM Maintainers <pkg-vim-maintainers@lists.alioth.debian.org>:
Bug#399024; Package vim. (full text, mbox, link).


Acknowledgement sent to Ian Jackson <iwj@ubuntu.com>:
Extra info received and forwarded to list. Copy sent to Debian VIM Maintainers <pkg-vim-maintainers@lists.alioth.debian.org>. (full text, mbox, link).


Message #82 received at 399024@bugs.debian.org (full text, mbox, reply):

From: Ian Jackson <iwj@ubuntu.com>
To: 399024@bugs.debian.org
Subject: vim manpage directory missing bug
Date: Tue, 20 Feb 2007 14:28:48 +0000
FYI, in Ubuntu we have (amongst other things) arranged for vim-common
to continue to contain the ru.{UTF-8,KOI8-R} directories, and we will
maintain these for a while, which we think will improve the situation
during upgrades.

Ian.



Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Sun, 24 Jun 2007 22:53:15 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Fri Jan 5 10:54:00 2018; Machine Name: beach

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.