GDebi bug and fix?

Report Bugs, Issues and non- package Requests
Message
Author
User avatar
PatriceLab
Posts: 36
Joined: Sat Jun 20, 2020 9:47 am

GDebi bug and fix?

#1 Post by PatriceLab »

It seems that I discovered a bug when launching Gdebi or clicking on a .deb package
Gdebi was launching, showing its icon on the dock (but no window interface), then got the spinning wheel on my cursor, then just stop (icon just disappear from the dock)

I went in the "Menu >> System >> GDebi Package Installer" right click on it >> "Edit Applications", a window opens and at "Command" it was written "pkexec gdebi-gtk %f"
Seaching on the internet i learned that to launch Gdebi with user interface the command is "gdebi-gtk", thus I removed "pkexec " from that "Command" and let "gdebi-gtk %f" only, and now GDebi works just fine which either I click on a .deb or launch it from the menu :number1:

Anyway, I'm no programmer, so is it good, can I left it this way?
ksnip_20220702-123121.png

Code: Select all

System:    Kernel: 5.10.0-15-amd64 x86_64 bits: 64 compiler: gcc v: 10.2.1 
           parameters: BOOT_IMAGE=/boot/vmlinuz-5.10.0-15-amd64 
           root=UUID=<filter> ro quiet splash 
           Desktop: Xfce 4.16.0 tk: Gtk 3.24.24 info: xfce4-panel, plank wm: xfwm 4.16.1 vt: 7 
           dm: LightDM 1.26.0 Distro: MX-21.1_x64 Wildflower April 9  2022 
           base: Debian GNU/Linux 11 (bullseye) 
Machine:   Type: Desktop System: ASUS product: All Series v: N/A serial: <filter> 
           Mobo: ASUSTeK model: H81M-D v: Rev X.0x serial: <filter> UEFI: American Megatrends 
           v: 2107 date: 10/20/2014 
CPU:       Info: Quad Core model: Intel Core i5-4460 bits: 64 type: 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 bogomips: 25587 
           Speed: 1009 MHz min/max: 800/3400 MHz Core speeds (MHz): 1: 1009 2: 1058 3: 947 
           4: 1070 
           Vulnerabilities: Type: itlb_multihit status: KVM: VMX unsupported 
           Type: l1tf mitigation: PTE Inversion 
           Type: mds mitigation: Clear CPU buffers; SMT disabled 
           Type: meltdown mitigation: PTI 
           Type: spec_store_bypass 
           mitigation: Speculative Store Bypass disabled via prctl and seccomp 
           Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer sanitization 
           Type: spectre_v2 
           mitigation: Retpolines, IBPB: conditional, IBRS_FW, STIBP: disabled, RSB filling 
           Type: srbds mitigation: Microcode 
           Type: tsx_async_abort status: Not affected 
