vim-gtk3 Has Unmet Dependencies After `apt-get upgrade` In Ubuntu 16.04.1 Xenial
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
vim (Ubuntu) |
Invalid
|
High
|
Unassigned |
Bug Description
I have a fresh install of Ubuntu v16.04.1, then I did an `apt-get upgrade` and it only had a few seemingly-minor packages to upgrade (don't remember the list, sorry).
Apparently all the core vim packages have been upgraded to 2:7.4.1689-
Now I get the following error:
[[[ BEGIN PASTE ]]]
root@machine:/# apt-get install vim-gtk3
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
vim-gtk3 : Depends: vim-common (= 2:7.4.1689-
E: Unable to correct problems, you have held broken packages.
[[[ END PASTE ]]]
However I can still get gvim working if I force the installation of the vim-gtk3 package using dpkg. Of course this is not a good solution, because it leaves my system in a state of seemingly-broken packages!
[[[ BEGIN PASTE ]]]
root@machine:/# dpkg -i --force-depends ./vim-gtk3_
Selecting previously unselected package vim-gtk3.
(Reading database ... 251539 files and directories currently installed.)
Preparing to unpack .../vim-
Unpacking vim-gtk3 (2:7.4.
dpkg: vim-gtk3: dependency problems, but configuring anyway as you requested:
vim-gtk3 depends on vim-common (= 2:7.4.1689-
Version of vim-common on system is 2:7.4.1689-
vim-gtk3 depends on vim-runtime (= 2:7.4.1689-
Version of vim-runtime on system is 2:7.4.1689-
Setting up vim-gtk3 (2:7.4.
update-
update-
update-
update-
update-
update-
update-
update-
update-
update-
update-
update-
update-
update-
update-
[[[ END PASTE ]]]
And yes, I can confirm that gvim actually works using this method. We just need to upgrade the package versioning so that we don't have a problem with the apt-get packaging dependency system.
Thanks for all your hard work. Ubuntu is #1!!! :-)
Changed in vim (Ubuntu): | |
importance: | Undecided → High |
Status changed to 'Confirmed' because the bug affects multiple users.