Repro in fresh Jammy LXD container:
root@j:~# apt install vim-addon-manager vim-airline
root@j:~# do-release-upgrade
...
Preparing to unpack .../194-vim-airline_0.11-2_all.deb ...
Info: removing installed addon 'airline' from /var/lib/vim/addons
/usr/lib/ruby/vendor_ruby/vim/addon_manager.rb:59:in `remove': ESC[1mundefined
method `exists?' for File:Class (ESC[1;4mNoMethodErrorESC[mESC[1m)ESC[m
ESC[1m if File.exists? tagfileESC[m
ESC[1m ^^^^^^^^ESC[m
ESC[1mDid you mean? exist?ESC[m
from /usr/bin/vim-addon-manager:282:in `<main>'
dpkg: warning: old vim-airline package pre-removal script subprocess returned
error exit status 1
dpkg: trying script from the new package instead ...
dpkg: error processing archive
/tmp/apt-dpkg-install-0unHVH/194-vim-airline_0.11-2_all.deb (--unpack):
there is no script in the new version of the package - giving up
== DuplicateSignature =================================
package:vim-airline:0.11-1
Preparing to unpack .../194-vim-airline_0.11-2_all.deb ...
Info: removing installed addon 'airline' from /var/lib/vim/addons
/usr/lib/ruby/vendor_ruby/vim/addon_manager.rb:59:in `remove': ESC[1mundefined
method `exists?' for File:Class (ESC[1;4mNoMethodErrorESC[mESC[1m)ESC[m
ESC[1m if File.exists? tagfileESC[m
ESC[1m ^^^^^^^^ESC[m
ESC[1mDid you mean? exist?ESC[m
from /usr/bin/vim-addon-manager:282:in `<main>'
dpkg: warning: old vim-airline package pre-removal script subprocess returned
error exit status 1
dpkg: trying script from the new package instead ...
dpkg: error processing archive
/tmp/apt-dpkg-install-0unHVH/194-vim-airline_0.11-2_all.deb (--unpack):
there is no script in the new version of the package - giving up
vim-pathogen only accidentally was in there in my error messages, this is in
vim-addon-manager.
Changing bug task
** Bug watch added: bugs.ruby-lang.org/issues #17391
https://bugs.ruby-lang.org/issues/17391
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2078541
Title:
package vim-pathogen 2.4-5 failed to install/upgrade: there is no
script in the new version of the package - giving up
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/vim-addon-manager/+bug/2078541/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs