Problem installing vim
Solution 1
probably answering this too late. but try uninstalling vim-common too. I was facing a similar problem with the error message
The following packages have unmet dependencies:
vim : Depends: vim-common (= 2:7.3.429-2ubuntu2) but 2:7.3.429-2ubuntu2.1 is to be installed
E: Unable to correct problems, you have held broken packages.
I was able to solve it by uninstalling vim-common package first.
sudo apt-get remove vim-common
After that i was able to install it with no problems.
Solution 2
What I see there is that the flashplugin-installer
package had some kind of downloading or installing problem and it is not letting you install vim. What I suggest is remove the flashplugin package, then do a refresh of the repository cache and then download vim. Afterwards just install flash again, although I recommend doing it via the restricted extras. Something like the following:
sudo apt-get remove flashplugin-installer
sudo apt-get update
sudo apt-get install vim
sudo apt-get install ubuntu-restricted-extras
On another note I actually still recommend using aptitude over apt-get. Or even synaptic to solve in an easy manner multiple conflicting problems between packages.
Solution 3
I would like to combine both of ur answers. Type it one by one:
sudo apt-get install ubuntu-restricted-extras
sudo apt-get update
sudo apt-get remove vim-common
sudo apt-get install vim
Related videos on Youtube
Allahjane
Updated on September 18, 2022Comments
-
Allahjane over 1 year
What intent filter should I use to get audio file as result from a external activity? Also how the result would be returned? As a URI ,explicit path string , File Descriptor or File object?
-
jmetz almost 12 yearsDid you update the package database?
sudo apt-get update; sudo apt-get upgrade
-
SDsolar almost 7 yearsYes, but I get the same errors trying to install VIM
-
-
Allahjane almost 11 yearsSo resulting content will always be a URI?
-
Allahjane almost 11 yearsWhat's its equivalent XML fields... I am making the result giving activity
-
stinepike almost 11 yearsthis in implicit intent.. why do you need xml?
-
Allahjane almost 11 yearsI need my activity to be called for returning a result. So I cant set filters in the code instead I need to put it in xml
-
stinepike almost 11 yearscreate your own . whats the problem there?
-
Allahjane almost 11 yearsIs there a way to find what intents the calling application send out to know the corresponding intent filter you need to implement?
-
Allahjane almost 11 yearsProblem? This: MediaStore.Audio.Media.EXTERNAL_CONTENT_URI what's this string for XML. can't find it
-
Allahjane almost 11 yearsI mean how can you find what any of calling application put in intent.setAction() and intent.setType(), So that you can add intent filters to target it
-
4Z4T4R over 6 yearsvi !== vim ... So technically you do not have vim installed if you are using vi alone.