Install VSCode in CentOS 7 running on Raspberry PI 3 Model B - visual-studio-code

I'm having an issue in installation of VSCode in CentOS 7 running on Raspberry PI 3 Model B.
CPU architecture is armv7l and I tried to use following command to install VSCode.
[admin#localhost Downloads]$ sudo yum install code
when run the command, I got following error.
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base: mirror.aktkn.sg
* centos-kernel: mirror.aktkn.sg
* extras: mirror.aktkn.sg
* updates: mirror.aktkn.sg
Resolving Dependencies
--> Running transaction check
---> Package code.armv7hl 0:1.73.1-1667960121.el7 will be installed
--> Processing Dependency: libnss3.so(NSS_3.22)(64bit) for package: code-1.73.1-1667960121.el7.armv7hl
--> Processing Dependency: libssl3.so(NSS_3.28)(64bit) for package: code-1.73.1-1667960121.el7.armv7hl
--> Processing Dependency: libstdc++.so.6(CXXABI_1.3.8) for package: code-1.73.1-1667960121.el7.armv7hl
--> Processing Dependency: libstdc++.so.6(CXXABI_1.3.9) for package: code-1.73.1-1667960121.el7.armv7hl
--> Processing Dependency: libstdc++.so.6(GLIBCXX_3.4.20) for package: code-1.73.1-1667960121.el7.armv7hl
--> Processing Dependency: libstdc++.so.6(GLIBCXX_3.4.21) for package: code-1.73.1-1667960121.el7.armv7hl
--> Processing Dependency: libstdc++.so.6(GLIBCXX_3.4.22) for package: code-1.73.1-1667960121.el7.armv7hl
--> Processing Dependency: libcurl.so.4()(64bit) for package: code-1.73.1-1667960121.el7.armv7hl
--> Processing Dependency: libgtk-3.so.0()(64bit) for package: code-1.73.1-1667960121.el7.armv7hl
--> Finished Dependency Resolution
Error: Package: code-1.73.1-1667960121.el7.armv7hl (code)
Requires: libnss3.so(NSS_3.22)(64bit)
Error: Package: code-1.73.1-1667960121.el7.armv7hl (code)
Requires: libstdc++.so.6(CXXABI_1.3.9)
Error: Package: code-1.73.1-1667960121.el7.armv7hl (code)
Requires: libgtk-3.so.0()(64bit)
Error: Package: code-1.73.1-1667960121.el7.armv7hl (code)
Requires: libstdc++.so.6(CXXABI_1.3.8)
Error: Package: code-1.73.1-1667960121.el7.armv7hl (code)
Requires: libcurl.so.4()(64bit)
Error: Package: code-1.73.1-1667960121.el7.armv7hl (code)
Requires: libstdc++.so.6(GLIBCXX_3.4.22)
Error: Package: code-1.73.1-1667960121.el7.armv7hl (code)
Requires: libssl3.so(NSS_3.28)(64bit)
Error: Package: code-1.73.1-1667960121.el7.armv7hl (code)
Requires: libstdc++.so.6(GLIBCXX_3.4.20)
Error: Package: code-1.73.1-1667960121.el7.armv7hl (code)
Requires: libstdc++.so.6(GLIBCXX_3.4.21)
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
[admin#localhost Downloads]$
How can I resolve the issue?
I tried to download and install VSCode rpm for armv7, but same issue is shown.
In the error line, there is libnss3.so(NSS_3.22)(64bit) dependancy file, but the device cpu is armv7l and doesn't support 64bit.

Related

Cant install Chrome in RHEL 7

I am trying to install Chrome using :
sudo yum localinstall -y https://dl.google.com/linux/direct/google-chrome-stable_current_x86_64.rpm
but every time I am getting this error:
Loaded plugins: langpacks, product-id, search-disabled-repos, subscription-manager
This system is not registered with an entitlement server. You can use subscription-manager to register.
Examining /var/tmp/yum-root-FKPkpJ/google-chrome-stable_current_x86_64.rpm: google-chrome-stable-67.0.3396.62-1.x86_64
Marking /var/tmp/yum-root-FKPkpJ/google-chrome-stable_current_x86_64.rpm to be installed
Resolving Dependencies
--> Running transaction check
---> Package google-chrome-stable.x86_64 0:67.0.3396.62-1 will be installed
--> Processing Dependency: /usr/bin/lsb_release for package: google-chrome-stable-67.0.3396.62-1.x86_64
--> Processing Dependency: libappindicator3.so.1()(64bit) for package: google-chrome-stable-67.0.3396.62-1.x86_64
--> Processing Dependency: /usr/bin/lsb_release for package: google-chrome-stable-67.0.3396.62-1.x86_64
--> Finished Dependency Resolution
Error: Package: google-chrome-stable-67.0.3396.62-1.x86_64 (/google-chrome-stable_current_x86_64)
Requires: libappindicator3.so.1()(64bit)
Error: Package: google-chrome-stable-67.0.3396.62-1.x86_64 (/google-chrome-stable_current_x86_64)
Requires: /usr/bin/lsb_release
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
Please Help.
Taken from https://access.redhat.com/discussions/917293
wget https://dl.google.com/linux/direct/google-chrome-stable_current_x86_64.rpm
yum -y install redhat-lsb libXScrnSaver
yum -y localinstall google-chrome-stable_current_x86_64.rpm
Problem solved. I just had to use subscription-manager to subscribe and register my system and also update yum with yum check-update.

Installing mongodb error : require openssl

Hello I'm newer using mongodb, and I'm following step Installing mongodb from web Installing mongodb enterprise on red hat
I'm use command:
sudo yum install -y mongodb-enterprise
and The terminal print:
Loaded plugins: product-id, refresh-packagekit, security, subscription-managerThis system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.Repository 'repository_url': Error parsing config: Error parsing "baseurl = 'repository_url'": URL must be http, ftp, file or https not ""Setting up Install ProcessResolving Dependencies--> Running transaction check---> Package mongodb-enterprise.x86_64 0:3.4.11-1.el6 will be installed--> Processing Dependency: mongodb-enterprise-tools = 3.4.11 for package: mongodb-enterprise-3.4.11-1.el6.x86_64--> Processing Dependency: mongodb-enterprise-shell = 3.4.11 for package: mongodb-enterprise-3.4.11-1.el6.x86_64--> Processing Dependency: mongodb-enterprise-server = 3.4.11 for package: mongodb-enterprise-3.4.11-1.el6.x86_64--> Processing Dependency: mongodb-enterprise-mongos = 3.4.11 for package: mongodb-enterprise-3.4.11-1.el6.x86_64--> Running transaction check---> Package mongodb-enterprise-mongos.x86_64 0:3.4.11-1.el6 will be installed---> Package mongodb-enterprise-server.x86_64 0:3.4.11-1.el6 will be installed--> Processing Dependency: openssl >= 1.0.1 for package: mongodb-enterprise-server-3.4.11-1.el6.x86_64---> Package mongodb-enterprise-shell.x86_64 0:3.4.11-1.el6 will be installed--> Processing Dependency: openssl >= 1.0.1 for package: mongodb-enterprise-shell-3.4.11-1.el6.x86_64---> Package mongodb-enterprise-tools.x86_64 0:3.4.11-1.el6 will be installed--> Processing Dependency: openssl >= 1.0.1 for package: mongodb-enterprise-tools-3.4.11-1.el6.x86_64--> Finished Dependency ResolutionError: Package: mongodb-enterprise-server-3.4.11-1.el6.x86_64 (mongodb-enterprise) Requires: openssl >= 1.0.1 Installed: openssl-1.0.0-27.el6.x86_64 (#anaconda-RedHatEnterpriseLinux-201301301459.x86_64/6.4) openssl = 1.0.0-27.el6Error: Package: mongodb-enterprise-tools-3.4.11-1.el6.x86_64 (mongodb-enterprise) Requires: openssl >= 1.0.1 Installed: openssl-1.0.0-27.el6.x86_64 (#anaconda-RedHatEnterpriseLinux-201301301459.x86_64/6.4) openssl = 1.0.0-27.el6Error: Package: mongodb-enterprise-shell-3.4.11-1.el6.x86_64 (mongodb-enterprise) Requires: openssl >= 1.0.1 Installed: openssl-1.0.0-27.el6.x86_64 (#anaconda-RedHatEnterpriseLinux-201301301459.x86_64/6.4) openssl = 1.0.0-27.el6 You could try using --skip-broken to work around the problem You could try running: rpm -Va --nofiles --nodigest
But I'm already installed openssl:
Command
openssl version
print:
OpenSSL 1.0.2n 7 Dec 2017
As you see I'm already installed openssl. So What is wrong with my step.

Installation of postresql on amazon linux server fails

I try to install postgresql-server on amazone linux, but it fails:
[ec2-user#ip-xyz ~]$ sudo yum install postgresql-server
Loaded plugins: priorities, update-motd, upgrade-helper
amzn-main/latest | 2.1 kB 00:00
amzn-updates/latest | 2.3 kB 00:00
961 packages excluded due to repository priority protections
Resolving Dependencies
--> Running transaction check
---> Package postgresql93-server.x86_64 0:9.3.12-1PGDG.rhel7 will be installed
--> Processing Dependency: systemd-units for package: postgresql93-server-9.3.12-1PGDG.rhel7.x86_64
--> Processing Dependency: systemd-units for package: postgresql93-server-9.3.12-1PGDG.rhel7.x86_64
--> Finished Dependency Resolution
Error: Package: postgresql93-server-9.3.12-1PGDG.rhel7.x86_64 (pgdg93)
Requires: systemd-units
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
There seems to be an issue with unfulfilled requirements.
How can I solve this: Error: Package: postgresql93-server-9.3.12-1PGDG.rhel7.x86_64 (pgdg93)
Requires: systemd-units

mongodb-org conflicts with mongodb-10gen-server

I'm running into problems installing Mongo using yum on CentOS. I've followed these instructions but am getting errors when installed the mongodb-org package:
$ sudo yum install mongodb-org
Loaded plugins: fastestmirror, presto
Loading mirror speeds from cached hostfile
* base: mirrors.cmich.edu
* extras: mirror.es.its.nyu.edu
* updates: mirror.kentdigital.net
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package mongodb-org.x86_64 0:2.6.1-0.1.rc0 will be installed
--> Processing Dependency: mongodb-org-server = 2.6.1 for package: mongodb-org-2.6.1-0.1.rc0.x86_64
--> Processing Dependency: mongodb-org-shell = 2.6.1 for package: mongodb-org-2.6.1-0.1.rc0.x86_64
--> Processing Dependency: mongodb-org-mongos = 2.6.1 for package: mongodb-org-2.6.1-0.1.rc0.x86_64
--> Processing Dependency: mongodb-org-tools = 2.6.1 for package: mongodb-org-2.6.1-0.1.rc0.x86_64
--> Running transaction check
---> Package mongodb-org-mongos.x86_64 0:2.6.1-0.1.rc0 will be installed
---> Package mongodb-org-server.x86_64 0:2.6.1-0.1.rc0 will be installed
---> Package mongodb-org-shell.x86_64 0:2.6.1-0.1.rc0 will be installed
---> Package mongodb-org-tools.x86_64 0:2.6.1-0.1.rc0 will be installed
--> Processing Conflict: mongodb-org-2.6.1-0.1.rc0.x86_64 conflicts mongo-10gen-server
--> Finished Dependency Resolution
Error: mongodb-org conflicts with mongodb-org-server
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
It seems like the mongodb package is conflicting with itself. Does anybody have an idea what's going on here? I can also confirm that there are no other mongo packages currently installed on the machine.
I just ran into the same problem. Ernie Hershey from MongoDB helped me resolve it by answering my post in the MongoDB user group:
https://groups.google.com/forum/#!topic/mongodb-user/5xRQW7ER4hE
You basically need to run yum makecache before running yum install mongodb-org because of a bug in how MongoDB RC packages are generated. That solved the problem for me.

MongoDB 2.6 Update Error

I am getting conflict when
[root#MongoDB ec2-user]# sudo yum install mongodb-org Loaded plugins:
priorities, security, update-motd, upgrade-helper Setting up Install
Process Resolving Dependencies
--> Running transaction check
---> Package mongodb-org.x86_64 0:2.6.0-1 will be installed
--> Processing Dependency: mongodb-org-tools = 2.6.0 for package: mongodb-org-2.6.0-1.x86_64
--> Processing Dependency: mongodb-org-shell = 2.6.0 for package: mongodb-org-2.6.0-1.x86_64
--> Processing Dependency: mongodb-org-server = 2.6.0 for package: mongodb-org-2.6.0-1.x86_64
--> Processing Dependency: mongodb-org-mongos = 2.6.0 for package: mongodb-org-2.6.0-1.x86_64
--> Running transaction check
---> Package mongodb-org-mongos.x86_64 0:2.6.0-1 will be installed
---> Package mongodb-org-server.x86_64 0:2.6.0-1 will be installed
---> Package mongodb-org-shell.x86_64 0:2.6.0-1 will be installed
---> Package mongodb-org-tools.x86_64 0:2.6.0-1 will be installed
--> Processing Conflict: mongodb-org-tools-2.6.0-1.x86_64 conflicts mongo-10gen-server
--> Processing Conflict: mongodb-org-tools-2.6.0-1.x86_64 conflicts mongo-10gen
--> Processing Conflict: mongodb-org-mongos-2.6.0-1.x86_64 conflicts mongo-10gen-server
--> Processing Conflict: mongodb-org-mongos-2.6.0-1.x86_64 conflicts mongo-10gen
--> Processing Conflict: mongodb-org-shell-2.6.0-1.x86_64 conflicts mongo-10gen-server
--> Processing Conflict: mongodb-org-shell-2.6.0-1.x86_64 conflicts mongo-10gen
--> Processing Conflict: mongodb-org-2.6.0-1.x86_64 conflicts mongo-10gen-server
--> Processing Conflict: mongodb-org-2.6.0-1.x86_64 conflicts mongo-10gen
--> Processing Conflict: mongodb-org-server-2.6.0-1.x86_64 conflicts mongo-10gen-server
--> Processing Conflict: mongodb-org-server-2.6.0-1.x86_64 conflicts mongo-10gen
--> Finished Dependency Resolution Error: mongodb-org-shell conflicts with mongo-10gen-2.4.10-mongodb_1.x86_64 Error: mongodb-org-server
conflicts with mongo-10gen-server-2.4.10-mongodb_1.x86_64 Error:
mongodb-org-mongos conflicts with mongo-10gen-2.4.10-mongodb_1.x86_64
Error: mongodb-org-mongos conflicts with
mongo-10gen-server-2.4.10-mongodb_1.x86_64 Error: mongodb-org-tools
conflicts with mongo-10gen-2.4.10-mongodb_1.x86_64 Error:
mongodb-org-server conflicts with mongo-10gen-2.4.10-mongodb_1.x86_64
Error: mongodb-org-tools conflicts with
mongo-10gen-server-2.4.10-mongodb_1.x86_64 Error: mongodb-org
conflicts with mongo-10gen-server-2.4.10-mongodb_1.x86_64 Error:
mongodb-org conflicts with mongo-10gen-2.4.10-mongodb_1.x86_64 Error:
mongodb-org-shell conflicts with
mongo-10gen-server-2.4.10-mongodb_1.x86_64 You could try using
--skip-broken to work around the problem You could try running: rpm -Va --nofiles --nodigest
and update giving this error:
sudo yum update mongodb-org Loaded plugins: priorities, security,
update-motd, upgrade-helper amzn-main
| 2.1 kB 00:00 amzn-updates
| 2.3 kB 00:00 Setting up Update Process Package(s)
mongodb-org available, but not installed.
How can i fix this ?
Since the package name has changed, you do need to remove the old package and install the new one. However, instead of doing this as two steps, it is cleaner to use the yum shell. This will remove the old package and install the new one in a single transaction:
yum shell
> install mongodb-org
> remove mongo-10gen
> remove mongo-10gen-server
> run
--> Running transaction check
---> Package mongo-10gen.i686 0:2.4.10-mongodb_1 will be erased
---> Package mongo-10gen-server.i686 0:2.4.10-mongodb_1 will be erased
---> Package mongodb-org.i686 0:2.6.0-1 will be installed
--> Processing Dependency: mongodb-org-tools = 2.6.0 for package: mongodb-org-2.6.0-1.i686
--> Processing Dependency: mongodb-org-shell = 2.6.0 for package: mongodb-org-2.6.0-1.i686
--> Processing Dependency: mongodb-org-server = 2.6.0 for package: mongodb-org-2.6.0-1.i686
--> Processing Dependency: mongodb-org-mongos = 2.6.0 for package: mongodb-org-2.6.0-1.i686
--> Running transaction check
---> Package mongodb-org-mongos.i686 0:2.6.0-1 will be installed
---> Package mongodb-org-server.i686 0:2.6.0-1 will be installed
---> Package mongodb-org-shell.i686 0:2.6.0-1 will be installed
---> Package mongodb-org-tools.i686 0:2.6.0-1 will be installed
--> Finished Dependency Resolution
================================================================================
Package Arch Version Repository Size
================================================================================
Installing:
mongodb-org i686 2.6.0-1 10gen 4.6 k
Removing:
mongo-10gen i686 2.4.10-mongodb_1 #10gen 181 M
mongo-10gen-server i686 2.4.10-mongodb_1 #10gen 30 M
Installing for dependencies:
mongodb-org-mongos i686 2.6.0-1 10gen 6.7 M
mongodb-org-server i686 2.6.0-1 10gen 8.9 M
mongodb-org-shell i686 2.6.0-1 10gen 4.2 M
mongodb-org-tools i686 2.6.0-1 10gen 88 M
Transaction Summary
================================================================================
Install 1 Package (+4 Dependent packages)
Remove 2 Packages
Total download size: 108 M
Is this ok [y/d/N]: y
Downloading packages:
(1/5): mongodb-org-2.6.0-1.i686.rpm | 4.6 kB 00:00
(2/5): mongodb-org-mongos-2.6.0-1.i686.rpm | 6.7 MB 00:00
(3/5): mongodb-org-server-2.6.0-1.i686.rpm | 8.9 MB 00:00
(4/5): mongodb-org-shell-2.6.0-1.i686.rpm | 4.2 MB 00:00
(5/5): mongodb-org-tools-2.6.0-1.i686.rpm | 88 MB 00:04
--------------------------------------------------------------------------------
Total 19 MB/s | 108 MB 00:05
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
Installing : mongodb-org-server-2.6.0-1.i686 1/7
Installing : mongodb-org-mongos-2.6.0-1.i686 2/7
Installing : mongodb-org-tools-2.6.0-1.i686 3/7
Installing : mongodb-org-shell-2.6.0-1.i686 4/7
Installing : mongodb-org-2.6.0-1.i686 5/7
Erasing : mongo-10gen-server-2.4.10-mongodb_1.i686 6/7
Erasing : mongo-10gen-2.4.10-mongodb_1.i686 7/7
Verifying : mongodb-org-2.6.0-1.i686 1/7
Verifying : mongodb-org-shell-2.6.0-1.i686 2/7
Verifying : mongodb-org-tools-2.6.0-1.i686 3/7
Verifying : mongodb-org-mongos-2.6.0-1.i686 4/7
Verifying : mongodb-org-server-2.6.0-1.i686 5/7
Verifying : mongo-10gen-server-2.4.10-mongodb_1.i686 6/7
Verifying : mongo-10gen-2.4.10-mongodb_1.i686 7/7
Removed:
mongo-10gen.i686 0:2.4.10-mongodb_1
mongo-10gen-server.i686 0:2.4.10-mongodb_1
Installed:
mongodb-org.i686 0:2.6.0-1
Dependency Installed:
mongodb-org-mongos.i686 0:2.6.0-1 mongodb-org-server.i686 0:2.6.0-1
mongodb-org-shell.i686 0:2.6.0-1 mongodb-org-tools.i686 0:2.6.0-1
Finished Transaction
> exit
Leaving Shell
You have to remove packages of MongoDB 2.4:
sudo yum remove mongo-10gen*
and then install packages of new MongoDB 2.6:
sudo yum install mongodb-org
Seems that you are upgrading from version 2.4 to 2.6 which apparently has changed the package names.
I guess you will have to remove/erase the old package mongodb-10gen* and then run this new install command for it to work.
remove the old mongodb
sudo yum remove mongo-10gen-server mongo-10gen-tools mongo-10gen-shell mongo-10gen-mongos mongo-10gen
install the new mongodb (prerequisitely, you must config the yum source, refer here )
sudo yum install mongodb-org