I have just installed Ubuntu 18.04. There are several applications (e.g. gparted) which are listed as installed, but for which no executable exists. The following diagnostics makes this clear:
# apt list --installed | grep gparted gparted/bionic,now 0.30.0-3ubuntu1 amd64 [installed] # dpkg -l | grep gparted ii gparted 0.30.0-3ubuntu1 amd64 GNOME partition editor # apt install gparted Reading package lists... Done Building dependency tree Reading state information... Done gparted is already the newest version (0.30.0-3ubuntu1). 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. # find / -name "*gparted*" /var/lib/dpkg/info/gparted.md5sums /var/lib/dpkg/info/gparted.list /var/lib/app-info/icons/ubuntu-bionic-main/64x64/gparted_gparted.png /var/lib/app-info/icons/ubuntu-bionic-main/48x48/gparted_gparted.png /usr/share/omf/gparted /usr/share/gnome/help-langpack/gparted /usr/share/gnome/help/gparted /usr/share/doc/gparted /usr/share/omf-langpack/gparted /usr/share/locale-langpack/en_GB/LC_MESSAGES/gparted.mo /usr/share/locale-langpack/en_AU/LC_MESSAGES/gparted.mo /usr/share/locale-langpack/en_CA/LC_MESSAGES/gparted.mo
Related background info : The installation was not standard - the disk is encrypted, and the boot partitions are on a removable usb. Installation did not go perfectly smoothly but I did manage to create a bootable usb and can boot into the system. I am running a browser, and have access to many command line programs. But some applications, e.g., are not there even though listed as installed.
Questions : (1) How can this be? (2) How to fix it?
Seems like this is a problem encountered by multiple parties.
I can report this is not caused by running Wayland or by running Ubiquity, as I didn't have either running on either of the live disk or on the installed system - Gnome / X was running on both.
After reinstalling gparted as suggested by @N0rbert the binary appeared. But then multiple dependencies were missing and I had to repeatedly reinstall those as well to finally get it to work.