Errors when instaling chrome - google-chrome

I am trying to install Chrome on RHEL 7 (64bit) machine but it's showing some errors.
Finished Dependency Resolution
Error: Package: google-chrome-stable-63.0.3239.108-1.x86_64
(google-chrome)
Requires: libnss3.so(NSS_3.22)(64bit) Error: Package: google-chrome-stable-63.0.3239.108-1.x86_64 (google-chrome)
Requires: libssl3.so(NSS_3.28)(64bit) You could try using --skip-broken to work around the problem You could try running: rpm -Va --nofiles --nodigest
Please help me.

Related

session not created: This version of ChromeDriver only supports Chrome version 79 with Octopus

I'm trying to run "ng e2e" command with octopus with following configuration but getting below error all the time:
[07:20:37] E/launcher - session not created: This version of ChromeDriver only supports Chrome version 79
(Driver info: chromedriver=79.0.3945.16 (93fcc21110c10dbbd49bbff8f472335360e31d05-refs/branch-heads/3945#{#262}),platform=Windows NT 10.0.14393 x86_64)
[07:20:37] E/launcher - SessionNotCreatedError: session not created: This version of ChromeDriver only supports Chrome version 79
(Driver info: chromedriver=79.0.3945.16 (93fcc21110c10dbbd49bbff8f472335360e31d05-refs/branch-heads/3945#{#262}),platform=Windows NT 10.0.14393 x86_64)
at Object.checkLegacyResponse (D:\a\1\s\node_modules\selenium-webdriver\lib\error.js:546:15)
at parseHttpResponse (D:\a\1\s\node_modules\selenium-webdriver\lib\http.js:509:13)
at D:\a\1\s\node_modules\selenium-webdriver\lib\http.js:441:30
at processTicksAndRejections (internal/process/task_queues.js:93:5)
From: Task: WebDriver.createSession()
at Function.createSession (D:\a\1\s\node_modules\selenium-webdriver\lib\webdriver.js:769:24)
at Function.createSession (D:\a\1\s\node_modules\selenium-webdriver\chrome.js:761:15)
at Direct.getNewDriver (D:\a\1\s\node_modules\protractor\built\driverProviders\direct.js:77:33)
at Runner.createBrowser (D:\a\1\s\node_modules\protractor\built\runner.js:195:43)
at D:\a\1\s\node_modules\protractor\built\runner.js:339:29
at _fulfilled (D:\a\1\s\node_modules\protractor\node_modules\q\q.js:834:54)
at D:\a\1\s\node_modules\protractor\node_modules\q\q.js:863:30
at Promise.promise.promiseDispatch (D:\a\1\s\node_modules\protractor\node_modules\q\q.js:796:13)
at D:\a\1\s\node_modules\protractor\node_modules\q\q.js:556:49
at runSingle (D:\a\1\s\node_modules\protractor\node_modules\q\q.js:137:13)
[07:20:37] E/launcher - Process exited with error code 199
An unexpected error occurred: undefined
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! rebar-spa-v2-template#0.0.3 e2e: `ng e2e`
Configuration is:
user-agent = "npm/6.12.1 node/v12.13.1 win32 x64"
Protractor.conf.js:
capabilities: {
'browserName': 'chrome',
chromeOptions: {
args: ['--headless', '--disable-gpu', '--window-size=800,600']
}
},
Package.json: tried with both of solution
postinstall: webdriver-manager update --versions.chrome 79.0.3945.36
or
postinstall: cd ./node_modules/protractor && npm i webdriver-manager#latest
Any help will be appreciated.
This error message...
session not created: This version of ChromeDriver only supports Chrome version 79 (Driver info: chromedriver=79.0.3945.16 (93fcc21110c10dbbd49bbff8f472335360e31d05-refs/branch-heads/3945#{#262}),platform=Windows NT 10.0.14393 x86_64)
...implies that the ChromeDriver was unable to initiate/spawn a new Browsing Context i.e. Chrome Browser session.
Your main issue is the incompatibility between the version of the binaries you are using as follows:
You are using chromedriver=79.0.3945.16
Release Notes of chromedriver=79.0.3945.16 clearly mentions the following :
Supports Chrome v79
Presumably you are using a Chrome with a version other then chrome= 79.0
Possibly the following command fails:
webdriver-manager update --versions.chrome 79.0.3945.36
So there is a clear mismatch between the ChromeDriver v79.0 and your current Chrome Browser
Solution
Ensure the following mentioned steps will solve the issue:
You may need to clean up once:
webdriver-manager clean
You have the latest version of webdriver-manager and you can install the same using the command:
webdriver-manager#latest --save
Execute the following command will solve your issue:
webdriver-manager update
Upgrade Chrome to the latest stable release:
webdriver-manager update --versions.chrome 79.0.3945.88
I got this message when my system downloaded Chrome 90 in the background, even though my browser still said 89 (to be fair it was prompting me to update). I tried a few things but in the end I just ran npm uninstall chromedriver and then npm install chromedriver and everything started working again. Not ideal but I'm happy my tests are able to run.
EDIT:
I noticed that running the above commands updated my package.json file so it now said "chromedriver": "^90.0.0" in it. I'm guessing I could have made that version change myself and run npm install chromedriver to download the updated driver file. I'll try that next time.
The reason for me was that chromedriver was installed globally. Need just do npm i chromedriver -g

Centos - yum update throws postfix error by dependencies

I have a fresh centos 7 installation at azure.com and I decided to install a web server, but I'm new with Centos so I decided to follow the Digital Ocean guide How to install MySQL.
The problem is that when I use yum update it throws this error:
Error: Package: 2:postfix-2.6.6-8.el6.x86_64 (#base)
Requires: libmysqlclient.so.16()(64bit)
Removing: mysql-libs-5.1.73-8.el6_8.x86_64 (#updates)
libmysqlclient.so.16()(64bit)
Obsoleted By: mysql-community-libs-5.7.19-1.el7.x86_64 (mysql57-
community)Not found
Error: Package: mysql-community-libs-compat-5.7.19-1.el7.x86_64 (mysql57-
community)
Requires: libc.so.6(GLIBC_2.17)(64bit)
Error: Package: mysql-community-libs-5.7.19-1.el7.x86_64 (mysql57-community)
Requires: libc.so.6(GLIBC_2.14)(64bit)
Error: Package: 2:postfix-2.6.6-8.el6.x86_64 (#base)
Requires: libmysqlclient.so.16(libmysqlclient_16)(64bit)
Removing: mysql-libs-5.1.73-8.el6_8.x86_64 (#updates)
libmysqlclient.so.16(libmysqlclient_16)(64bit)
Obsoleted By: mysql-community-libs-5.7.19-1.el7.x86_64 (mysql57-
community)
Not found
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
What do I have to do to restore the dependencies?
As you can see the package is Obsoleted.
Search for the mysql and install from the found results.
do
yum search mysql
and select the version from the list.

Package cuda-license-7-5 is obsoleted by cuda-libs

I am installing cuda-repo-rhel7-7-5-local-7.5-18.x86_64.rpm
When I executed yum install cuda the error seems to be related to
Package cuda-license-7-5 is obsoleted by cuda-libs, but obsoleting package does not provide for requirements
I tried the suggestions but they didn't work.
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
the output of
$ uname -m && cat /etc/*release
x86_64
CentOS Linux release 7.2.1511 (Core)
NAME="CentOS Linux"
VERSION="7 (Core)"
ID="centos"
ID_LIKE="rhel fedora"
VERSION_ID="7"
PRETTY_NAME="CentOS Linux 7 (Core)"
ANSI_COLOR="0;31"
CPE_NAME="cpe:/o:centos:centos:7"
HOME_URL="https://www.centos.org/"
BUG_REPORT_URL="https://bugs.centos.org/"
CENTOS_MANTISBT_PROJECT="CentOS-7"
CENTOS_MANTISBT_PROJECT_VERSION="7"
REDHAT_SUPPORT_PRODUCT="centos"
REDHAT_SUPPORT_PRODUCT_VERSION="7"
CentOS Linux release 7.2.1511 (Core)
CentOS Linux release 7.2.1511 (Core)
the full output install:
$ sudo yum install cuda
Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
* base: mirror.cs.vt.edu
* epel: download-ib01.fedoraproject.org
* extras: mirrors.lga7.us.voxel.net
* nux-dextop: mirror.li.nux.ro
* rpmforge: mirror.us.leaseweb.net
* rpmforge-extras: mirror.us.leaseweb.net
* updates: mirror.es.its.nyu.edu
Resolving Dependencies
--> Running transaction check
---> Package cuda.x86_64 1:7.5.18-3.el7.nux will be installed
--> Processing Dependency: cuda-libs(x86-64) = 1:7.5.18-3.el7.nux for package: 1:cuda-7.5.18-3.el7.nux.x86_64
--> Processing Dependency: libnvvm.so.3()(64bit) for package: 1:cuda-7.5.18-3.el7.nux.x86_64
--> Running transaction check
---> Package cuda-libs.x86_64 1:7.5.18-3.el7.nux will be installed
--> Processing Dependency: libcuda.so.1()(64bit) for package: 1:cuda-libs-7.5.18-3.el7.nux.x86_64
--> Running transaction check
---> Package cuda-driver-dev-7-5.x86_64 0:7.5-18 will be installed
--> Processing Dependency: cuda-license-7-5 = 7.5-18 for package: cuda-driver-dev-7-5-7.5-18.x86_64
Package cuda-license-7-5 is obsoleted by cuda-libs, but obsoleting package does not provide for requirements
--> Finished Dependency Resolution
Error: Package: cuda-driver-dev-7-5-7.5-18.x86_64 (cuda-7-5-local)
Requires: cuda-license-7-5 = 7.5-18
Installing: 1:cuda-libs-7.5.18-3.el7.nux.x86_64 (nux-dextop)
cuda-license-7-5 = 1:7.5.18-3.el7.nux
Available: cuda-license-7-5-7.5-18.x86_64 (cuda-7-5-local)
cuda-license-7-5 = 7.5-18
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
By default, CentOS 7 tries to download cuda7.5 (I guess it is seen by CentOs as the latest stable release)
sudo yum install cuda-devel
...
Package cuda-license-7-5 is obsoleted by cuda-libs, but obsoleting package does not provide for requirements
Instead, just install the cuda-8-0 package!
sudo yum install cuda-8-0
It does not depend on the obsolete cuda-license-7-5 package.
Note: at the end of the installation, I had some issues with the key, this can be avoided with (not recommended)
sudo yum install cuda-8-0 --nogpgcheck

Fedora - Can't install/update VLC [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 6 years ago.
Improve this question
Initially, I was trying to update VLC. I ended up uninstalling it to reinstall it.
Typing yum install vlc outputs :
--> Finished Dependency Resolution
Error: Package: 1:vlc-core-2.2.2-4.el7.nux.x86_64 (nux-dextop)
Requires: libfreerdp-gdi.so.1.0()(64bit)
Error: Package: 1:vlc-core-2.2.2-4.el7.nux.x86_64 (nux-dextop)
Requires: libliveMedia.so.17()(64bit)
Available: live555-2013.11.26-1.el7.nux.x86_64 (nux-dextop)
libliveMedia.so.17()(64bit)
Installed: live555-2014.10.21-1.fc21.x86_64 (#rpmfusion-free)
~libliveMedia.so.36()(64bit)
Error: Package: 1:vlc-core-2.2.2-4.el7.nux.x86_64 (nux-dextop)
Requires: libfreerdp-codec.so.1.0()(64bit)
Error: Package: 1:vlc-core-2.2.2-4.el7.nux.x86_64 (nux-dextop)
Requires: libfreerdp-core.so.1.0()(64bit)
Error: Package: 1:vlc-core-2.2.2-4.el7.nux.x86_64 (nux-dextop)
Requires: libgcrypt.so.11()(64bit)
Error: Package: 1:vlc-core-2.2.2-4.el7.nux.x86_64 (nux-dextop)
Requires: libUsageEnvironment.so.1()(64bit)
Available: live555-2013.11.26-1.el7.nux.x86_64 (nux-dextop)
libUsageEnvironment.so.1()(64bit)
Installed: live555-2014.10.21-1.fc21.x86_64 (#rpmfusion-free)
~libUsageEnvironment.so.2()(64bit)
Error: Package: 1:vlc-core-2.2.2-4.el7.nux.x86_64 (nux-dextop)
Requires: libfreerdp-rail.so.1.0()(64bit)
Error: Package: 1:vlc-core-2.2.2-4.el7.nux.x86_64 (nux-dextop)
Requires: libgroupsock.so.1()(64bit)
Available: live555-2013.11.26-1.el7.nux.x86_64 (nux-dextop)
libgroupsock.so.1()(64bit)
Installed: live555-2014.10.21-1.fc21.x86_64 (#rpmfusion-free)
~libgroupsock.so.4()(64bit)
Error: Package: 1:vlc-core-2.2.2-4.el7.nux.x86_64 (nux-dextop)
Requires: libfreerdp-utils.so.1.0()(64bit)
Error: Package: 1:vlc-2.2.2-4.el7.nux.x86_64 (nux-dextop)
Requires: libprojectM.so.2()(64bit)
Error: Package: 1:vlc-core-2.2.2-4.el7.nux.x86_64 (nux-dextop)
Requires: libfreerdp-kbd.so.1.0()(64bit)
Error: Package: 1:vlc-core-2.2.2-4.el7.nux.x86_64 (nux-dextop)
Requires: libfreerdp-channels.so.1.0()(64bit)
Error: Package: 1:vlc-core-2.2.2-4.el7.nux.x86_64 (nux-dextop)
Requires: libdvbpsi.so.7()(64bit)
Available: libdvbpsi-0.2.2-3.el7.nux.x86_64 (nux-dextop)
libdvbpsi.so.7()(64bit)
Installed: libdvbpsi-1.2.0-3.fc21.x86_64 (#rpmfusion-free-updates)
~libdvbpsi.so.9()(64bit)
Available: libdvbpsi-1.2.0-1.fc21.x86_64 (rpmfusion-free)
~libdvbpsi.so.9()(64bit)
Error: Package: 1:vlc-core-2.2.2-4.el7.nux.x86_64 (nux-dextop)
Requires: libgcrypt.so.11(GCRYPT_1.2)(64bit)
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
Here is the output of uaname -a :
Linux happydev 4.1.13-100.fc21.x86_64 #1 SMP Tue Nov 10 13:13:20 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
I am willing to move forward, but I am not sure what to do, nor what to DuckDuckGo for. Any suggestion is most welcome !
EDIT
Most probably, the reason is that Fedora 21 is no longer maintaining its dependency to VLC. I am upgrading to Fedora 23 and will post the outcome here.
Yes, upgrading the from Fedora 21 to Fedora 23 solved the issue
To make your answer more complete, there are few things wrong:
Fedora 21 is EOL and therefore there are no more packages in the mirrors. Updating to Fedora 23 is very advisable.
You are using .el7 (RHEL7/CentOS7) packages, which might not be compatible with what you get from Fedora repositories. You should check the source of these packages and update your software sources in /etc/yum.repos.d/ not to use CentOS repository, but Fedora one.

Django : How to install mysql

I want to use mysql with django but I have problems
I tried this with pip :
(env) C:\mat20>pip install MySQL-python==2.7.1
and I have the error:
No distributions matching the version for MySQL-python==2.7.1
after I tried :
(env) C:\mat20>pip install MySQL-python
and I have the error :
error: Unable to find vcvarsall.bat
What is the problem ?
You can solve this error error: Unable to find vcvarsall.bat by
mingw
or try Install c++ compiler here