Help with crashing package installer

Help for Current Versions of MX
When asking for help, use Quick System Info from MX Tools. It will be properly formatted using the following steps.
1. Click on Quick System Info in MX Tools
2. Right click in your post and paste.
Message
Author
User avatar
fehlix
Developer
Posts: 12720
Joined: Wed Apr 11, 2018 5:09 pm

Re: Help with crashing package installer

#11 Post by fehlix »

Yellowhoney wrote: Sat Jul 02, 2022 2:29 pm

Code: Select all

$ mxpi-launcher
Error checking for authorization org.mxlinux.pkexec.mxpi-launcher: GDBus.Error:org.freedesktop.DBus.Error.NoReply: Message recipient disconnected from message bus without replying
$
Hmm.. a dbus-thing
A simple test call like this, as normal user in terminal run:

Code: Select all

pkexec true
would also fail?

Let's see what's up. As normal user in terminal run:

Code: Select all

pgrep -a polkit
Normally you would see two lines, like this
nnnn /usr/libexec/polkitd --no-debug
nnnn /usr/lib/policykit-1-gnome/polkit-gnome-authentication-agent-1

User avatar
Yellowhoney
Posts: 53
Joined: Sat Apr 20, 2019 5:36 am

Re: Help with crashing package installer

#12 Post by Yellowhoney »

fehlix wrote: Sat Jul 02, 2022 5:27 pm
Yellowhoney wrote: Sat Jul 02, 2022 2:29 pm

Code: Select all

$ mxpi-launcher
Error checking for authorization org.mxlinux.pkexec.mxpi-launcher: GDBus.Error:org.freedesktop.DBus.Error.NoReply: Message recipient disconnected from message bus without replying
$
Hmm.. a dbus-thing
A simple test call like this, as normal user in terminal run:

Code: Select all

pkexec true
would also fail?

Let's see what's up. As normal user in terminal run:

Code: Select all

pgrep -a polkit
Normally you would see two lines, like this
nnnn /usr/libexec/polkitd --no-debug
nnnn /usr/lib/policykit-1-gnome/polkit-gnome-authentication-agent-1

Code: Select all

Yellow@mx:~
$ pkexec true
Error checking for authorization org.freedesktop.policykit.exec: GDBus.Error:org.freedesktop.DBus.Error.NoReply: Message recipient disconnected from message bus without replying
Yellow@mx:~
$ pgrep -a polkit
2245 /usr/lib/policykit-1-gnome/polkit-gnome-authentication-agent-1
Yellow@mx:~
2007 20* Imac running 3gb MX18.3
i5 4670k 16gb ram

User avatar
fehlix
Developer
Posts: 12720
Joined: Wed Apr 11, 2018 5:09 pm

Re: Help with crashing package installer

#13 Post by fehlix »

Yellowhoney wrote: Sun Jul 03, 2022 11:26 am

Code: Select all

Yellow@mx:~
$ pkexec true
Error checking for authorization org.freedesktop.policykit.exec: GDBus.Error:org.freedesktop.DBus.Error.NoReply: Message recipient disconnected from message bus without replying
Yellow@mx:~
$ pgrep -a polkit
2245 /usr/lib/policykit-1-gnome/polkit-gnome-authentication-agent-1
Yellow@mx:~
OK, thanks.
Another "test" please:
do run this (easiest copy'n'paste) in terminal as normal user:
This (to try) to start polkit daemon:

Code: Select all

sudo bash -c "/usr/libexec/polkitd --no-debug & disown"
and now again the "dummy" test with:

Code: Select all

pkexec date
would it now ask for the password and show the date.

User avatar
Yellowhoney
Posts: 53
Joined: Sat Apr 20, 2019 5:36 am

Re: Help with crashing package installer

#14 Post by Yellowhoney »

fehlix wrote: Sun Jul 03, 2022 11:57 am
Yellowhoney wrote: Sun Jul 03, 2022 11:26 am

Code: Select all

