Não é possível instalar o vim em um RasPi (Raspbian GNU / Linux 7)

1

Estou tentando instalar o vim em um RasPi (ou seja, Raspbian GNU / Linux 7 (wheezy)), mas ao executar "sudo apt-get install vim" estou recebendo um erro. Eu tentei procurar uma solução, mas não encontrei nada que me ajudasse até agora. Eu tentei as seguintes sugestões de um fórum, mas não parece ajudar.

sudo dpkg --force-remove-reinstreq vim
sudo apt-get clean all
sudo apt-get --purge autoremove
sudo apt-get --fix-missing install
sudo apt-get update
sudo apt-get dist-upgrade

O seguinte é a saída do comando

pi@rpi-6f-a4-38 ~ $ sudo apt-get install vim
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following extra packages will be installed:
  vim-runtime
Suggested packages:
  ctags vim-doc vim-scripts
The following NEW packages will be installed:
  vim vim-runtime
0 upgraded, 2 newly installed, 0 to remove and 1 not upgraded.
Need to get 0 B/5,281 kB of archives.
After this operation, 24.5 MB of additional disk space will be used.
Do you want to continue [Y/n]? y
(Reading database ... 79130 files and directories currently installed.)
Unpacking vim-runtime (from .../vim-runtime_2%3a7.3.547-7_all.deb) ...
Adding 'diversion of /usr/share/vim/vim73/doc/help.txt to /usr/share/vim/vim73/doc/help.txt.vim-tiny by vim-runtime'
dpkg-divert: error: rename involves overwriting '/usr/share/vim/vim73/doc/help.txt.vim-tiny' with
  different file '/usr/share/vim/vim73/doc/help.txt', not allowed
dpkg: error processing /var/cache/apt/archives/vim-runtime_2%3a7.3.547-7_all.deb (--unpack):
 subprocess new pre-installation script returned error exit status 2
No diversion 'diversion of /usr/share/vim/vim73/doc/help.txt by vim-runtime', none removed.
No diversion 'diversion of /usr/share/vim/vim73/doc/tags by vim-runtime', none removed.
Selecting previously unselected package vim.
Unpacking vim (from .../vim_2%3a7.3.547-7_armhf.deb) ...
Errors were encountered while processing:
 /var/cache/apt/archives/vim-runtime_2%3a7.3.547-7_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

Alguém pensa em como resolver / resolver isso? Obrigado em adiantado por qualquer ajuda.

    
por lordhog 11.10.2016 / 02:30

0 respostas