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*"

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.

GParted not working error while loading shared libraries: libgtkmm-2.4.so.1

Missing dependency libgtkmm for gparted

gparted does not start

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.

  • Please add output of dpkg -L gparted | grep bin to the question. Are you sure that your file-system is clean? – N0rbert Jan 15 at 20:24
  • Please add the contents of /etc/fstab and mount to the question (with bootable USB inserted). – N0rbert Jan 15 at 21:02

To be completely sure consider to check file-system for errors and then reinstall Gparted with

sudo apt-get install --reinstall gparted

Afterwards use dpkg -L gparted (or its longer variant dpkg --listfiles gparted) with pipe to grep and you will get the following output:

$ dpkg -L gparted | grep bin

See corresponding man dpkg for details.

As you may know - Gparted has GUI, so it is callable from .desktop file. You can find it with:

$ dpkg -L gparted | grep desktop

and you can see that it is called with gparted executable

$ cat /usr/share/applications/gparted.desktop | grep Exec
Exec=/usr/sbin/gparted %f
  • But then why does his find / -name "*gparted*" does not list it? – PerlDuck Jan 15 at 20:21
  • This really looks weird, that is right. It is possible that /usr/sbin/ is corrupted ... – N0rbert Jan 15 at 20:28
  • 1
    Maybe part of the installation is on the USB stick and part on the HDD. I assume dpkg has some sort of database to keep track of what is installed and what not. Maybe that DB is corrupt. – PerlDuck Jan 15 at 20:57
  • @N0rbert - please see my update above. The ... --reinstall gparted was a partial solution – Craig Hicks Jan 16 at 1:39

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.