Yellow@mx:~
$ pkexec true
Error checking for authorization org.freedesktop.policykit.exec: GDBus.Error:org.freedesktop.DBus.Error.NoReply: Message recipient disconnected from message bus without replying
Yellow@mx:~
$ pgrep -a polkit
2245 /usr/lib/policykit-1-gnome/polkit-gnome-authentication-agent-1
Yellow@mx:~
OK, thanks.
Another "test" please:
do run this (easiest copy'n'paste) in terminal as normal user:
This (to try) to start polkit daemon:

Code: Select all

sudo bash -c "/usr/libexec/polkitd --no-debug & disown"
and now again the "dummy" test with:

Code: Select all

pkexec date
would it now ask for the password and show the date.

Code: Select all

pkexec date
Error checking for authorization org.freedesktop.policykit.exec: GDBus.Error:org.freedesktop.DBus.Error.NoReply: Message recipient disconnected from message bus without replying
2007 20* Imac running 3gb MX18.3
i5 4670k 16gb ram

User avatar
Yellowhoney
Posts: 53
Joined: Sat Apr 20, 2019 5:36 am

Re: Help with crashing package installer

#15 Post by Yellowhoney »

Am i getting these problem because I'm running AHS . should I just run main mx21 in the future
2007 20* Imac running 3gb MX18.3
i5 4670k 16gb ram

User avatar
Adrian
Developer
Posts: 8987
Joined: Wed Jul 12, 2006 1:42 am

Re: Help with crashing package installer

#16 Post by Adrian »

Yellowhoney wrote: Mon Jul 04, 2022 12:14 am Am i getting these problem because I'm running AHS . should I just run main mx21 in the future
No, it's most likely not related. There's something weird going on with pkexec. Not sure why, I will let more knowledgeable people respond. It might be a simple solution...

User avatar
Yellowhoney
Posts: 53
Joined: Sat Apr 20, 2019 5:36 am

Re: Help with crashing package installer

#17 Post by Yellowhoney »

if it help , I was having crashing problem with anydesk and started using TeamViewer , I was also trying to install xdrp so I don't know if I have boch some thing.
2007 20* Imac running 3gb MX18.3
i5 4670k 16gb ram

Huckleberry Finn

Re: Help with crashing package installer

#18 Post by Huckleberry Finn »

Sorry for interfering in : Do you remember creating (or editing) any .conf or .pkla files in /etc/polkit-1/... ?
  • Code: Select all

    sudo ls -laR /etc/polkit-1/locala*
  • Also, nothing to lose (maybe there are broken installations / uninstallations) :

    Code: Select all

    sudo apt update ; sudo apt install -f ; sudo dpkg --configure -a

User avatar
fehlix
Developer
Posts: 12720
Joined: Wed Apr 11, 2018 5:09 pm

Re: Help with crashing package installer

#19 Post by fehlix »

Yellowhoney wrote: Mon Jul 04, 2022 1:02 am if it help , I was having crashing problem with anydesk and started using TeamViewer , I was also trying to install xdrp so I don't know if I have boch some thing.
dbus get very early setup, may be those remote access helper messed up something.
Perhaps, remove/purge all of those and check whether dbus would now allow to get pkexec authentication to work.

User avatar
Yellowhoney
Posts: 53
Joined: Sat Apr 20, 2019 5:36 am

Re: Help with crashing package installer

#20 Post by Yellowhoney »

fehlix wrote: Mon Jul 04, 2022 7:58 am
Yellowhoney wrote: Mon Jul 04, 2022 1:02 am if it help , I was having crashing problem with anydesk and started using TeamViewer , I was also trying to install xdrp so I don't know if I have boch some thing.
dbus get very early setup, may be those remote access helper messed up something.
Perhaps, remove/purge all of those and check whether dbus would now allow to get pkexec authentication to work.
thanks for the help the last few days , I think i will just format with a new mx21 and start over. welcome to close the thread
2007 20* Imac running 3gb MX18.3
i5 4670k 16gb ram

Post Reply

Return to “MX Help”