Missing dependency libgtkmm for gparted

Bug #1772317 reported by Eric Stith on 2018-05-20
18
This bug affects 4 people
Affects Status Importance Assigned to Milestone
gparted (Ubuntu)
Undecided
Unassigned

Bug Description

I did a minimal install of Ubuntu 18.04. Initially, although apt claimed that gparted was already installed, the binary didn't seem to exist. I removed it and reinstalled it, but it seems to be missing dependencies:

Running "sudo gparted":
/usr/sbin/gpartedbin: error while loading shared libraries: libgtkmm-2.4.so.1: cannot open shared object file: No such file or directory

Running "sudo apt-get install -f":
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

I had to remove libgtkmm-2.4-1v5, which also removed gparted, and then reinstall gparted, which seems to have correctly installed the libgtkmm-2.4-1v5 library. I had to do something similar with libatkmm-1.6-1v5, libpangomm-1.4-1v5, libglibmm-2.4-1v5.

Doing this seems to fix it:
sudo apt-get install --reinstall libcairomm-1.0-1v5 libglibmm-2.4-1v5 libsigc++-2.0-0v5

affects: xorg (Ubuntu) → gparted (Ubuntu)
Fae Bokita (fae-bokita) wrote :

I have hit the exact same problem, quite a few packages on Ubuntu 18.04 minimal install are reported as being installed, but they are actually missing and require a forced re-install to fix.

Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in gparted (Ubuntu):
status: New → Confirmed
tags: added: bionic
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers