Welcome, Guest. Please login or register.
Did you miss your activation email?

Author Topic:  [solved] gparted doesn't start because of missing 90-mandatory.d/  (Read 3697 times)

Offline musca

  • User
  • Posts: 725
  • sid, fly high!
Hello,

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

Running from terminal i saw this message:
Code: [Select]
$ 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:
Code: [Select]
# 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

„Es irrt der Mensch, solang er strebt.“  (Goethe, Faust)

gabrielb

  • Guest
Thanks a lot!

Offline dibl

  • siduction community member
  • Global Moderator
  • User
  • *****
  • Posts: 2.358
    • Land of the Buckeye
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.
« Last Edit: 2015/06/28, 16:22:45 by dibl »
System76 Oryx Pro, Intel Core i7-11800H, SSD 970 EVO Plus;  Asus ROG STRIX X299-E, Core i7-7740X, Nvidia GTX-1060, dual monitors, SSD 860 EVO

Offline musca

  • User
  • Posts: 725
  • sid, fly high!
hello,

thanks for the feedback.

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

greetings
musca
„Es irrt der Mensch, solang er strebt.“  (Goethe, Faust)

Offline bullgard4

  • User
  • Posts: 47
This helped with me, too.
Thank you very much.

Offline gnasch

  • User
  • Posts: 63
dpkg-reconfigure gparted helped here and created the necessary directory.

best,
gnasch

Offline michaa7

  • User
  • Posts: 2.298
Thanks. just saw this. Stumbled into this yesterday, solved now.
Ok, you can't code, but you still might be able to write a bug report for Debian's sake

Offline seasons

  • User
  • Posts: 269
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?

Offline melmarker

  • User
  • Posts: 2.799
    • g-com.eu
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
Those who would give up essential Liberty, to purchase a little temporary Safety, deserve neither Liberty nor Safety. (Benjamin Franklin, November 11, 1755)
Never attribute to malice that which can be adequately explained by stupidity. (Hanlons razor)

Offline michaa7

  • User
  • Posts: 2.298
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
Ok, you can't code, but you still might be able to write a bug report for Debian's sake

Offline seasons

  • User
  • Posts: 269
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. :/

Offline musca

  • User
  • Posts: 725
  • sid, fly high!
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
„Es irrt der Mensch, solang er strebt.“  (Goethe, Faust)

Offline michaa7

  • User
  • Posts: 2.298
You are right. I was confused, because you can't see where the installed package came from.
Ok, you can't code, but you still might be able to write a bug report for Debian's sake