LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 05-11-2019, 02:09 PM   #1
madmax25
Member
 
Registered: Aug 2018
Posts: 348

Rep: Reputation: Disabled
Xubuntu 18.04.2 - How to install a DEB by double-clicking that DEB, please?


In Ubuntu 16.04 based distros, when I double-clicked a DEB, usually Gdebi was started and it checked the dependencies.
Then I clicked the Install button within GDebi and the installation was performed.

Now, in Xubuntu 18.04.2, which is based on Ubuntu 18.04, this method doesn't work anymore
(probably, because gksu was abandoned in Ubuntu 18.04, I guess).
Instead of this, I double-click the DEB, GDebi starts, checks the dependencies, but when I click the Install button,
GDebi closes immediately, without any error message, without a password query or any hint about what's going on.

I know, I can install a DEB using the terminal, but I'm looking for the described method.
What can I do to make it work again, please?

Last edited by madmax25; 05-11-2019 at 04:35 PM.
 
Old 05-11-2019, 02:25 PM   #2
hydrurga
LQ Guru
 
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 21 MATE
Posts: 8,048
Blog Entries: 5

Rep: Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925
What you're describing *should* still work in 18.04.

Try reinstalling gdebi with:
Code:
sudo apt-get --reinstall install gdebi
If that doesn't work, then do the following:
Code:
sudo dpkg -i filename.deb
and paste the output here.
 
Old 05-11-2019, 02:51 PM   #3
madmax25
Member
 
Registered: Aug 2018
Posts: 348

Original Poster
Rep: Reputation: Disabled
Using...
Code:
sudo dpkg -i filename.deb
...in the terminal did work flawlessly, but actually, this isn't the problem.

The only thing that doesn't work is when I double-click a .DEB.
In that moment, GDebi is supposed to start, to check for dependencies and after clicking the Install button,
to perform the installation, after the password query.

Instead of this, GDebi is closing immediately, after the Install button was clicked.
There's no password query either.

Here*s the wanted output, btw.:

Code:
sudo dpkg -i tvbrowser_4.0.1-1_all.deb
(Reading database ... 189459 files and directories currently installed.)
Preparing to unpack tvbrowser_4.0.1-1_all.deb ...
Unpacking tvbrowser (4.0.1-1) over (4.0.1-1) ...
Setting up tvbrowser (4.0.1-1) ...
Processing triggers for gnome-menus (3.13.3-11ubuntu1.1) ...
Processing triggers for desktop-file-utils (0.23-1ubuntu3.18.04.2) ...
Processing triggers for mime-support (3.60ubuntu1) ...

Last edited by madmax25; 05-11-2019 at 03:04 PM.
 
Old 05-11-2019, 03:20 PM   #4
hydrurga
LQ Guru
 
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 21 MATE
Posts: 8,048
Blog Entries: 5

Rep: Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925
Thanks. I get that the command line isn't the issue - I just wanted to see if it was dpkg that was causing the problem that was resulting in gdebi not doing what it was supposed to.

Did you reinstall gdebi as I suggested?

Once you've done that, let's try running gdebi from the command line and see if it produces any errors:

Code:
sudo gdebi package.deb
 
Old 05-11-2019, 03:31 PM   #5
madmax25
Member
 
Registered: Aug 2018
Posts: 348

Original Poster
Rep: Reputation: Disabled
Yes, I reinstalled GDebi and this is the output

Code:
sudo gdebi tvbrowser_4.0.1-1_all.deb
Reading package lists... Done
Building dependency tree        
Reading state information... Done
Reading state information... Done

Digital TV Guide
 Themeable and easy to use TV Guide - written in Java.
Do you want to install this package? [y/N]:y
(Reading database ... 189459 files and directories currently installed.)
Preparing to unpack tvbrowser_4.0.1-1_all.deb ...
Unpacking tvbrowser (4.0.1-1) over (4.0.1-1) ...
Setting up tvbrowser (4.0.1-1) ...
Processing triggers for gnome-menus (3.13.3-11ubuntu1.1) ...
Processing triggers for desktop-file-utils (0.23-1ubuntu3.18.04.2) ...
Processing triggers for mime-support (3.60ubuntu1) ...
 
Old 05-11-2019, 03:39 PM   #6
hydrurga
LQ Guru
 
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 21 MATE
Posts: 8,048
Blog Entries: 5

Rep: Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925
Right, a search on the web for gdebi closes immediately when install pressed turns up the following page (and similar ones):

https://bugs.launchpad.net/ubuntu/+s...i/+bug/1760910

What a mess. It certainly works fine in Mint 19.x, based on 18.04, and I'm surprised that if it's affecting all users of 18.04 that there hasn't been a bigger noise about it.

Anyway, the suggested fix in post #12 on that thread looks appealing (I use lxqt-sudo as well but for different purposes). Give it a go.
 
Old 05-11-2019, 04:34 PM   #7
madmax25
Member
 
Registered: Aug 2018
Posts: 348

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by hydrurga View Post
What a mess.
You're so absolutely right!
I definitely agree to that!
All of this just because gksu was abandoned.

Indeed, the package lxqt-sudo seems to fix it, but wow, this was quite a huge installation
(well maybe because I added the language pack lxqt-sudo-l10n as well).
Hopefully, this installation will not have any unexpected side effects.

Thank you very much.

Last edited by madmax25; 05-11-2019 at 04:39 PM.
 
Old 05-11-2019, 04:44 PM   #8
hydrurga
LQ Guru
 
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 21 MATE
Posts: 8,048
Blog Entries: 5

Rep: Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925
Quote:
Originally Posted by madmax25 View Post
You're so absolutely right!
I definitely agree to that!
All of this just because gksu was abandoned.

Indeed, the package lxqt-sudo seems to fix it, but wow, this was quite a huge installation
(well maybe because I added the language pack lxqt-sudo-l10n as well).
Hopefully, this installation will not have any unexpected side effects.
Let us know if you do experience any, but I think that it is unlikely.

In essence, gdebi should have had a polkit policy added when gksu was removed. Why it hasn't been done in this case, or isn't configured correctly, I have no idea. Perhaps someone else can provide that info. But at least you have a working system.

You can mark the thread as "Solved" if you want (see "Thread Tools" at the top of this thread).
 
Old 05-12-2019, 03:30 AM   #9
madmax25
Member
 
Registered: Aug 2018
Posts: 348

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by hydrurga View Post
In essence, gdebi should have had a polkit policy added when gksu was removed.
Sounds like this is exactly the information, I'm looking for.

I think, I better wait for that, before I mark this thread as solved.

Maybe, there's somebody around, knowing what to do about this polkit policy?!

Last edited by madmax25; 05-12-2019 at 05:48 AM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to automate the use of "gdebi-gtk" package, double-clicking on deb's? maiden2 Ubuntu 2 11-03-2008 01:44 AM
mozilla not opening on double clicking..? metoome Linux - Newbie 1 03-11-2004 06:37 PM
"RPM -uvh ..." vs Double Clicking 'Install' free_andrew Linux - Software 1 12-07-2003 07:28 PM
File Manager and Double-clicking Jongi Linux - Newbie 3 09-04-2003 10:28 AM
Running .sh script by double clicking? pilot1 Linux - General 2 03-29-2003 11:41 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu

All times are GMT -5. The time now is 05:41 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration