Comment 11 for bug 1613949

Revision history for this message
Will Braswell (willthechill) wrote :

Mr. Murray,

Without having yet added "universe-updates" (or anything else) to my /etc/apt/sources.list file, I went ahead and ran `apt-get update` and `apt-cache policy vim-gtk3` again, now it looks like things have been fixed (enough) for me to move forward as-is.

AND IT WORKS!

Unfortunately, it only works because of the passage of time (and things being fixed upstream, presumably); it WAS a problem when I originally created this ticket, and specifically that problem is that the default sources.list fails to include the proper "xenial-updates" lines.

There are 2 files which may be significant, "sources.list" and the older "sources.list.save" files. I will attach "sources.list", and their diff is below. Perhaps this bug report should be re-filed with the people who are in charge of the default "/etc/apt/sources.list" files???

Thanks,
~ Will

$ ls -l /etc/apt/sources.list*
-rw-rw-r-- 1 root root 2727 Nov 24 09:23 /etc/apt/sources.list
-rw-rw-r-- 1 root root 2827 Aug 16 12:12 /etc/apt/sources.list.save

# diff sources.list.save sources.list
6c6
< # deb-src http://us.archive.ubuntu.com/ubuntu/ xenial main restricted
---
> deb-src http://us.archive.ubuntu.com/ubuntu/ xenial main restricted
27c27
< # deb-src http://us.archive.ubuntu.com/ubuntu/ xenial multiverse
---
> deb-src http://us.archive.ubuntu.com/ubuntu/ xenial multiverse
35d34
< deb http://us.archive.ubuntu.com/ubuntu/ xenial-backports main restricted universe multiverse
42c41
< # deb http://archive.canonical.com/ubuntu xenial partner
---
> deb http://archive.canonical.com/ubuntu xenial partner

$ apt-cache policy vim-gtk3
vim-gtk3:
  Installed: (none)
  Candidate: 2:7.4.1689-3ubuntu1.2
  Version table:
     2:7.4.1689-3ubuntu1.2 500
        500 http://security.ubuntu.com/ubuntu xenial-security/universe amd64 Packages
     2:7.4.1689-3ubuntu1 500
        500 http://us.archive.ubuntu.com/ubuntu xenial/universe amd64 Packages

# apt-get update
...
# apt-get install vim-gtk3
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
  vim-gui-common
Suggested packages:
  cscope vim-doc vim-gnome-py2 | vim-gtk-py2 | vim-gtk3-py2 | vim-athena-py2
The following NEW packages will be installed:
  vim-gtk3 vim-gui-common
0 upgraded, 2 newly installed, 0 to remove and 4 not upgraded.
Need to get 1,290 kB of archives.
After this operation, 3,223 kB of additional disk space will be used.
Do you want to continue? [Y/n]
Get:1 http://security.ubuntu.com/ubuntu xenial-security/main amd64 vim-gui-common all 2:7.4.1689-3ubuntu1.2 [67.6 kB]
Get:2 http://security.ubuntu.com/ubuntu xenial-security/universe amd64 vim-gtk3 amd64 2:7.4.1689-3ubuntu1.2 [1,223 kB]
Fetched 1,290 kB in 2s (606 kB/s)
Selecting previously unselected package vim-gui-common.
(Reading database ... 333767 files and directories currently installed.)
Preparing to unpack .../vim-gui-common_2%3a7.4.1689-3ubuntu1.2_all.deb ...
Unpacking vim-gui-common (2:7.4.1689-3ubuntu1.2) ...
Selecting previously unselected package vim-gtk3.
Preparing to unpack .../vim-gtk3_2%3a7.4.1689-3ubuntu1.2_amd64.deb ...
Unpacking vim-gtk3 (2:7.4.1689-3ubuntu1.2) ...
Processing triggers for man-db (2.7.5-1) ...
Processing triggers for bamfdaemon (0.5.3~bzr0+16.04.20160701-0ubuntu1) ...
Rebuilding /usr/share/applications/bamf-2.index...
Processing triggers for gnome-menus (3.13.3-6ubuntu3.1) ...
Processing triggers for desktop-file-utils (0.22-1ubuntu5) ...
Processing triggers for mime-support (3.59ubuntu1) ...
Setting up vim-gui-common (2:7.4.1689-3ubuntu1.2) ...
Setting up vim-gtk3 (2:7.4.1689-3ubuntu1.2) ...
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