Bug#566186: vim-addon-manager: Removing system-wide installed addons fails

Johann Felix Soden johfel at gmx.de
Thu Jan 21 21:28:47 UTC 2010


Package: vim-addon-manager
Version: 0.4.2
Severity: important
Tags: patch

Hi!

If I try to remove any system-wide installed vim addon as root, I get the following error message:

$  vim-addons -w install latex-suite
$  vim-addons -w remove latex-suite
Info: removing broken addon 'latex-suite' from /var/lib/vim/addons
/usr/lib/ruby/1.8/fileutils.rb:264:in `rmdir': Invalid argument - /var/lib/vim/addons/. (Errno::EINVAL)
        from /usr/lib/ruby/1.8/fileutils.rb:264:in `rmdir'
        from /usr/lib/ruby/1.8/fileutils.rb:263:in `each'
        from /usr/lib/ruby/1.8/fileutils.rb:263:in `rmdir'
        from /usr/lib/ruby/1.8/vim/addon-manager.rb:67:in `remove'
        from /usr/lib/ruby/1.8/set.rb:194:in `each'
        from /usr/lib/ruby/1.8/set.rb:194:in `each_key'
        from /usr/lib/ruby/1.8/set.rb:194:in `each'
        from /usr/lib/ruby/1.8/vim/addon-manager.rb:84:in `remove'
        from /usr/lib/ruby/1.8/vim/addon-manager.rb:74:in `each'
        from /usr/lib/ruby/1.8/vim/addon-manager.rb:74:in `remove'
        from /usr/bin/vim-addons:264:in `send'
        from /usr/bin/vim-addons:264

The attached patch does not solve this problem, but is just a small workaround.


-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)

Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages vim-addon-manager depends on:
ii  ruby                         4.2         An interpreter of object-oriented 
ii  vim-common                   2:7.2.330-1 Vi IMproved - Common files

Versions of packages vim-addon-manager recommends:
ii  vim                          2:7.2.330-1 Vi IMproved - enhanced vi editor
ii  vim-gnome [vim]              2:7.2.330-1 Vi IMproved - enhanced vi editor -
ii  vim-nox [vim]                2:7.2.330-1 Vi IMproved - enhanced vi editor

vim-addon-manager suggests no packages.

-- no debconf information

-------------- next part --------------
A non-text attachment was scrubbed...
Name: prevent_failing.diff
Type: text/x-patch
Size: 361 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-vim-maintainers/attachments/20100121/3e7950a3/attachment.bin>


More information about the pkg-vim-maintainers mailing list