Graphics:  Device-1: AMD Ellesmere [Radeon RX 470/480/570/570X/580/580X/590] 
           vendor: Hightech Information System driver: amdgpu v: kernel bus-ID: 01:00.0 
           chip-ID: 1002:67df class-ID: 0300 
           Device-2: Generalplus GENERAL WEBCAM type: USB driver: snd-usb-audio,uvcvideo 
           bus-ID: 2-3:4 chip-ID: 1b3f:2247 class-ID: 0102 
           Display: x11 server: X.Org 1.20.11 compositor: xfwm4 v: 4.16.1 driver: 
           loaded: amdgpu,ati unloaded: fbdev,modesetting,vesa display-ID: :0.0 screens: 1 
           Screen-1: 0 s-res: 1920x1080 s-dpi: 96 s-size: 508x285mm (20.0x11.2") 
           s-diag: 582mm (22.9") 
           Monitor-1: HDMI-A-0 res: 1920x1080 hz: 60 dpi: 94 size: 521x293mm (20.5x11.5") 
           diag: 598mm (23.5") 
           OpenGL: 
           renderer: Radeon RX 570 Series (POLARIS10 DRM 3.40.0 5.10.0-15-amd64 LLVM 11.0.1) 
           v: 4.6 Mesa 20.3.5 direct render: Yes 
Audio:     Device-1: Intel 8 Series/C220 Series High Definition Audio vendor: ASUSTeK 
           driver: snd_hda_intel v: kernel bus-ID: 00:1b.0 chip-ID: 8086:8c20 class-ID: 0403 
           Device-2: AMD Ellesmere HDMI Audio [Radeon RX 470/480 / 570/580/590] 
           vendor: Hightech Information System driver: snd_hda_intel v: kernel bus-ID: 01:00.1 
           chip-ID: 1002:aaf0 class-ID: 0403 
           Device-3: Generalplus GENERAL WEBCAM type: USB driver: snd-usb-audio,uvcvideo 
           bus-ID: 2-3:4 chip-ID: 1b3f:2247 class-ID: 0102 
           Sound Server-1: ALSA v: k5.10.0-15-amd64 running: yes 
           Sound Server-2: PulseAudio v: 14.2 running: yes 
Network:   Device-1: Qualcomm Atheros AR9287 Wireless Network Adapter driver: ath9k v: kernel 
           modules: wl port: e000 bus-ID: 03:00.0 chip-ID: 168c:002e class-ID: 0280 
           IF: wlan0 state: up mac: <filter> 
           Device-2: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet 
           vendor: ASUSTeK H81M-C driver: r8169 v: kernel port: d000 bus-ID: 04:00.0 
           chip-ID: 10ec:8168 class-ID: 0200 
           IF: eth0 state: down mac: <filter> 
Drives:    Local Storage: total: 223.57 GiB used: 144.05 GiB (64.4%) 
           SMART Message: Unable to run smartctl. Root privileges required. 
           ID-1: /dev/sda maj-min: 8:0 vendor: LITE-ON model: PH3-CE240 size: 223.57 GiB 
           block-size: physical: 512 B logical: 512 B speed: 6.0 Gb/s type: SSD serial: <filter> 
           rev: 11.0 scheme: GPT 
Partition: ID-1: / raw-size: 215.31 GiB size: 210.87 GiB (97.94%) used: 144.05 GiB (68.3%) 
           fs: ext4 dev: /dev/sda2 maj-min: 8:2 
           ID-2: /boot/efi raw-size: 256 MiB size: 252 MiB (98.46%) used: 411 KiB (0.2%) 
           fs: vfat dev: /dev/sda1 maj-min: 8:1 
Swap:      Kernel: swappiness: 15 (default 60) cache-pressure: 100 (default) 
           ID-1: swap-1 type: partition size: 8 GiB used: 0 KiB (0.0%) priority: -2 
           dev: /dev/sda3 maj-min: 8:3 
Sensors:   System Temperatures: cpu: 29.8 C mobo: 27.8 C gpu: amdgpu temp: 52.0 C 
           Fan Speeds (RPM): N/A gpu: amdgpu fan: 932 
Repos:     Packages: note: see --pkg apt: 2576 lib: 1437 flatpak: 0 
           No active apt repos in: /etc/apt/sources.list 
           Active apt repos in: /etc/apt/sources.list.d/atom.list 
           1: deb [arch=amd64] https://packagecloud.io/AtomEditor/atom/any/ any main
           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-earth-pro.list 
           1: deb [arch=amd64] http://dl.google.com/linux/earth/deb/ stable main
           Active apt repos in: /etc/apt/sources.list.d/mx.list 
           1: deb http://la.mxrepo.com/mx/repo/ bullseye main non-free
Info:      Processes: 256 Uptime: 1h 49m wakeups: 1 Memory: 15.57 GiB used: 2.96 GiB (19.0%) 
           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: UEFI
You do not have the required permissions to view the files attached to this post.

User avatar
JayM
Qualified MX Guide
Posts: 6793
Joined: Tue Jan 08, 2019 4:47 am

Re: GDebi bug and fix?

#2 Post by JayM »

Why don't you just right-click on the .deb file in Thunar file manager and select install deb files? That custom action was added by the MX developers as an alternative to gdebi which has some known issues.
Please read the Forum Rules, How To Ask For Help, How to Break Your System and Don't Break Debian. Always include your full Quick System Info (QSI) with each and every new help request.

User avatar
bassplayer69
Posts: 65
Joined: Wed Dec 25, 2019 6:37 pm

Re: GDebi bug and fix?

#3 Post by bassplayer69 »

That is interesting. The launching of GDebi Package Installer from the System menu works just fine for me with the pkexec (run as another user) prefix, but the integration in Thunar file manager does not when I right click on a .deb file and choose "Open With 'GDebi Package Installer' from the menu. Just a spinning wheel on the cursor for a while and then just the cursor. This used to work just fine. I haven't tried just the "Install Deb Files" menu option in Thunar file manager since I usually am performing a remove then install with a newer version.
"The world is full of kings and queens, who blind your eyes and steal your dreams. It's Heaven and Hell." - Ronnie James Dio
Linux Registered User #450992 (defunct)

User avatar
asqwerth
Developer
Posts: 7211
Joined: Sun May 27, 2007 5:37 am

Re: GDebi bug and fix?

#4 Post by asqwerth »

bassplayer69 wrote: Sat Jul 02, 2022 7:22 am That is interesting. The launching of GDebi Package Installer from the System menu works just fine for me with the pkexec (run as another user) prefix, but the integration in Thunar file manager does not when I right click on a .deb file and choose "Open With 'GDebi Package Installer' from the menu. Just a spinning wheel on the cursor for a while and then just the cursor. This used to work just fine. I haven't tried just the "Install Deb Files" menu option in Thunar file manager since I usually am performing a remove then install with a newer version.
The Install Deb Files option was made so the user can select more than one deb file and install them all together.
Desktop: Intel i5-4460, 16GB RAM, Intel integrated graphics
Clevo N130WU-based Ultrabook: Intel i7-8550U (Kaby Lake R), 16GB RAM, Intel integrated graphics (UEFI)
ASUS X42D laptop: AMD Phenom II, 6GB RAM, Mobility Radeon HD 5400

Huckleberry Finn

Re: GDebi bug and fix?

#5 Post by Huckleberry Finn »

Yesterday I, too was wondering what happened to that.

On the original MX 21 iso it is:

su-to-root -X -c

instead of pkexec

Code: Select all

su-to-root -X -c "gdebi-gtk %f"

User avatar
Jerry3904
Administrator
Posts: 21881
Joined: Wed Jul 19, 2006 6:13 am

Re: GDebi bug and fix?

#6 Post by Jerry3904 »

I uninstalled gdebi a while ago and changed the Custom Action.
Production: 5.10, MX-23 Xfce, AMD FX-4130 Quad-Core, GeForce GT 630/PCIe/SSE2, 16 GB, SSD 120 GB, Data 1TB
Personal: Lenovo X1 Carbon with MX-23 Fluxbox and Windows 10
Other: Raspberry Pi 5 with MX-23 Xfce Raspberry Pi Respin

User avatar
dolphin_oracle
Developer
Posts: 19925
Joined: Sun Dec 16, 2007 1:17 pm

Re: GDebi bug and fix?

#7 Post by dolphin_oracle »

gdebi is amazingly finicky and I believe this is mostly due to a race condition in gdebi. Adding the launching with root privledges works a lot more often than it doesn’t.
http://www.youtube.com/runwiththedolphin
lenovo ThinkPad X1 Extreme Gen 4 - MX-23
FYI: mx "test" repo is not the same thing as debian testing repo.

Huckleberry Finn

Re: GDebi bug and fix?

#8 Post by Huckleberry Finn »

In the meantime "install deb files" was not working, too . (Neither on single file nor several).

User avatar
dolphin_oracle
Developer
Posts: 19925
Joined: Sun Dec 16, 2007 1:17 pm

Re: GDebi bug and fix?

#9 Post by dolphin_oracle »

Huckleberry Finn wrote: Sat Jul 02, 2022 8:15 am In the meantime "install deb files" was not working, too . (Neither on single file nor several).
That one we haven’t changed. Just runs sudo apt install files…
http://www.youtube.com/runwiththedolphin
lenovo ThinkPad X1 Extreme Gen 4 - MX-23
FYI: mx "test" repo is not the same thing as debian testing repo.

Huckleberry Finn

Re: GDebi bug and fix?

#10 Post by Huckleberry Finn »

Yep. (Though) within Thunar custom actions the command is the same .

Post Reply

Return to “Bugs and Non-Package Requests Forum”