I can't launch Gparted.

Questions about applications and software
Forum rules
Before you post please read how to get help
Post Reply
Level 1
Level 1
Posts: 1
Joined: Tue Sep 18, 2018 9:51 pm

I can't launch Gparted.

Post by King_Antonius » Tue Sep 18, 2018 9:55 pm

I've installed, uninstalled and reinstalled Gparted but for some reason I can't get it to run. If I try to launch it I get
Unit -.mount does not exist, proceeding anyway.

Any help would be greatly appreciated.

User avatar
Level 24
Level 24
Posts: 23493
Joined: Wed Jul 06, 2011 3:58 am
Location: The Netherlands

Re: I can't launch Gparted.

Post by xenopeek » Wed Sep 19, 2018 6:50 am

Googling that error finds other users with the same issue. They have pinned it down to either being because of issue around Wayland compatibility (but Linux Mint doesn't use Wayland yet, it uses X), issues with broken libraries or users having installed GParted from outside the repository.

Can you confirm from where you installed Gparted? What does this command say:
apt policy gparted

If it is related to library problems they suggest to reinstall them with this command:
sudo apt-get install --reinstall libcairomm-1.0-1v5 libglibmm-2.4-1v5 libsigc++-2.0-0v5
Sounds farfetched but it won't hurt to try. Further it suggest to check that each of the libraries is not broken, with the ldd command. See here: https://askubuntu.com/a/1037119

Level 15
Level 15
Posts: 5753
Joined: Thu Jun 21, 2018 5:11 pm

Re: I can't launch Gparted.

Post by gm10 » Wed Sep 19, 2018 8:18 am

xenopeek wrote:
Wed Sep 19, 2018 6:50 am
Googling that error finds other users with the same issue.
I get that message, too. I'm fairly certain anyone with an up-to-date Mint 19 gets it. Looking at the source, it's caused by a faulty script here: https://github.com/GNOME/gparted/blob/m ... ed.in#L146
The problem is that the unit names don't get properly escaped/quoted in the argument. Someone feel free to bug report that to GNOME.

It's not the cause ofhis problem of gparted not starting though. I think we need more information how he's starting it. Many people like to play around with root shells and then wonder why GUI programs don't work, for example.

Post Reply

Return to “Software & Applications”