You are not logged in.
Hello ,
i am using Devuan 4.0 64bit as Linux OS and am quite please with it, thanks for that!
Noticed the following issue: when i click a .deb file, it would open "package installer" aka "GDEBI",
however, after checking for dependencies, when clicking "Install package" (for installing the .deb file) the window would go away, nothing would happen.
Remember that standard procedure would be being askied for root/ or user password and afterwards package would install properly most of times.
I am using XFCE and have not found a way yet to restore this functinality on Devuan 4.0 , besides using gdebi via terminal, which is a different approach, but i like graphical mode aswell.
Am i missing something?
thanks
Last edited by kapqa (2022-02-19 12:57:20)
Offline
Am i missing something?
Probably a graphical polkit authentication agent. Run gdebi-gtk /path/to/.deb from a terminal or check ~/.xsession-errors for anything relevant.
Try installing policykit-1-gnome, that should supply an agent and the autostart .desktop file for it.
Disclaimer: other graphical polkit authentication agents are available. I posted a full list recently but I can't be bothered searching for it....
EDIT: no, looks like polkit-1-gnome is already installed & running in Devuan's Xfce desktop and gdebi-gtk works fine in isolation.
I can get it working in my VM by clicking on the "Open with" scroll box (where it says "GDebi Package Installer (default)") then clicking on "Other..." then selecting "Gdebi Package Installer" again. Once that is done the expected password confirmation box will open and the package can be installed directly from Firefox.
Very strange
Last edited by Head_on_a_Stick (2022-02-19 14:00:55)
Brianna Ghey — Rest In Power
Offline
thanks,
policykit-1-gnome is already installed,
there is long list in .xsession-errors
latest entrys after clickin a .deb "away" are
[4735:4754:0219/143346.991464:ERROR:node_controller.cc(585)] Trying to re-add dropped peer 1BCB91319182DA9D.D1380ADB99D5E9EC
*** stack smashing detected ***: terminated
*** stack smashing detected ***: terminated
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
[4737:5:0219/143617.605924:ERROR:node_controller.cc(585)] Trying to re-add dropped peer D88D4CA949481B57.1B612E0F3D7DA656
[4734:4831:0219/143617.606106:ERROR:node_controller.cc(585)] Trying to re-add dropped peer D88D4CA949481B57.1B612E0F3D7DA656
[4737:5:0219/143704.461185:ERROR:node_controller.cc(585)] Trying to re-add dropped peer 17438EDD980FD615.EADA1CB96266897
[4737:5:0219/143708.880418:ERROR:node_controller.cc(585)] Trying to re-add dropped peer E27E285508C3B5E6.CB7B7238A45FE298
[4734:4831:0219/143708.880489:ERROR:node_controller.cc(585)] Trying to re-add dropped peer E27E285508C3B5E6.CB7B7238A45FE298
[4735:4754:0219/143720.240063:ERROR:node_controller.cc(585)] Trying to re-add dropped peer 696AC78DFFFCE84D.6352AEE73B79EB75
[4737:5:0219/143720.240020:ERROR:node_controller.cc(585)] Trying to re-add dropped peer 696AC78DFFFCE84D.6352AEE73B79EB75
[4734:4734:0219/143720.251701:ERROR:shared_image_manager.cc(226)] SharedImageManager::ProduceSkia: Trying to Produce a Skia representation from a non-existent mailbox.
[4734:4734:0219/143720.251929:ERROR:shared_image_manager.cc(226)] SharedImageManager::ProduceSkia: Trying to Produce a Skia representation from a non-existent mailbox.
[4734:4831:0219/143720.286830:ERROR:node_controller.cc(585)] Trying to re-add dropped peer 71CACB27C5CAA442.4990D20B764A181
[4737:5:0219/143720.286920:ERROR:node_controller.cc(585)] Trying to re-add dropped peer 71CACB27C5CAA442.4990D20B764A181
[4737:5:0219/143728.199235:ERROR:node_controller.cc(585)] Trying to re-add dropped peer 9207D1D229C1B2C6.E3C6EAEB3A1D5565
[4737:5:0219/143733.075845:ERROR:node_controller.cc(585)] Trying to re-add dropped peer DA3AFDEB4D8678E0.F9B2FB82A4C4C58F
[4734:4831:0219/143733.076004:ERROR:node_controller.cc(585)] Trying to re-add dropped peer DA3AFDEB4D8678E0.F9B2FB82A4C4C58F
[4737:5:0219/143756.049008:ERROR:node_controller.cc(585)] Trying to re-add dropped peer BAEEF19DADE4163.ADF5E459288EA0EC
*** stack smashing detected ***: terminated
*** stack smashing detected ***: terminated
*** stack smashing detected ***: terminated
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
[4737:5:0219/144203.194313:ERROR:node_controller.cc(585)] Trying to re-add dropped peer 8654AB0A08D0D0E3.17C3394533E3586
[4735:4754:0219/144203.194475:ERROR:node_controller.cc(585)] Trying to re-add dropped peer 8654AB0A08D0D0E3.17C3394533E3586
[4737:5:0219/144233.100484:ERROR:node_controller.cc(585)] Trying to re-add dropped peer 9485AC9C47B81EE8.9BE3177420C7AD0D
[4735:4754:0219/144233.100586:ERROR:node_controller.cc(585)] Trying to re-add dropped peer 9485AC9C47B81EE8.9BE3177420C7AD0D
[4737:5:0219/144234.405496:ERROR:node_controller.cc(585)] Trying to re-add dropped peer 64039531588697E8.17621EA0F5F9EFF8
[4737:5:0219/144313.028119:ERROR:node_controller.cc(585)] Trying to re-add dropped peer E9DBE42247EACA83.D23F1C0B86577670
[4737:5:0219/144316.866900:ERROR:node_controller.cc(585)] Trying to re-add dropped peer 2F0D4DB8E12664F.97ACDCB4364B5142
[4735:4754:0219/144318.374778:ERROR:node_controller.cc(585)] Trying to re-add dropped peer 7B4AA9D226FFA0F3.A9C7CBCDC4241DCD
[4737:5:0219/144318.883665:ERROR:node_controller.cc(585)] Trying to re-add dropped peer 68608785307B56CF.5592F01DEADCA006
Refusing to render service to dead parents.** (zeitgeist-datahub:2140): WARNING **: 14:45:48.808: zeitgeist-datahub.vala:207: Error during inserting events: GDBus.Error:org.gnome.zeitgeist.EngineError.InvalidArgument: Incomplete event: interpretation, manifestation and actor are required
** (zeitgeist-datahub:2140): WARNING **: 14:45:52.317: zeitgeist-datahub.vala:207: Error during inserting events: GDBus.Error:org.gnome.zeitgeist.EngineError.InvalidArgument: Incomplete event: interpretation, manifestation and actor are required
** (zeitgeist-datahub:2140): WARNING **: 14:47:04.093: zeitgeist-datahub.vala:207: Error during inserting events: GDBus.Error:org.gnome.zeitgeist.EngineError.InvalidArgument: Incomplete event: interpretation, manifestation and actor are required
(gdebi-gtk:24765): Gtk-WARNING **: 14:47:04.189: Theme parsing error: gtk-widgets.css:154:27: The style property GtkButton:image-spacing is deprecated and shouldn't be used anymore. It will be removed in a future version
(gdebi-gtk:24765): Gtk-WARNING **: 14:47:04.189: Theme parsing error: gtk-widgets.css:155:26: The style property GtkButton:inner-border is deprecated and shouldn't be used anymore. It will be removed in a future version
(gdebi-gtk:24765): Gtk-WARNING **: 14:47:04.190: Theme parsing error: gtk-widgets.css:585:27: The style property GtkButton:image-spacing is deprecated and shouldn't be used anymore. It will be removed in a future version
(gdebi-gtk:24765): Gtk-WARNING **: 14:47:04.190: Theme parsing error: gtk-widgets.css:586:28: The style property GtkWidget:interior-focus is deprecated and shouldn't be used anymore. It will be removed in a future version
(gdebi-gtk:24765): Gtk-WARNING **: 14:47:04.190: Theme parsing error: gtk-widgets.css:587:28: The style property GtkButton:default-border is deprecated and shouldn't be used anymore. It will be removed in a future version
(gdebi-gtk:24765): Gtk-WARNING **: 14:47:04.190: Theme parsing error: gtk-widgets.css:588:26: The style property GtkButton:inner-border is deprecated and shouldn't be used anymore. It will be removed in a future version
(gdebi-gtk:24765): Gtk-WARNING **: 14:47:04.191: Theme parsing error: gtk-widgets.css:1345:25: The style property GtkRange:slider-width is deprecated and shouldn't be used anymore. It will be removed in a future version
(gdebi-gtk:24765): Gtk-WARNING **: 14:47:04.191: Theme parsing error: gtk-widgets.css:1346:25: The style property GtkRange:stepper-size is deprecated and shouldn't be used anymore. It will be removed in a future version
(gdebi-gtk:24765): Gtk-WARNING **: 14:47:04.191: Theme parsing error: gtk-widgets.css:1347:34: The style property GtkScrollbar:min-slider-length is deprecated and shouldn't be used anymore. It will be removed in a future version
(gdebi-gtk:24765): Gtk-WARNING **: 14:47:04.191: Theme parsing error: gtk-widgets.css:1348:28: The style property GtkRange:stepper-spacing is deprecated and shouldn't be used anymore. It will be removed in a future version
(gdebi-gtk:24765): Gtk-WARNING **: 14:47:04.191: Theme parsing error: gtk-widgets.css:1349:34: The style property GtkRange:trough-under-steppers is deprecated and shouldn't be used anymore. It will be removed in a future version
Refusing to render service to dead parents.
Offline
here is a log of xsession-errors after a reboot and opening of deb file via gdebi
Offline
Read my EDIT, I found a (strange) solution.
Brianna Ghey — Rest In Power
Offline
just to make sure we are ion the same page:
1. Devuan 4.0 64bit XFCE4 standard
2. random .deb > instead of left click > right click > open with > open iwth other application > choose from "recommended applications" > gdebi package installer .
3. phoronix-test-suite_10.8.2_all.deb would say "Status: RequireS installation of 9 packages" > clicking "Install Package" > would result in window "going" away with no password being asked / no result.
therefore i cannnot reproduce your workaround here,
thank you very much.
Last edited by kapqa (2022-02-19 16:25:55)
Offline
alright, the trick seems to be to initiate the "other" opening within Firefox itself, then your "strange" routine would actually initiate the proper gdebi-password-routine,
however, if the same .deb file were to be opened solely upon within Thunar, this would not allow for the initiation of the password retrieval procedure?
Offline
What does firefox have to do with installing packages? Shouldn't packages be downloaded first and then installed separately? I'm probably missing something obvious . . .
Online
^ Yes, sorry, I didn't read the OP carefully enough.
To clarify: if I download a .deb using Firefox it offers to either save it or open it with an application. It is to this dialogue box I was referring in post #2.
No idea how to make it work with thunar though. Yet.
@OP: try using Firefox or gdebi-gtk directly instead until I figure this out.
Brianna Ghey — Rest In Power
Offline
Got it.
Create a file at /usr/local/bin/gdebi-gtk with this content:
#!/bin/sh
pkexec /usr/bin/gdebi-gtk "$@"
Then save the file and make it executable:
# chmod +x /usr/local/bin/gdebi-gtk
So now pkexec will ask for the password and authorise gdebi before it attempts to install the .deb.
It's a horrible hack and it shouldn't be needed. Perhaps consider opening a bug report about this.
Last edited by Head_on_a_Stick (2022-02-19 18:30:38)
Brianna Ghey — Rest In Power
Offline