Package: vim-ultisnips
Version: 3.1-3.1
Severity: important
Dear Maintainer,
removing package is failing.
# apt purge vim-ultisnips
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following packages were automatically installed and are no longer required:
vim-addon-manager vim-snippets
Use 'apt autoremove' to remove them.
The following packages will be REMOVED:
vim-ultisnips*
0 upgraded, 0 newly installed, 1 to remove and 372 not upgraded.
After this operation, 1,438 kB disk space will be freed.
Do you want to continue? [Y/n]
(Reading database ... 260833 files and directories currently installed.)
Removing vim-ultisnips (3.1-3.1) ...
Info: removing installed addon 'ultisnips' from /var/lib/vim/addons
Traceback (most recent call last):
9: from /usr/bin/vim-addon-manager:282:in `<main>'
8: from /usr/lib/ruby/vendor_ruby/vim/addon_manager.rb:54:in `remove'
7: from /usr/lib/ruby/vendor_ruby/vim/addon_manager.rb:54:in `each'
6: from /usr/lib/ruby/vendor_ruby/vim/addon_manager.rb:55:in `block in
remove'
5: from
/usr/lib/ruby/vendor_ruby/vim/addon_manager/addon/legacy.rb:88:in `remove'
4: from /usr/lib/ruby/2.7.0/set.rb:328:in `each'
3: from /usr/lib/ruby/2.7.0/set.rb:328:in `each_key'
2: from
/usr/lib/ruby/vendor_ruby/vim/addon_manager/addon/legacy.rb:88:in `block in
remove'
1: from
/usr/lib/ruby/vendor_ruby/vim/addon_manager/addon/legacy.rb:104:in `rmdirs'
/usr/lib/ruby/vendor_ruby/vim/addon_manager/addon/legacy.rb:104:in `delete': Is
a directory @ apply2files - /var/lib/v
im/addons/pythonx/UltiSnips (Errno::EISDIR)
dpkg: error processing package vim-ultisnips (--remove):
installed vim-ultisnips package pre-removal script subprocess returned error
exit status 1
dpkg: too many errors, stopping
Errors were encountered while processing:
vim-ultisnips
Processing was halted because there were too many errors.
E: Sub-process /usr/bin/dpkg returned an error code (1)
-- System Information:
Debian Release: bullseye/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 5.10.0-1-amd64 (SMP w/8 CPU threads)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE,
TAINT_UNSIGNED_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8),
LANGUAGE=en_US:en
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages vim-ultisnips depends on:
ii python3 3.9.1-1
ii vim-addon-manager 0.5.10
ii vim-gtk3 [vim-python3] 2:8.2.2434-1
ii vim-nox [vim-python3] 2:8.2.2434-1
Versions of packages vim-ultisnips recommends:
ii vim-snippets 1.0.0-7
vim-ultisnips suggests no packages.