Your message dated Sun, 05 Dec 2021 21:03:39 +0000
with message-id <[email protected]>
and subject line Bug#993766: fixed in vim 2:8.2.2434-3+deb11u1
has caused the Debian Bug report #993766,
regarding vim not available to edit vimrc during buster->bullseye upgrade
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
993766: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=993766
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: vim
Version: 2:8.2.2434-3
Severity: important
Hi!
This one was kind of fun ... upgrading an up to date buster machine to
bullseye, I hit the conffile prompt I normally expect to see for vim:
Setting up vim-common (2:8.2.2434-3) ...
Configuration file '/etc/vim/vimrc'
==> Modified (by you or by a script) since installation.
...
So I do what I always do, and reach for vimdiff to merge the new changes
in vimrc ... only this time, it tells me:
# vimdiff /etc/vim/vimrc /etc/vim/vimrc.dpkg-new
-bash: vimdiff: command not found
and vim's not there either!
# vim
-bash: vim: command not found
Which of course it is. But it's a symlink through /etc/alternatives,
and a quick look shows they're now (almost) all dangling ...
What I *think* has happened is that the upgrade ordering has vim-common
being configured after all of the other vim packages have been unpacked,
but before any of them have been configured. And with vim-gtk becoming
a dummy package with vim-gtk3 taking over from it, there's a window in
there where the alternatives have all fallen apart because they weren't
changed before /usr/bin/vim-gtk vanished, and that doesn't start to get
fixed until the rest of the vim* packages are configured again too.
As later we see:
Setting up nano (5.4-2) ...
Installing new version of config file /etc/nanorc ...
update-alternatives: warning: alternative /usr/bin/vim.gtk (part of link
group editor) doesn't exist; removing from list of alternatives
update-alternatives: warning: /etc/alternatives/editor is dangling; it will
be updated with best choice
update-alternatives: using /bin/nano to provide /usr/bin/editor (editor) in
auto mode
...
Setting up vim (2:8.2.2434-3) ...
update-alternatives: warning: alternative /usr/bin/vim.gtk (part of link
group vim) doesn't exist; removing from list of alternatives
update-alternatives: warning: /etc/alternatives/vim is dangling; it will be
updated with best choice
update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vim (vim)
in auto mode
update-alternatives: warning: alternative /usr/bin/vim.gtk (part of link
group vimdiff) doesn't exist; removing from list of alternatives
update-alternatives: warning: /etc/alternatives/vimdiff is dangling; it will
be updated with best choice
update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vimdiff
(vimdiff) in auto mode
update-alternatives: warning: alternative /usr/bin/vim.gtk (part of link
group rvim) doesn't exist; removing from list of alternatives
update-alternatives: warning: /etc/alternatives/rvim is dangling; it will be
updated with best choice
update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/rvim (rvim)
in auto mode
update-alternatives: warning: alternative /usr/bin/vim.gtk (part of link
group rview) doesn't exist; removing from list of alternatives
update-alternatives: warning: /etc/alternatives/rview is dangling; it will be
updated with best choice
update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/rview
(rview) in auto mode
update-alternatives: warning: alternative /usr/bin/vim.gtk (part of link
group vi) doesn't exist; removing from list of alternatives
update-alternatives: warning: /etc/alternatives/vi is dangling; it will be
updated with best choice
update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vi (vi) in
auto mode
update-alternatives: warning: alternative /usr/bin/vim.gtk (part of link
group view) doesn't exist; removing from list of alternatives
update-alternatives: warning: /etc/alternatives/view is dangling; it will be
updated with best choice
update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/view (view)
in auto mode
update-alternatives: warning: alternative /usr/bin/vim.gtk (part of link
group ex) doesn't exist; removing from list of alternatives
update-alternatives: warning: /etc/alternatives/ex is dangling; it will be
updated with best choice
update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/ex (ex) in
auto mode
...
Setting up vim-gtk3 (2:8.2.2434-3) ...
update-alternatives: using /usr/bin/vim.gtk3 to provide /usr/bin/vim (vim) in
auto mode
update-alternatives: using /usr/bin/vim.gtk3 to provide /usr/bin/vimdiff
(vimdiff) in auto mode
update-alternatives: using /usr/bin/vim.gtk3 to provide /usr/bin/rvim (rvim)
in auto mode
update-alternatives: using /usr/bin/vim.gtk3 to provide /usr/bin/rview
(rview) in auto mode
update-alternatives: using /usr/bin/vim.gtk3 to provide /usr/bin/vi (vi) in
auto mode
update-alternatives: using /usr/bin/vim.gtk3 to provide /usr/bin/view (view)
in auto mode
update-alternatives: using /usr/bin/vim.gtk3 to provide /usr/bin/ex (ex) in
auto mode
update-alternatives: using /usr/bin/vim.gtk3 to provide /usr/bin/editor
(editor) in auto mode
update-alternatives: warning: alternative /usr/bin/vim.gtk (part of link
group gvim) doesn't exist; removing from list of alternatives
update-alternatives: warning: /etc/alternatives/gvim is dangling; it will be
updated with best choice
update-alternatives: using /usr/bin/vim.gtk3 to provide /usr/bin/gvim (gvim)
in auto mode
update-alternatives: warning: alternative /usr/bin/vim.gtk (part of link
group gview) doesn't exist; removing from list of alternatives
update-alternatives: warning: /etc/alternatives/gview is dangling; it will be
updated with best choice
update-alternatives: using /usr/bin/vim.gtk3 to provide /usr/bin/gview
(gview) in auto mode
update-alternatives: warning: alternative /usr/bin/vim.gtk (part of link
group rgview) doesn't exist; removing from list of alternatives
update-alternatives: warning: /etc/alternatives/rgview is dangling; it will
be updated with best choice
update-alternatives: using /usr/bin/vim.gtk3 to provide /usr/bin/rgview
(rgview) in auto mode
update-alternatives: warning: alternative /usr/bin/vim.gtk (part of link
group rgvim) doesn't exist; removing from list of alternatives
update-alternatives: warning: /etc/alternatives/rgvim is dangling; it will be
updated with best choice
update-alternatives: using /usr/bin/vim.gtk3 to provide /usr/bin/rgvim
(rgvim) in auto mode
update-alternatives: warning: alternative /usr/bin/vim.gtk (part of link
group evim) doesn't exist; removing from list of alternatives
update-alternatives: warning: /etc/alternatives/evim is dangling; it will be
updated with best choice
update-alternatives: using /usr/bin/vim.gtk3 to provide /usr/bin/evim (evim)
in auto mode
update-alternatives: warning: alternative /usr/bin/vim.gtk (part of link
group eview) doesn't exist; removing from list of alternatives
update-alternatives: warning: /etc/alternatives/eview is dangling; it will be
updated with best choice
update-alternatives: using /usr/bin/vim.gtk3 to provide /usr/bin/eview
(eview) in auto mode
update-alternatives: warning: alternative /usr/bin/vim.gtk (part of link
group gvimdiff) doesn't exist; removing from list of alternatives
update-alternatives: warning: /etc/alternatives/gvimdiff is dangling; it will
be updated with best choice
update-alternatives: using /usr/bin/vim.gtk3 to provide /usr/bin/gvimdiff
(gvimdiff) in auto mode
Setting up vim-gtk (2:8.2.2434-3) ...
The workaround of course is easy, just bypass the alternative link and
invoke one of the copies of vim that does exist directly - but if
vim-gtk really needs to be renamed to vim-gtk3, then the dummy vim-gtk
probably needs to fix the alternative before it removes the binary that
it might have been pointing to, in preinst, rather than leaving the
other packages to stumble through a mess that needs cleaning up.
There might be something more to it than that - but after digging though
the logs you might need to reproduce this, I *think* it actually is as
simple as the vim-gtk binary vanishing without first explicitly telling
update-alternatives the package is removing it, not replacing it ...
This is the set I have after the upgrade:
$ dpkg -l | grep vim
ii vim 2:8.2.2434-3
ii vim-common 2:8.2.2434-3
ii vim-gtk 2:8.2.2434-3
ii vim-gtk3 2:8.2.2434-3
ii vim-gui-common 2:8.2.2434-3
ii vim-runtime 2:8.2.2434-3
ii vim-scripts 20210124.1
ii vim-tiny 2:8.2.2434-3
Cheers,
Ron
--- End Message ---
--- Begin Message ---
Source: vim
Source-Version: 2:8.2.2434-3+deb11u1
Done: James McCoy <[email protected]>
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.
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 [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
James McCoy <[email protected]> (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 [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Thu, 30 Sep 2021 21:51:08 -0400
Source: vim
Architecture: source
Version: 2:8.2.2434-3+deb11u1
Distribution: bullseye
Urgency: medium
Maintainer: Debian Vim Maintainers <[email protected]>
Changed-By: James McCoy <[email protected]>
Closes: 993766 994076 994497 994498
Changes:
vim (2:8.2.2434-3+deb11u1) bullseye; urgency=medium
.
* Switch gbp.conf and CI to bullseye
* Remove vim-gtk alternatives during vim-gtk -> vim-gtk3 transition
(Closes: #993766)
* Backport patches 8.2.3402 and 8.2.3403 to fix heap overflow in :retab
(Closes: #994076, CVE-2021-3770)
* Backport 8.2.3409 to fix heap overflow (Closes: #994498, CVE-2021-3778)
* Backport patch 8.2.3428 to fix use after free (Closes: #994497,
CVE-2021-3796)
Checksums-Sha1:
ec89a55b23160f3d95820732991b6f62e02fd102 3055 vim_8.2.2434-3+deb11u1.dsc
6b2a6af6da4606979765cba51f934558e56bb154 200476
vim_8.2.2434-3+deb11u1.debian.tar.xz
cc767146fdfaf78c8cccc1f82e076e42c7c59144 21793
vim_8.2.2434-3+deb11u1_amd64.buildinfo
Checksums-Sha256:
e95f6b541de36212c380825cf27fae83c6f1dafbf7aa72bb5034d6fda2ac16b4 3055
vim_8.2.2434-3+deb11u1.dsc
d2dae7246169762d88942a5de7e58bb109ec5af293eafdda271c36f91cc293a4 200476
vim_8.2.2434-3+deb11u1.debian.tar.xz
bd3b2657252538c04651cdd9a673a78877f7542db2c3f0256063e530dba314de 21793
vim_8.2.2434-3+deb11u1_amd64.buildinfo
Files:
a168441d0f7b34bc9ff475bdc2b87624 3055 editors optional
vim_8.2.2434-3+deb11u1.dsc
ab0f59aae9b0bbefc8a4bcdfa5fe8e9a 200476 editors optional
vim_8.2.2434-3+deb11u1.debian.tar.xz
5a82af94e068bb724b7d757fd2bd0135 21793 editors optional
vim_8.2.2434-3+deb11u1_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----
iQKTBAEBCgB9FiEEkb+/TWlWvV33ty0j3+aRrjMbo9sFAmGqWCRfFIAAAAAALgAo
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDkx
QkZCRjRENjk1NkJENURGN0I3MkQyM0RGRTY5MUFFMzMxQkEzREIACgkQ3+aRrjMb
o9u81A//SuQE6kqe7Nps9J4nb1oBC+KUAYkTAYiKZaLkMJXgNJi5aOVTJg9JfIuZ
L2L7ORc+79ShLV7/4VhTirwzUv2xSut7j06rpfxir8kX9mZKN58GSF6oufg3cO/y
eeeOv+HCjtydWJQXAHA6Yk1UF0asPcb2/Y0KQIK4a0jxSNALMf4+WCZwL0cCRhTG
N2wKmg/MbvdJa7uJDpbrOYRu+GL6AUED88Phdu1IQ66foh/dXla3tYUp70fmlGbW
y94/NwybA4t3xVVeTl791U/zMy98+UaB5N/w7XRNCCqYizSlxOhfJiwp22dAifcr
EKLwj239y+TLQSNy/A3v8AW0ImsTkCwKwGVjVBYTi5XDXZAvTir/S7AmFc4Vn++d
opiFKazRGLnN70rUeCgownAlOYcozAPpklrT82h2mT37dmpZjKH02VtC2ujhxDHI
0UmjIEuMK3/G4mMXorKyGmXe0zgIMq01wTz7dlIxvC2ngt4E9lONKBnrkoQVFQ5r
sZJdtqurVl7EvmTIb3VZpUcJWUhkPHAr1dAVTGbywRuSJ5kyn+PSFhSQAAg1Q0eK
FnT8qqiYghbgZIt6HbIq5hobNn7wJlDfyPXl/B2Z+FHp0AS0lPwRBCa2PswVeuAW
w1Ko/SS+8LlmYbPzvZNW5fo62DwEKaERuHMy8Ti+VvpBSbsJpeU=
=O/tf
-----END PGP SIGNATURE-----
--- End Message ---