Siduction Forum

Siduction Forum => Upgrade Warnings => Topic started by: musca on 2015/06/28, 12:46:58

Title: [solved] gparted doesn't start because of missing 90-mandatory.d/
Post by: musca on 2015/06/28, 12:46:58
Hello,

when you try to start gparted and nothing happens, this might help.

Running from terminal i saw this message:
$ gparted-pkexec
/var/lib/polkit-1/localauthority/90-mandatory.d does not exist. Please install policykit-1

But policykit-1 is installed, of course.

The solution is another nice finding of our user terroreek. Please execute as root:
# mkdir -p /var/lib/polkit-1/localauthority/90-mandatory.d/

This will enable gparted to create the file /var/lib/polkit-1/localauthority/90-mandatory.d/udisks2-inhibit.pkla while it is running.

greetings
musca

Title: Re: [solved] gparted doesn't start because of missing 90-mandatory.d/
Post by: gabrielb on 2015/06/28, 14:17:46
Thanks a lot!
Title: Re: [solved] gparted doesn't start because of missing 90-mandatory.d/
Post by: dibl on 2015/06/28, 15:11:36
I hit this issue yesterday and had no idea what was wrong, so I had to boot a USB stick to deal with a drive. Yes, thanks very much.
Title: Re: [solved] gparted doesn't start because of missing 90-mandatory.d/
Post by: musca on 2015/06/28, 16:09:30
hello,

thanks for the feedback.

For KDE users there is the kvpm volume and partition manager which can deal with lvm2 volumes.

greetings
musca
Title: Re: [solved] gparted doesn't start because of missing 90-mandatory.d/
Post by: bullgard4 on 2015/07/02, 10:31:45
This helped with me, too.
Thank you very much.
Title: Re: [solved] gparted doesn't start because of missing 90-mandatory.d/
Post by: gnasch on 2015/07/02, 16:19:41
dpkg-reconfigure gparted helped here and created the necessary directory.

best,
gnasch
Title: Re: [solved] gparted doesn't start because of missing 90-mandatory.d/
Post by: michaa7 on 2015/07/02, 20:43:02
Thanks. just saw this. Stumbled into this yesterday, solved now.
Title: Re: [solved] gparted doesn't start because of missing 90-mandatory.d/
Post by: seasons on 2015/07/02, 22:53:06
Link to bug report is always helpful: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=790333
So it's closed, but where is the bug report for policykit-1?
Title: Re: [solved] gparted doesn't start because of missing 90-mandatory.d/
Post by: melmarker on 2015/07/02, 23:55:38
it wasn't really a debian bug - i was my fault to upload the new version of policykit-1, which don't play nice with the other components - so before filing a bug against debian a look into apt-cache could be useful. in case the package in charge is from the siduction repos it would be wise to ask here first
Title: Re: [solved] gparted doesn't start because of missing 90-mandatory.d/
Post by: michaa7 on 2015/07/03, 00:08:03
Quote from: melmarker on 2015/07/02, 23:55:38
it wasn't really a debian bug ...

Hm, I had this bug, but the siduction version of policykit-1 was not installed.

Quote# apt-cache policy policykit-1
policykit-1:
  Installiert:           0.112-5.2
  Installationskandidat: 0.112-5.3.1~really-0.105-8
  Versionstabelle:
     0.112-5.3.1~really-0.105-8 0
        500 ftp://ftp.uni-stuttgart.de/siduction/extra/ unstable/main amd64 Packages
*** 0.112-5.2 0
        100 /var/lib/dpkg/status
     0.112-5 0
          1 http://http.debian.net/debian/ experimental/main amd64 Packages
     0.105-8 0
        500 http://http.debian.net/debian/ unstable/main amd64 Packages
        500 http://http.debian.net/debian/ testing/main amd64 Packages
     0.105-3 0
        500 http://http.debian.net/debian/ wheezy/main amd64 Packages
Title: Re: [solved] gparted doesn't start because of missing 90-mandatory.d/
Post by: seasons on 2015/07/03, 00:14:53
Quote from: melmarker on 2015/07/02, 23:55:38
it wasn't really a debian bug - i was my fault to upload the new version of policykit-1, which don't play nice with the other components - so before filing a bug against debian a look into apt-cache could be useful. in case the package in charge is from the siduction repos it would be wise to ask here first
Ah, thank you. I'm sorry if I caused any confusion. :/
Title: Re: [solved] gparted doesn't start because of missing 90-mandatory.d/
Post by: musca on 2015/07/03, 01:15:10
hello seasons,

no worries :) your questions are welcome.

hello michaa7,

your installed version has a higher versionnumber than the debian package.
In fact you are still using the faulty package.

greetings
musca
Title: Re: [solved] gparted doesn't start because of missing 90-mandatory.d/
Post by: michaa7 on 2015/07/04, 13:03:48
You are right. I was confused, because you can't see where the installed package came from.