apt-get vim-tiny
Any time I do anything with apt-get, it ends with an error code (1). It seems to have something to do with vim-tiny and I would like some help fixing it.
mark@FrogBreath:~$ dpkg --list vim-tiny
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Architecture Description
+++-==============-============-============-=================================
rF vim-tiny 2:7.4.488-7 amd64 Vi IMproved - enhanced vi editor
mark@FrogBreath:~$
mark@FrogBreath:~$ sudo apt-get remove vim.tiny
Reading package lists... Done
Building dependency tree
Reading state information... Done
Note, selecting 'vim-tiny' for regex 'vim.tiny'
The following packages will be REMOVED:
vim-tiny
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 1,076 kB disk space will be freed.
Do you want to continue? [Y/n]
(Reading database ... 216384 files and directories currently installed.)
Removing vim-tiny (2:7.4.488-7) ...
update-alternatives: error: unable to read link `/etc/alternatives/vi': Invalid argument
dpkg: error processing package vim-tiny (--remove):
subprocess installed pre-removal script returned error exit status 2
update-alternatives: error: unable to read link `/etc/alternatives/vi': Invalid argument
dpkg: error while cleaning up:
subprocess installed post-installation script returned error exit status 2
Errors were encountered while processing:
vim-tiny
E: Sub-process /usr/bin/dpkg returned an error code (1)
mark@FrogBreath:~$
Reply to: