Page 1 of 1

Help with crashing package installer

Posted: Sat Jul 02, 2022 9:01 am
by Yellowhoney
Getting issue with mx updater , it green and when I click to upgrade the terminal pop up and crash straight away .
some thing happen with I try to run mx package installer , repo manager .

Code: Select all

[code]
System:    Kernel: 5.16.0-5mx-amd64 x86_64 bits: 64 compiler: gcc v: 10.2.1 
           parameters: BOOT_IMAGE=/vmlinuz-5.16.0-5mx-amd64 
           root=UUID=<filter> ro quiet splash 
           Desktop: Xfce 4.16.0 tk: Gtk 3.24.24 info: xfce4-panel wm: xfwm 4.16.1 vt: 7 
           dm: LightDM 1.26.0 Distro: MX-21.1_ahs_x64 Wildflower April 9  2022 
           base: Debian GNU/Linux 11 (bullseye) 
Machine:   Type: Portable System: Alienware product: Alienware 17 v: A16 serial: <filter> 
           Chassis: type: 8 v: A16 serial: <filter> 
           Mobo: Alienware model: 041W46 serial: <filter> UEFI-[Legacy]: Alienware v: A16 
           date: 06/25/2018 
Battery:   ID-1: BAT1 charge: 71.8 Wh (100.0%) condition: 71.8/77.0 Wh (93.3%) volts: 16.2 
           min: 14.8 model: Simplo PABAS0241231 type: Li-ion serial: <filter> status: Full 
CPU:       Info: Quad Core model: Intel Core i7-4700MQ bits: 64 type: MT MCP arch: Haswell 
           family: 6 model-id: 3C (60) stepping: 3 microcode: 28 cache: L2: 6 MiB 
           flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx bogomips: 38314 
           Speed: 898 MHz min/max: 800/3400 MHz Core speeds (MHz): 1: 898 2: 1794 3: 898 4: 898 
           5: 1061 6: 898 7: 1123 8: 1085 
           Vulnerabilities: Type: itlb_multihit status: KVM: VMX disabled 
           Type: l1tf mitigation: PTE Inversion; VMX: conditional cache flushes, SMT vulnerable 
           Type: mds mitigation: Clear CPU buffers; SMT vulnerable 
           Type: meltdown mitigation: PTI 
           Type: spec_store_bypass mitigation: Speculative Store Bypass disabled via prctl 
           Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer sanitization 
           Type: spectre_v2 
           mitigation: Retpolines, IBPB: conditional, IBRS_FW, STIBP: conditional, RSB filling 
           Type: srbds mitigation: Microcode 
           Type: tsx_async_abort status: Not affected 
