GDebI refusing to render service to dead parents - linux

I am using GDebI 0.9.5.7 to one-click install .deb packages and it's my opening program default for .deb files. My browser is Mozilla Firefox 58.0.2. I use Ubuntu 17.10 with XFCE.
When I try to open a .deb package downloaded in firefox with gdebi and click on Install Package, the gdebi instantly closes. However, if I open gdebi directly and open the .deb with it, the instalation goes as normal.
I run firefox on terminal to see any uncommon output in that scenario. And, check this out, at the moment I click on "Install Package" on gdebi opened by firefox it says "Refusing to render service to dead parents." on terminal.
I already searched for this sentence. And even went through a russian forum with the help of Google Translate and nothing. I already purged and installed it via apt. Still the same.
Does anyone know how to help me?

Related

How can I set a flatpak application to run on startup?

I wanted to post this because I didn't find the answer elsewhere and this might just help someone else.
I have Slack installed on my Ubuntu 18.04 Bionic Beaver via FlatPak and would like to have it launch as soon as I login.
Because it is installed via FlatPak, I cannot find it in /usr/share/applications in order to add it to startup applications
You need to install FlatPak applications via Gnome Tweaks. If you haven't already installed Gnome tweaks then run
sudo apt install gnome-tweaks
Launch Gnome Tweaks and navigate to "Startup Applications".
The flatPak applications are easily found from here.
You could add an entry to your .gnomerc, .Xinitrc etc such as
snap run (program)

How to install ChromeDriver in RedHat Linux?

I am trying to use selenium on RHEL(Red Hat).
In order to use Chrome browser, I need to install the chromedriver.
Does anyone know how to install this, or what command I need to use? I did not find any resources on this that worked.
Really appreciate any help.
Thank you.
I followed a process which worked for me.
I am using Redhat 7.4, and I've been through a lot to uninstall and install chrome and firefox, got partially successful with chrome and this is what I tried.
In the Linux terminal
Go to the root by typing
su -
Then type
rpm -qa
then (ctrl+f) and search for the keywords "google" or " chrome" or "mozilla" or "firefox" to check whether they are present or not and if they are available, then uninstall( remove ) them by the following command ( if you want to remove them )
yum remove (theWholeName)
this removes the application
Then install chrome by the following process
type this in terminal
wget
https://dl.google.com/linux/direct/google-chrome-stable_current_x86_64.rpm
then a package gets downloaded in your home folder
Then type the following command - this installs the packages
yum -y install (name of the downloaded folder with extension)
in this case it will be
yum -y install google-chrome-stable_current_x86_64.rpm
This installs google chrome and creates an icon under Application->Internet->googleChrome
IMPportant:
technically, by clicking this googlechrome icon- this should open the browser, but it doesn't open the browser for me, I dont know whats the problem and I appreciate any suggestion regarding this issue.
I open google chrome through terminal using this command
google-chrome --no-sandbox
this opens the chrome browser.

How to resolve Unmet dependencies issue in Ubuntu 14.04

Recently, I tried to download the Google Chrome in Ubuntu. But I couldn't installed it correctly. Now I am getting a red minus sign in upper right corner, stating that I have unmet dependencies. I tried to run the following command:
apt-get install -f
I got this output:
E: Could not open lock file /var/lib/dpkg/lock - -open(13: Permission denied)
E:Unable to lock the administration directory (/var/lib/dpkg/), are you root?
Please help. I am new to Ubuntu. so please explain what exactly I did wrong initially, and what is this all about?
The error you are getting is common for one of two reasons:
You didn't run the command as root (should be sudo apt-get install -f google-chrome)
You have an updater open somewhere else (hence the lock).
I would try the command above with all other programs closed if that doesn't work see this post on the Ubuntu SO (which is where you should post your Ubuntu questions from now on, BTW) on how to install Google Chrome.
Good luck!

Debian wheezy - lost gnome during install

Upgraded dist, no problem, although lost xbmc, found documentation saying to include additional source for xbmc as install wasn't working.
installed xbmc not realising it's completely replaced/up/down graded dist.
Needless to say I've lost gnome and samba config has been modified. i can fix after i get desktop back, packages are still there but no longer referenced.
when i try an apt-get install gnome i get a lot of message about Dependants and how they're not going to be installed.
any help appreciated.
Try sudo aptitude install gnome-desktop-environment, review solution and do not accept it until you're happy with what's going to be installed/removed.

Installing additional packages for Cygwin

To install additional packages for Cygwin, do I just need to run the setup.exe again and choose from the packages list?
Also, doing this won't harm my computer in terms of 2 Cygwin instances being installed or problems of that kind (I'm kind of a noobie with these things).
Last, there is no package manager in Cygwin which you can run in the command line? Something similar to Pip in Python.
No, adding additional packages doesn’t modify the current settings. There is a
package manager called apt-cyg which installes additional packages from
command-line. To install apt-cyg follow the below steps:
wget rawgit.com/transcode-open/apt-cyg/master/apt-cyg
install apt-cyg /bin
Note: wget should be installed for downloading the apt-cyg. To Use apt-cyg for
installing additional package (after following the above steps):
apt-cyg install ncurses
No, it doesn't hurt the current setup. The install program knows what's installed already.
Having said that, I long ago got into the habit of installing all of Cygwin since, despite its size, it's still minuscule compared to the size of modern hard disks. That way, you won't ever have to worry about whether a package is installed or not.
Re-run the setup executable like "cygwin_setup-x86_64.exe" should do it.
"Install from Internet"
Accept your existing root directory (from your existing installation)
Use your existing "Local Package Directory"
On the screen, view "Full"
Search for the new package you want to add
Go through the installation
Additional option, may be helpful for someone:
To install additional packages in windows from windows command line you can use your cygwin installer.
I suppose, you've already downloaded it to install cygwin from here https://cygwin.com/install.html.
$ setup-x86_64.exe -q -P graphviz
see this guide for details:
http://preshing.com/20141108/how-to-install-the-latest-gcc-on-windows/
There is no package management in Cygwin outside of the setup program. The setup only applies updates to your current installation, it does not overwrite packages than what you already have.
So if you want new packages just rerun the setup program to install packages.
You can just look for the package binaries and decompress them in the C:\cygwin\bin folder.
I did that for dos2unix ( https://cygwin.com/packages/summary/dos2unix.html ) and trying it out now.

Resources