vim package not installed properly

Bug #1790339 reported by Neil Gulati
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
vim (Ubuntu)
New
Undecided
Unassigned

Bug Description

Linux carbon 4.15.0-33-generic #36-Ubuntu SMP Wed Aug 15 16:00:05 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux

TO REPRODUCE:
1. Install fresh Xubuntu bionic beaver 18.04.1 LTS
2. Go to main menu and select "Software" to start gnome-software
3. Click down arrow to reveal accessories and select
4. Find Vim entry and enter; Vim is reported as installed
5. Click on "Launch" and nothing happens
6. Type Super T to launch a terminal and type "vim" enter; Command 'vim' not found
7. Type "gvim" enter; Command 'gvim' not found
8. Type "man vim" and a vim command is reported (but obviously not available)
9. Type sudo fin / -name '*vim*' | grep bin; only /usr/bin/vim.tiny shows up

EXPECTED BEHAVIOUR:
- Selecting "launch" vim in Gnome Software is expected to launch vim
- Type "vim" command in a terminal is expected to launch vim, especially when "man vim" says that command is available
- If the Vim package is installed a full vim is expected

FIX:
- Run "sudo apt update", "sudo apt install vim" and vim is then available from gnome software and terminal

ProblemType: Bug
DistroRelease: Ubuntu 18.04
Package: gnome-software 3.28.1-0ubuntu4.18.04.2
ProcVersionSignature: Ubuntu 4.15.0-33.36-generic 4.15.18
Uname: Linux 4.15.0-33-generic x86_64
ApportVersion: 2.20.9-0ubuntu7.2
Architecture: amd64
CurrentDesktop: XFCE
Date: Sun Sep 2 11:51:00 2018
ExecutablePath: /usr/bin/gnome-software
InstallationDate: Installed on 2018-09-01 (0 days ago)
InstallationMedia: Xubuntu 18.04.1 LTS "Bionic Beaver" - Release amd64 (20180725)
InstalledPlugins:
 gnome-software-plugin-flatpak N/A
 gnome-software-plugin-limba N/A
 gnome-software-plugin-snap 3.28.1-0ubuntu4.18.04.2
ProcEnviron:
 LANGUAGE=en_AU:en
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=en_AU.UTF-8
 SHELL=/bin/bash
SourcePackage: gnome-software
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Neil Gulati (anil.g) wrote :
Revision history for this message
Olivier Tilloy (osomon) wrote :

This appears to be a packaging problem with vim. Package vim-common installs /usr/share/applications/vim.desktop, and its exec line points to "vim", which isn't necessarily installed.

affects: gnome-software (Ubuntu) → vim (Ubuntu)
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.