Graphics:  Device-1: Intel 4th Gen Core Processor Integrated Graphics vendor: Dell driver: i915 
           v: kernel bus-ID: 00:02.0 chip-ID: 8086:0416 class-ID: 0300 
           Device-2: NVIDIA GK104M [GeForce GTX 780M] vendor: Dell driver: N/A 
           alternate: nouveau bus-ID: 01:00.0 chip-ID: 10de:119f class-ID: 0300 
           Device-3: Sunplus Innovation Laptop Integrated Webcam FHD type: USB driver: uvcvideo 
           bus-ID: 1-1.5:3 chip-ID: 1bcf:2b83 class-ID: 0e02 
           Display: x11 server: X.Org 1.20.13 compositor: xfwm4 v: 4.16.1 driver: 
           loaded: modesetting unloaded: fbdev,vesa display-ID: :0.0 screens: 1 
           Screen-1: 0 s-res: 1536x864 s-dpi: 96 s-size: 406x229mm (16.0x9.0") 
           s-diag: 466mm (18.4") 
           Monitor-1: eDP-1 res: 1536x864 hz: 60 dpi: 102 size: 382x215mm (15.0x8.5") 
           diag: 438mm (17.3") 
           OpenGL: renderer: Mesa DRI Intel HD Graphics 4600 (HSW GT2) v: 4.5 Mesa 21.2.5 
           compat-v: 3.0 direct render: Yes 
Audio:     Device-1: Intel Xeon E3-1200 v3/4th Gen Core Processor HD Audio vendor: Dell 
           driver: snd_hda_intel v: kernel bus-ID: 00:03.0 chip-ID: 8086:0c0c class-ID: 0403 
           Device-2: Intel 8 Series/C220 Series High Definition Audio vendor: Dell 
           driver: snd_hda_intel v: kernel bus-ID: 00:1b.0 chip-ID: 8086:8c20 class-ID: 0403 
           Device-3: NVIDIA GK104 HDMI Audio vendor: Dell driver: snd_hda_intel v: kernel 
           bus-ID: 01:00.1 chip-ID: 10de:0e0a class-ID: 0403 
           Sound Server-1: ALSA v: k5.16.0-5mx-amd64 running: yes 
           Sound Server-2: PulseAudio v: 14.2 running: yes 
Network:   Device-1: Qualcomm Atheros Killer E220x Gigabit Ethernet vendor: Dell driver: alx 
           v: kernel port: 3000 bus-ID: 08:00.0 chip-ID: 1969:e091 class-ID: 0200 
           IF: eth0 state: down mac: <filter> 
           Device-2: Broadcom BCM4352 802.11ac Wireless Network Adapter vendor: AzureWave 
           driver: wl v: kernel modules: bcma port: 3000 bus-ID: 0a:00.0 chip-ID: 14e4:43b1 
           class-ID: 0280 
           IF: wlan0 state: up mac: <filter> 
Bluetooth: Device-1: IMC Networks BCM20702A0 type: USB driver: btusb v: 0.8 bus-ID: 3-1.5:3 
           chip-ID: 13d3:3411 class-ID: fe01 serial: <filter> 
           Report: hciconfig ID: hci0 rfk-id: 2 state: up address: <filter> bt-v: 2.1 lmp-v: 4.0 
           sub-v: 220e hci-v: 4.0 rev: 1000 
           Info: acl-mtu: 1021:8 sco-mtu: 64:1 link-policy: rswitch sniff 
           link-mode: slave accept service-classes: rendering, capturing, object transfer, audio 
Drives:    Local Storage: total: 447.13 GiB used: 9.8 GiB (2.2%) 
           SMART Message: Unable to run smartctl. Root privileges required. 
           ID-1: /dev/sda maj-min: 8:0 vendor: Western Digital model: WDS480G2G0A-00JH30 
           size: 447.13 GiB block-size: physical: 512 B logical: 512 B speed: 6.0 Gb/s type: SSD 
           serial: <filter> rev: 0400 temp: 29 C scheme: MBR 
Partition: ID-1: / raw-size: 438.61 GiB size: 430.65 GiB (98.19%) used: 9.63 GiB (2.2%) fs: ext4 
           dev: /dev/dm-0 maj-min: 253:0 mapped: root.fsm 
           ID-2: /boot raw-size: 512 MiB size: 487.2 MiB (95.16%) used: 182.7 MiB (37.5%) 
           fs: ext4 dev: /dev/sda1 maj-min: 8:1 
Swap:      Kernel: swappiness: 15 (default 60) cache-pressure: 100 (default) 
           ID-1: swap-1 type: partition size: 7.98 GiB used: 0 KiB (0.0%) priority: -2 
           dev: /dev/dm-1 maj-min: 253:1 mapped: swap 
Sensors:   System Temperatures: cpu: 48.0 C mobo: N/A 
           Fan Speeds (RPM): N/A 
Repos:     Packages: 2060 note: see --pkg apt: 2053 lib: 1014 flatpak: 7 
           No active apt repos in: /etc/apt/sources.list 
           Active apt repos in: /etc/apt/sources.list.d/debian-stable-updates.list 
           1: deb http://deb.debian.org/debian bullseye-updates main contrib non-free
           Active apt repos in: /etc/apt/sources.list.d/debian.list 
           1: deb http://deb.debian.org/debian bullseye main contrib non-free
           2: deb http://security.debian.org/debian-security bullseye-security main contrib non-free
           Active apt repos in: /etc/apt/sources.list.d/google-chrome.list 
           1: deb [arch=amd64] https://dl.google.com/linux/chrome/deb/ stable main
           Active apt repos in: /etc/apt/sources.list.d/mx.list 
           1: deb http://mx.debian.nz/mx/repo/ bullseye main non-free
           2: deb http://mx.debian.nz/mx/repo/ bullseye ahs
           Active apt repos in: /etc/apt/sources.list.d/teamviewer.list 
           1: deb https://linux.teamviewer.com/deb stable main
Info:      Processes: 301 Uptime: 29m wakeups: 2 Memory: 15.52 GiB used: 1.59 GiB (10.2%) 
           Init: SysVinit v: 2.96 runlevel: 5 default: 5 tool: systemctl Compilers: gcc: 10.2.1 
           alt: 10 Shell: Bash v: 5.1.4 running-in: quick-system-info-mx 
           inxi: 3.3.06 
Boot Mode: BIOS (legacy, CSM, MBR)
[/code]

Re: Help with crashing package installer

Posted: Sat Jul 02, 2022 1:09 pm
by Huckleberry Finn
What if you try to install something or update via terminal ?

Maybe you just reinstall them that way .. (Or maybe ownerships/permissions were changed somehow)

Just try:

Code: Select all

sudo apt update ; sudo apt dist-upgrade -y
(You can exclude the -y if you like, to make it pause and ask " Y/N ? " )

Or:

Code: Select all

sudo apt update ; sudo apt install --reinstall apt-notifier mx-repo-manager mx-packageinstaller -y

Re: Help with crashing package installer

Posted: Sat Jul 02, 2022 1:15 pm
by fehlix
Yellowhoney wrote: Sat Jul 02, 2022 9:01 am Getting issue with mx updater , it green and when I click to upgrade the terminal pop up and crash straight away .
some thing happen with I try to run mx package installer , repo manager .
Is users polkit daemon running?
Would you show what happens if you run this command within terminal:

Code: Select all

mx-packageinstaller
and

Code: Select all

mxpi-launcher
Does it open the authentification popup-window? Or something else?
Post anything shown in the terminal.

Re: Help with crashing package installer

Posted: Sat Jul 02, 2022 2:29 pm
by Yellowhoney

Code: Select all

Yellow@mx:~
$ mx-packageinstaller
QStandardPaths: error creating runtime directory '/run/user/0' (Permission denied)
Qt: Session management error: Authentication Rejected, reason : None of the authentication protocols specified are supported and host-based authentication failed
Yellow@mx:~
$ Error checking for authorization org.mxlinux.pkexec.mxpi-launcher: GDBus.Error:org.freedesktop.DBus.Error.NoReply: Message recipient disconnected from message bus without replying
^C
Yellow@mx:~
$ 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
Yellow@mx:~
$

Re: Help with crashing package installer

Posted: Sat Jul 02, 2022 2:30 pm
by Huckleberry Finn
Is "PolicyKit Authentication ..." checked in "Session and Startup" - "App. Autostart" tab ? If not, check it, apply, reboot.

Re: Help with crashing package installer

Posted: Sat Jul 02, 2022 2:32 pm
by Yellowhoney
Sorry I dont know what polkit is , but ill post what the terminal post

Re: Help with crashing package installer

Posted: Sat Jul 02, 2022 2:32 pm
by Huckleberry Finn

Re: Help with crashing package installer

Posted: Sat Jul 02, 2022 2:36 pm
by Yellowhoney
Huckleberry Finn wrote: Sat Jul 02, 2022 2:30 pm Is "PolicyKit Authentication ..." checked in "Session and Startup" - "App. Autostart" tab ? If not, check it, apply, reboot.
was tick on , ive uncheck it then check it and tried to reboot same thing happening

Re: Help with crashing package installer

Posted: Sat Jul 02, 2022 2:48 pm
by Yellowhoney
Huckleberry Finn wrote: Sat Jul 02, 2022 1:09 pm What if you try to install something or update via terminal ?

Maybe you just reinstall them that way .. (Or maybe ownerships/permissions were changed somehow)

Just try:

Code: Select all

sudo apt update ; sudo apt dist-upgrade -y
(You can exclude the -y if you like, to make it pause and ask " Y/N ? " )

Or:

Code: Select all

sudo apt update ; sudo apt install --reinstall apt-notifier mx-repo-manager mx-packageinstaller -y
ran both , nothing got install or updated

Code: Select all

sudo apt update ; sudo apt install --reinstall apt-notifier mx-repo-manager mx-packageinstaller -y 
[sudo] password for Yellow: 
Hit:1 http://deb.debian.org/debian bullseye-updates InRelease
Hit:2 http://deb.debian.org/debian bullseye InRelease
Hit:3 https://linux.teamviewer.com/deb stable InRelease
Hit:4 https://dl.google.com/linux/chrome/deb stable InRelease
Hit:5 http://security.debian.org/debian-security bullseye-security InRelease
Hit:6 http://mx.debian.nz/mx/repo bullseye InRelease 
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
All packages are up to date.
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
0 upgraded, 0 newly installed, 3 reinstalled, 0 to remove and 0 not upgraded.
Need to get 0 B/721 kB of archives.
After this operation, 0 B of additional disk space will be used.
(Reading database ... 296919 files and directories currently installed.)
Preparing to unpack .../apt-notifier_22.06.01mx21_all.deb ...
Unpacking apt-notifier (22.06.01mx21) over (22.06.01mx21) ...
Preparing to unpack .../mx-packageinstaller_22.6_amd64.deb ...
Unpacking mx-packageinstaller (22.6) over (22.6) ...
Preparing to unpack .../mx-repo-manager_22.6_amd64.deb ...
Unpacking mx-repo-manager (22.6) over (22.6) ...
Setting up apt-notifier (22.06.01mx21) ...
Setting up mx-packageinstaller (22.6) ...
Setting up mx-repo-manager (22.6) ...
Processing triggers for bamfdaemon (0.5.4-2) ...
Rebuilding /usr/share/applications/bamf-2.index...
Processing triggers for desktop-file-utils (0.26-1) ...
Processing triggers for hicolor-icon-theme (0.17-2) ...
Processing triggers for mailcap (3.69) ...
Yellow@mx:~

Re: Help with crashing package installer

Posted: Sat Jul 02, 2022 4:38 pm
by dolphin_oracle
Nothing was installed but a whole bunch of stuff finished updating from a previous attempt

Re: Help with crashing package installer

Posted: Sat Jul 02, 2022 5:27 pm
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

Re: Help with crashing package installer

Posted: Sun Jul 03, 2022 11:26 am
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:~

Re: Help with crashing package installer

Posted: Sun Jul 03, 2022 11:57 am
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.

Re: Help with crashing package installer

Posted: Mon Jul 04, 2022 12:11 am
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

Re: Help with crashing package installer

Posted: Mon Jul 04, 2022 12:14 am
by Yellowhoney
Am i getting these problem because I'm running AHS . should I just run main mx21 in the future

Re: Help with crashing package installer

Posted: Mon Jul 04, 2022 12:23 am
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...

Re: Help with crashing package installer

Posted: Mon Jul 04, 2022 1:02 am
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.

Re: Help with crashing package installer

Posted: Mon Jul 04, 2022 4:25 am
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

Re: Help with crashing package installer

Posted: Mon Jul 04, 2022 7:58 am
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.

Re: Help with crashing package installer

Posted: Mon Jul 04, 2022 10:25 am
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

Re: Help with crashing package installer

Posted: Tue Sep 20, 2022 12:37 am
by MikeOToole
Mine was also crashing so I followed @fehlix post...
I ran mx-packageinstaller in terminal and from the error report it appears cleanflight-configurator was the issue, I removed it and now everything works fine...

Thanks for the help...