Several required dependencies missing for vim-gtk install

Bug #336917 reported by Kate Ward
2
Affects Status Importance Assigned to Milestone
Nexenta Operating System
New
Undecided
Unassigned

Bug Description

Installing vim-gtk (and by chance openntpd at the same time) resulted in the various errors and workarounds below.

$ sudo apt-get install vim-gtk openntpd
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
  defoma fontconfig fontconfig-config libatk1.0-0 libcairo2 libdatrie0
  libfontconfig1 libfreetype6 libgtk2.0-0 libgtk2.0-common libice6
  libpango1.0-0 libpango1.0-common libperl5.8 libpixman-1-0 libpng12-0
  libruby1.8 libsm6 libthai-data libthai0 libx11-6 libx11-data libxau6
  libxcb-xlib0 libxcb1 libxft2 libxrender1 libxt6 ttf-dejavu ttf-dejavu-core
  ttf-dejavu-extra vim-gui-common x11-common
Suggested packages:
  defoma-doc dfontmgr psfontmgr x-ttcidfont-conf libfreetype6-dev
  librsvg2-common ttf-arphic-bkai00mp ttf-arphic-bsmi00lp ttf-arphic-gbsn00lp
  ttf-arphic-gkai00mp ttf-baekmuk ttf-kochi-gothic ttf-kochi-mincho
  ttf-thryomanes cscope gnome-icon-theme ttf-bitstream-vera vim-doc
Recommended packages:
  libft-perl libatk1.0-data hicolor-icon-theme libgtk2.0-bin
The following NEW packages will be installed:
  defoma fontconfig fontconfig-config libatk1.0-0 libcairo2 libdatrie0
  libfontconfig1 libfreetype6 libgtk2.0-0 libgtk2.0-common libice6
  libpango1.0-0 libpango1.0-common libperl5.8 libpixman-1-0 libpng12-0
  libruby1.8 libsm6 libthai-data libthai0 libx11-6 libx11-data libxau6
  libxcb-xlib0 libxcb1 libxft2 libxrender1 libxt6 openntpd ttf-dejavu
  ttf-dejavu-core ttf-dejavu-extra vim-gtk vim-gui-common x11-common
0 upgraded, 35 newly installed, 0 to remove and 0 not upgraded.
Need to get 18.7MB of archives.
After this operation, 33.1MB of additional disk space will be used.
Do you want to continue [Y/n]?

$ vim
ld.so.1: vim.gtk: fatal: libXdamage.so.1: open failed: No such file or directory
Killed

$ ldd $(which vim) |grep composite
 libXcomposite.so.1 => (file not found)
 libXcomposite.so.1 => (file not found)

The workaround is to install libxcomposite1.

$ sudo apt-get install libxcomposite1
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
  libxext6 libxfixes3
The following NEW packages will be installed:
  libxcomposite1 libxext6 libxfixes3
0 upgraded, 3 newly installed, 0 to remove and 0 not upgraded.
Need to get 50.7kB of archives.
After this operation, 31.7kB of additional disk space will be used.
Do you want to continue [Y/n]?

$ ldd $(which vim) |grep composite
 libXcomposite.so.1 => /usr/lib/libXcomposite.so.1

$ vim
ld.so.1: vim.gtk: fatal: libXdamage.so.1: open failed: No such file or directory
Killed

$ sudo apt-get install libxdamage1
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
  libxdamage1
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 9896B of archives.
After this operation, 27.6kB of additional disk space will be used.

$ vim
ld.so.1: vim.gtk: fatal: libXi.so.6: open failed: No such file or directory
Killed

$ sudo apt-get install libxi6
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
  libxi6
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 24.4kB of archives.
After this operation, 53.2kB of additional disk space will be used.

$ vim
ld.so.1: vim.gtk: fatal: libXrandr.so.2: open failed: No such file or directory
Killed

$ sudo apt-get install libxrandr2
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
  libxrandr2
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 19.7kB of archives.
After this operation, 46.1kB of additional disk space will be used.

$ vim
ld.so.1: vim.gtk: fatal: libXcursor.so.1: open failed: No such file or directory
Killed

$ sudo apt-get install libxcursor1
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
  libxcursor1
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 22.3kB of archives.
After this operation, 51.2kB of additional disk space will be used.

$ vim

vim now works.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.