Error installing Google chrome on debian linux - google-chrome

I am getting the following error when I try to install Google chrome on debian linux -
Google-chrome-stable depends on libnspr4-0d (>= 4.7.3-0ubuntu1~) | libnspr4 (>= 4.8.7-0ubuntu1); however:
Version of libnspr4-0d on system is 4.7.1-5.
Package libnspr4 is not installed.
So to install libnspr4 I tried sudo apt-get install libnspr4 and I get this error -
Package libnspr4 is not available, but is referred to by another
package. This may mean that the package is missing, has been
obsoleted, or is only available from another source E: Package
libnspr4 has no installation candidate
How do I proceed from here?

See if chromium-browser is in your repo (apt-cache search chromium-browser). If so, that's what you want.

Related

Spyder not Detecting Pygame Module [duplicate]

I have following issue of installing pygame package.
In file included from src/_numericsurfarray.c:23:
src/pygame.h:106:10: fatal error: 'SDL.h' file not found
#include <SDL.h>
^
1 error generated.
error: Setup script exited with error: command 'gcc' failed with exit status 1
System information
Mac OS-10.9.2
python version- Python 2.7.5 :: Anaconda 1.6.1 (x86_64)
Any suggestion will be greatly appreciate ? Thanks.
Here (OSX Mavericks) I got able to install this way:
brew install sdl sdl_image sdl_mixer sdl_ttf portmidi
pip install https://bitbucket.org/pygame/pygame/get/default.tar.gz
("default" branch is on commit e3ae850 right now)
Source: https://bitbucket.org/pygame/pygame/issue/139/sdlh-not-found-even-thought-it-exists#comment-3822470
See this other StackOverflow question too: PyGame in a virtualenv on OS X with brew?
I had the same issue. I tried all versions of the answers to this question including variations of pip and pip3. Finally, the one that worked for me was:
sudo easy_install pygame
Note, however, that: (1) https://setuptools.readthedocs.io/en/latest/easy_install.html says that easy_install is deprecated and recommends using pip. (2) pygame is installed in the old standard python 2.7 folder rather than in the python 3.8.3 that I just installed -- though I was able to use it successfully in VSCode.
My system is also OSX10.9.2,and I also meet you problem,and I'm still try some;
Maybe this will be help for you:
there are some step:
1.Install [Quartz](https://xquartz.macosforge.org/landing/);
2.Install Xcode-Command-Line,
but you may cant install it by `xcode-select --install`,
so you can down from
https://developer.apple.com/downloads/index.action ;
I suggest you setup xcode,and this really solute my some problem;
3.`brew tap homebrew/headonly`
`brew install smpeg --HEAD`
`brew install sdl sdl_image sdl_mixer sdl_ttf portmidi`
4. `sudo pip install hg+http://bitbucket.org/pygame/pygame`;
if you clone this repo and try `python setup.py install`,you may meet some weird problem;
I have try install kivy which is base on pygame and I try lots of times,but just success install pygame one time.Then I uninstall it and also can't install it ;(
some refer:
http://jamesfriend.com.au/installing-pygame-python-mac-os-108-mountain-lion
http://juliaelman.com/blog/2013/04/02/installing-pygame-on-osx-mountain-lion/
=======update
Now I have install pygmae sucess,remeber you should install xcode,not only xcode-command-line!
I managed to install pygame on Mac OSX 10.14.4 using the following:
brew install sdl sdl_image sdl_mixer sdl_ttf portmidi
sudo -H pip3.8 install pygame
This Work for me:
If you haven't installed Python/pip via homebrew (you're using the system-installed Python), you would likely need to run sudo pip3 install pygame.
Before running  pip3 install pygame, I had also installed Command Line Tools for XCode), as well as XQuartz, and the following homebrew packages: brew install sdl sdl_image sdl_mixer sdl_ttf smpeg portmidi.
If homebrew fails to install smpeg you might need to do the following:
brew tap homebrew/headonly
brew install --HEAD smpeg
Source: http://jamesfriend.com.au/installing-pygame-python-mac-os-108-mountain-lion

ERROR: DTC (libfdt) version >= 1.4.2 not present. Please install the DTC (libfdt) devel package

I am trying to compile qemu from source, I'm trying to install qemu for hisilicon, but when I run ./configure I receive the error
ERROR: DTC (libfdt) version >= 1.4.2 not present.
Please install the DTC (libfdt) devel package
I have already installed qemu
sudo apt-get install -y qemu-kvm qemu virt-manager virt-viewer libvirt-bin
and I've already installed libfdt
sudo apt install libfdt-dev
But I'm still getting this message.
How can I install libfdt?
To fix this issue:
I cloned dtc from its repository and extracted the tarball to qemu/dtc/.
Compiled dtc from source first using make
Restarted configuring qemu.
The problem was qemu tries to search for dtc binaries in qemu/dtc. Even if you have installed dtc using sudo apt-get install device-tree-compiler, you will get the above error(mentioned in the question), so you probably need to have the binaries in qemu/dtc.

