I was unable to recreate this today: $ sudo apt-get install vim-gtk3 [sudo] password for bdmurray: Reading package lists... Done Building dependency tree Reading state information... Done The following packages were automatically installed and are no longer required: linux-headers-4.4.0-31 linux-headers-4.4.0-31-generic linux-image-4.4.0-31-generic linux-image-extra-4.4.0-31-generic linux-tools-4.4.0-31 linux-tools-4.4.0-31-generic Use 'sudo apt autoremove' to remove them. Suggested packages: cscope vim-doc The following NEW packages will be installed: vim-gtk3 0 upgraded, 1 newly installed, 0 to remove and 20 not upgraded. Need to get 1,222 kB of archives. After this operation, 2,948 kB of additional disk space will be used. Get:1 http://192.168.10.7/ubuntu xenial-updates/universe amd64 vim-gtk3 amd64 2:7.4.1689-3ubuntu1.1 [1,222 kB] Fetched 1,222 kB in 0s (10.6 MB/s) Sorry, your system lacks support for the snapshot feature Selecting previously unselected package vim-gtk3. (Reading database ... 918193 files and directories currently installed.) Preparing to unpack .../vim-gtk3_2%3a7.4.1689-3ubuntu1.1_amd64.deb ... Unpacking vim-gtk3 (2:7.4.1689-3ubuntu1.1) ... Setting up vim-gtk3 (2:7.4.1689-3ubuntu1.1) ...
Where did you get the old version of vim-gtk3? ** Changed in: vim (Ubuntu) Status: Confirmed => Incomplete -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to vim in Ubuntu. https://bugs.launchpad.net/bugs/1613949 Title: vim-gtk3 Has Unmet Dependencies After `apt-get upgrade` In Ubuntu 16.04.1 Xenial Status in vim package in Ubuntu: Incomplete 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-3ubuntu1.1 but vim-gtk3 (and all the other gvim-providing packages I tested) are still held back to 2:7.4.1689-3ubuntu1 so there is a version mis-match. 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-3ubuntu1) but 2:7.4.1689-3ubuntu1.1 is to be installed Depends: vim-runtime (= 2:7.4.1689-3ubuntu1) but 2:7.4.1689-3ubuntu1.1 is to be installed 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_7.4.1689-3ubuntu1_amd64.deb Selecting previously unselected package vim-gtk3. (Reading database ... 251539 files and directories currently installed.) Preparing to unpack .../vim-gtk3_7.4.1689-3ubuntu1_amd64.deb ... Unpacking vim-gtk3 (2:7.4.1689-3ubuntu1) ... dpkg: vim-gtk3: dependency problems, but configuring anyway as you requested: vim-gtk3 depends on vim-common (= 2:7.4.1689-3ubuntu1); however: Version of vim-common on system is 2:7.4.1689-3ubuntu1.1. vim-gtk3 depends on vim-runtime (= 2:7.4.1689-3ubuntu1); however: Version of vim-runtime on system is 2:7.4.1689-3ubuntu1.1. Setting up vim-gtk3 (2:7.4.1689-3ubuntu1) ... update-alternatives: using /usr/bin/vim.gtk3 to provide /usr/bin/vim (vim) in auto mode update-alternatives: using /usr/bin/vim.gtk3 to provide /usr/bin/vimdiff (vimdiff) in auto mode update-alternatives: using /usr/bin/vim.gtk3 to provide /usr/bin/rvim (rvim) in auto mode update-alternatives: using /usr/bin/vim.gtk3 to provide /usr/bin/rview (rview) in auto mode update-alternatives: using /usr/bin/vim.gtk3 to provide /usr/bin/vi (vi) in auto mode update-alternatives: using /usr/bin/vim.gtk3 to provide /usr/bin/view (view) in auto mode update-alternatives: using /usr/bin/vim.gtk3 to provide /usr/bin/ex (ex) in auto mode update-alternatives: using /usr/bin/vim.gtk3 to provide /usr/bin/editor (editor) in auto mode update-alternatives: using /usr/bin/vim.gtk3 to provide /usr/bin/gvim (gvim) in auto mode update-alternatives: using /usr/bin/vim.gtk3 to provide /usr/bin/gview (gview) in auto mode update-alternatives: using /usr/bin/vim.gtk3 to provide /usr/bin/rgview (rgview) in auto mode update-alternatives: using /usr/bin/vim.gtk3 to provide /usr/bin/rgvim (rgvim) in auto mode update-alternatives: using /usr/bin/vim.gtk3 to provide /usr/bin/evim (evim) in auto mode update-alternatives: using /usr/bin/vim.gtk3 to provide /usr/bin/eview (eview) in auto mode update-alternatives: using /usr/bin/vim.gtk3 to provide /usr/bin/gvimdiff (gvimdiff) in auto mode [[[ 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!!! :-) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/vim/+bug/1613949/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp