> Hi,
>
> On Sat, 23 Jan 2010, mroot wrote:
>> After an upgrade dpkg gives me error message:
>>
>> Setting up ed (1.4-1) ...
>> Can't call method "slave" on an undefined value at
>> /usr/sbin/update-alternatives line 1037.
>> dpkg: error processing ed (--configure):
>>  subprocess installed post-installation script returned error exit
>> status 255
>
> Please send us the file /var/lib/dpkg/alternatives/editor. And show us the
> output of the command "ls -al /etc/alternatives/editor* /usr/bin/editor".
>
> Cheers,
> --
> Raphaël Hertzog
>

Dear Raphaël,

Thank you for your answer.

---
server:~# grep -v ^$ /var/lib/dpkg/alternatives/editor
manual
/usr/bin/editor
editor.1.gz
/usr/share/man/man1/editor.1.gz
editor.pl.ISO8859-2.1.gz
/usr/share/man/pl.ISO8859-2/man1/editor.1.gz
editor.it.ISO8859-1.1.gz
/usr/share/man/it.ISO8859-1/man1/editor.1.gz
editor.ru.1.gz
/usr/share/man/ru/man1/editor.1.gz
editor.fr.ISO8859-1.1.gz
/usr/share/man/fr.ISO8859-1/man1/editor.1.gz
editor.pl.UTF-8.1.gz
/usr/share/man/pl.UTF-8/man1/editor.1.gz
editor.it.1.gz
/usr/share/man/it/man1/editor.1.gz
editor.fr.UTF-8.1.gz
/usr/share/man/fr.UTF-8/man1/editor.1.gz
editor.fr.1.gz
/usr/share/man/fr/man1/editor.1.gz
editor.it.UTF-8.1.gz
/usr/share/man/it.UTF-8/man1/editor.1.gz
editor.pl.1.gz
/usr/share/man/pl/man1/editor.1.gz
/bin/ed
-100
/usr/share/man/man1/ed.1.gz
/bin/nano
40
/usr/share/man/man1/nano.1.gz
/usr/bin/nvi
19
/usr/share/man/man1/nvi.1.gz
/usr/bin/mcedit-debian
25
/usr/share/man/man1/mcedit.1.gz
/usr/bin/vim.basic
30
/usr/share/man/man1/vim.1.gz
/usr/share/man/pl.ISO8859-2/man1/vim.1.gz
/usr/share/man/it.ISO8859-1/man1/vim.1.gz
/usr/share/man/ru/man1/vim.1.gz
/usr/share/man/fr.ISO8859-1/man1/vim.1.gz
/usr/share/man/pl.UTF-8/man1/vim.1.gz
/usr/share/man/it/man1/vim.1.gz
/usr/share/man/fr.UTF-8/man1/vim.1.gz
/usr/share/man/fr/man1/vim.1.gz
/usr/share/man/it.UTF-8/man1/vim.1.gz
/usr/share/man/pl/man1/vim.1.gz
server:~#
server:~# ls -al /etc/alternatives/editor* /usr/bin/editor
lrwxrwxrwx 1 root root 12 2008 febr  28 /etc/alternatives/editor ->
/usr/bin/vim
lrwxrwxrwx 1 root root 28 2008 febr  28 /etc/alternatives/editor.1.gz ->
/usr/share/man/man1/vim.1.gz
lrwxrwxrwx 1 root root 12 jan   23 17.52 /etc/alternatives/editor.dpkg-tmp
-> /usr/bin/vim
lrwxrwxrwx 1 root root 12 2008 szept  2 /usr/bin/editor -> /usr/bin/vim
server:~# la /usr/bin/vim
lrwxrwxrwx 1 root root 21 2008 febr  28 /usr/bin/vim -> /etc/alternatives/vim
server:~# la /etc/alternatives/vim
lrwxrwxrwx 1 root root 18 2009 jan   21 /etc/alternatives/vim ->
/usr/bin/vim.basic
server:~# la /usr/bin/vim.basic
-rwxr-xr-x 1 root root 1502740 jan   14 06.41 /usr/bin/vim.basic
server:~# dpkg -S /usr/bin/vim.basic
vim: /usr/bin/vim.basic
mikroweb:~# dpkg -s vim
Package: vim
Status: purge ok half-configured
Priority: optional
Section: editors
Installed-Size: 1528
Maintainer: Debian Vim Maintainers
<[email protected]>
Architecture: i386
Version: 2:7.2.330-1
Config-Version: 2:7.2.079-1
Replaces: vim-common (<< 1:7.1-175+1)
Provides: editor
Depends: vim-common (= 2:7.2.330-1), vim-runtime (= 2:7.2.330-1), libacl1
(>= 2.2.11-1), libc6 (>= 2.7), libgpm2 (>= 1.20.4), libncurses5 (>=
5.6+20071006-3), libselinux1 (>= 1.32)
Suggests: ctags, vim-doc, vim-scripts
Conflicts: vim-common (<< 1:7.1-175+1)
Conffiles:
 /etc/vim/gvimrc d41a7c49361eb15ac7b61a26a5fa4e64 obsolete
---

Best regards,
mroot






-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to