Zenoss core installation compatibility issue with MySQL

I am facing an issue between the Zenoss core installation and MySQL rpms.
The Zenoss core installation won't complete, complaining about mysql-client and mysql-shared versions, even though I have newer versions installed. As suggested in this Quest/answer ,
I also tried to install a 5.5.41 client package but it did not change anything. Here's the situation:
[root#bstfe1032 Zenoss]# yum -y --nogpgcheck localinstall zenoss-4.2.0.el6.x86_64.rpm
[...]
--> Finished Dependency Resolution
Error: Package: zenoss-4.2.0-1586.el6.x86_64 (/zenoss-4.2.0.el6.x86_64)
Requires: mysql-client >= 5.5.13
Error: Package: zenoss-4.2.0-1586.el6.x86_64 (/zenoss-4.2.0.el6.x86_64)
Requires: mysql-shared >= 5.5.13
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
[root#bstfe1032 Zenoss]# rpm -qa|grep -i mysql
MySQL-client-5.6.22-1.el6.x86_64
MySQL-server-5.6.22-1.el6.x86_64
MySQL-shared-5.6.22-1.el6.x86_64
The Zenoss core install doc points to MySQL packages from mysql.org and this is where I got them.
Any idea of what I should try next ? I am using CentOS 6, this is a testbed and not a production machine because I wanted to give Zenoss core a test drive.
You are mixing "old" packages (zenoss-4.2.0) with too new one (MySQL 5.6) and it's not probably handled correctly in Zenoss core packages.
The best option for you is to use autodeploy script - https://github.com/zenoss/core-autodeploy/blob/4.2.5/core-autodeploy.sh
It will download last Zenoss packages from http://sourceforge.net/projects/zenoss/files/zenoss-4.2/zenoss-4.2.5/
and MySQL packages from ftp://mirror.anl.gov/pub/mysql/Downloads/MySQL-5.5/
See http://wiki.zenoss.org/Install_Zenoss for more information.

Not able to install postgresql-plperl-8.4 on Ubuntu Trusty 14.04

I have recently had a problem installing postgresql-plperl-8.4 on the new Ubuntu 14.04 distribution. When I tried to install it, it gave me this error:
postgresql-plperl-8.4 depends on libperl5.10 (>= 5.10.1);
however: Package libperl5.10 is not installed.
Using dpkg to check the depency also gives:
Depends: libc6 (>= 2.4), libperl5.10 (>= 5.10.1), postgresql-8.4 (= 8.4.21-1.pgdg10.4+1), perl
Fine, then I checked what version of libperl is installed on 14.04 using dpkg by running:
dpkg --search libperl
Then I got results shown below:
libperl5.18: /usr/share/doc/libperl5.18
libperl5.18: /usr/share/lintian/overrides/libperl5.18
which clearly suggests that I have libperl installed with a version that satisfies the need for postgresql-plperl-8.4 and yet it is giving me errors. Can anyone help?
https://askubuntu.com/questions/457726/failure-to-install-postgresql-plperl-8-4-on-ubuntu-14-04

Installing datamapper mysql dm-mysql-adapter on redhat

I'm trying to move a small Sinatra app I have going on an Ubuntu box to a redhat box.
While installing gems, I get a "Can't build native extension" error while trying to install the gem dm-mysql-adapter.
I have mysql-devel installed, which I believe is the required library, but it doesn't seem to work.
All the info I can find online is for Ubuntu and says installing libmysqlclient-dev (which doesn't exist for Redhat; again, I believe mysql-devel is the appropriate package).
Any advice for someone using redhat?
you have the correct package "mysql-devel-5.1.48-1" but the gem installs fine on my centos5 box without the package installed, you could try the ruby-mysql gem instead.
[11:13:01][root#HOST:~]# gem search mysql
*** LOCAL GEMS ***
[11:13:03][root#HOST:~]# rpm -qa | grep -i mysql
perl-DBD-MySQL-3.0007-2.el5
mysql-5.0.77-4.el5_5.4
[11:13:11][root#HOST:~]# gem install mysql
Building native extensions. This could take a while...
Successfully installed mysql-2.8.1
1 gem installed
Installing ri documentation for mysql-2.8.1...
...
[11:13:22][root#HOST:~]#