BodhiThis forum is for the discussion of Bodhi Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I'm trying to install a DEB package by double clicking it.
Privileges in the file's properties are like this:
Show content: everybody
Change content: Owner only
Execute: Owner only
eSudo comes up with the command:
gdebi-gtk /Path/to/the/DEB
Below that, I enter my password and hit OK, but nothing happens.
I'm trying to install a DEB package by double clicking it.
Privileges in the file's properties are like this:
Show content: everybody
Change content: Owner only
Execute: Owner only
eSudo comes up with the command:
gdebi-gtk /Path/to/the/DEB
Below that, I enter my password and hit OK, but nothing happens.
What's wrong, please?
This happens if esudo is broken. Either reinstall esudo or use policy kit.
But anyways policy kit updates will always overwrite it as it is currently packaged. For what it matters I didn't package it and I recommend replacing with policy kit anyways. If you wish to use esudo and not pkexec then either stop policy kit stuff from updating or always reinstall esudo afterwards. I wish to avoid this problem in BL 6.0 but as it is already a done deal in BL 5.x I am uncertain how best to 'fix' it.
What on earth is this? Again and again, it is failing, which meanwhile is annoying as hell.
Sorry, but it is annoying, because each time, I have this issue, I fix it, and some weeks or months later, when I want to install an updated version of a DEB, I'm running into this again and again.
As far as I understood, I am supposed to install policykit-1-gnome on BL5-64bit, but now I'm on BL4.5-32bit (since I have two computers with different versions of Bodhi).
On BL4.5, I should reinstall esudo, right?... Well, I did that, but with no effect.
Btw. ... you think, some things are best unexplained? Sorry, I prefer to understand what's going on... (oh, and let me add, no offence intended, but actually, I prefer to be addressed not as "this guy", but by my name, respectively nick name in this case)
So, could you (or whoever is able or willing to) please tell me how to fix this for
a) BL4.5
b) BL5
and for both architectures, please, in case this makes any difference.
You not only have to install policykit, but also add it to startup programs. At least for BL5, and I have confirmed it works on 32-bit BL5 too. But, I also don't know if that applies to BL4.5.
But as a workaround, you can install debs with sudo apt install ./filename.deb. Or even sudo gdebi-gtk ./filename.deb prolly works too. And other apps like synaptic gparted grub-customizer etc you can sudo them from command line. I agree its annoying, but you can still function around it (as we all had to do until fairly recently).
a) In fact, I did add policykit (its agent) to the startup programs.
I just didn't mention this step, because I consider it part of the installation of the policykit.
The policykit solution does indeed work for BL5-64bit.
Not sure, if this is true for BL5-32bit as well,
because I don't have the 32bit version.
b) None of your suggestions to install a DEB is working on BL4.5-32bit.
The only chance to succeed is when I do:
a) In fact, I did add policykit (its agent) to the startup programs.
I just didn't mention this step, because I consider it part of the installation of the policykit.
The policykit solution does indeed work for BL5-64bit.
Not sure, if this is true for BL5-32bit as well,
because I don't have the 32bit version.
b) None of your suggestions to install a DEB is working on BL4.5-32bit.
The only chance to succeed is when I do:
Code:
sudo dpkg -i filename.deb
First of all there is going to be no difference between what works for 64 bit vs what works for 32 bit almost 100% of the time.
Second of all BL4.5 is unsupported and not maintained. Unless someone volunteers to take on BL 4.x maintenance or we receive a donation so larger Štefan and I can quit our jobs and work full time on Bodhi this is unlikely to change. If at all possible update to BL 5.0. If you can't update to BL 5.0 then the support you receive here is going to be variable. I personally can't waste my time looking at issues which are almost certainly self inflicted.
Third, it is unclear what issue you are even having. Are you saying doubling clicking on a deb file in pcmanfm fails to launch the esudo dialog which then launches gdebi? or that gdebi fails to launch after you type your password into esudo? Or do you mean something else.
I took the time to create a BL 4.5 VM, updated/upgraded the VM and gdebi is still working and is launched by esudo regardless of the policy kit thing (with or without it). That is because Jeffs package, gdebi-bodhi-launcher, is installed on BL 4.5 by default and it changes the gdebi desktop file.
As far as you saying, "Sorry, I prefer to understand what's going on.." that is understandable. Please take the time to learn linux. Whatever issue yo are having here, whatever you did to break your system would be a trivial thing to fix if you knew your way around linux and debian package management.
So explain in as much detail as you can what is going on what problem you are having. What version of esudo, gdebi and so on do you installed. Any error messages or errors in xsession-errors and so on.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.