Zinahe
Posts: 16
Joined: Sun Jan 29, 2012 11:56 pm

Unable to "apt-get install vim" cause of broken dependencies

Sun Jun 17, 2012 11:34 pm

apt-get install vim throws the following error.

vim : Depends: vim-runtime (= 2:7.3.429-2) but 2:7.3.547-1 is to be installed.

Obviously it looks like the installer is dealing with a newer version of vim-runtime; where as vim expects an older one.

Any advice ?

User avatar
jecxjo
Posts: 158
Joined: Sat May 19, 2012 5:22 pm
Location: Minneapolis, MN (USA)

Re: Unable to "apt-get install vim" cause of broken dependen

Sun Jun 17, 2012 11:43 pm

First I'd try updating your cache of the repo

Code: Select all

sudo apt-get update
sudo apt-get install vim-runtime
sudo apt-get install vim
I've run into this type of problem when the repo isn't completely up to date yet.
xmpp: jecxjo@dukgo.com
Blog: http://jecxjo.motd.org/code

plugwash
Forum Moderator
Forum Moderator
Posts: 3223
Joined: Wed Dec 28, 2011 11:45 pm

Re: Unable to "apt-get install vim" cause of broken dependen

Sun Jun 17, 2012 11:46 pm

This is an artefact of how raspbian works, the source and arch all packages are imported first and then the architecture specific packages are built. Therefore there is a time window when the arch all packages have been updated but the arch specific packages have not.

It should clear up soon.

Zinahe
Posts: 16
Joined: Sun Jan 29, 2012 11:56 pm

Re: Unable to "apt-get install vim" cause of broken dependen

Mon Jun 18, 2012 1:00 am

You're right.

It worked when I retried after like 2 hours:

Setting up libgpm2:armhf (1.20.4-4) ...
Setting up vim-common (2:7.3.547-1) ...
Setting up vim-runtime (2:7.3.547-1) ...
Processing /usr/share/vim/addons/doc
Setting up vim (2:7.3.547-1) ...


Thanks

Return to “Raspbian”

Who is online

Users browsing this forum: No registered users and 14 guests