Hello I'm trying to install qgis-mapserver on CentOS 7.3.
Here are the steps I followed:
installed epel-release (v. 7.9) yum install epel-release
added elgis 6: sudo rpm -Uvh http://elgis.argeo.org/repos/6/elgis-release-6-6_0.noarch.rpm
made sure qgis-mapserver was available: yum search qgis-mapserver and it was (qgis-mapserver.x86_64 : FCGI based OGC web map server)
tried to install: yum install qgis-mapserver and I get what seems to be a dependency issue
Here is the output:
Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
* base: mirror.tobias-wollmann.com
* epel: mirror.de.leaseweb.net
* extras: mirror.crazynetwork.it
* updates: centos.copahost.com
Resolving Dependencies
--> Running transaction check
---> Package qgis-mapserver.x86_64 0:1.8.0-9_0.el6 will be installed
--> Processing Dependency: qgis(x86-64) = 1.8.0-9_0.el6 for package: qgis-mapserver-1.8.0-9_0.el6.x86_64
--> Processing Dependency: libspatialindex.so.1()(64bit) for package: qgis-mapserver-1.8.0-9_0.el6.x86_64
--> Processing Dependency: libqgis_core.so.1.8.0()(64bit) for package: qgis-mapserver-1.8.0-9_0.el6.x86_64
--> Processing Dependency: libqgis_analysis.so.1.8.0()(64bit) for package: qgis-mapserver-1.8.0-9_0.el6.x86_64
--> Running transaction check
---> Package qgis.x86_64 0:1.8.0-9_0.el6 will be installed
--> Processing Dependency: libspatialite.so.2()(64bit) for package: qgis-1.8.0-9_0.el6.x86_64
--> Processing Dependency: libspatialindex.so.1()(64bit) for package: qgis-1.8.0-9_0.el6.x86_64
--> Processing Dependency: libqwtpolar.so.0()(64bit) for package: qgis-1.8.0-9_0.el6.x86_64
--> Processing Dependency: libqwt.so.5()(64bit) for package: qgis-1.8.0-9_0.el6.x86_64
---> Package qgis-mapserver.x86_64 0:1.8.0-9_0.el6 will be installed
--> Processing Dependency: libspatialindex.so.1()(64bit) for package: qgis-mapserver-1.8.0-9_0.el6.x86_64
--> Running transaction check
---> Package libspatialite.x86_64 0:2.4.0-0.6_0.RC4.el6 will be installed
---> Package qgis.x86_64 0:1.8.0-9_0.el6 will be installed
--> Processing Dependency: libspatialindex.so.1()(64bit) for package: qgis-1.8.0-9_0.el6.x86_64
--> Processing Dependency: libqwtpolar.so.0()(64bit) for package: qgis-1.8.0-9_0.el6.x86_64
--> Processing Dependency: libqwt.so.5()(64bit) for package: qgis-1.8.0-9_0.el6.x86_64
---> Package qgis-mapserver.x86_64 0:1.8.0-9_0.el6 will be installed
--> Processing Dependency: libspatialindex.so.1()(64bit) for package: qgis-mapserver-1.8.0-9_0.el6.x86_64
--> Finished Dependency Resolution
Error: Package: qgis-1.8.0-9_0.el6.x86_64 (elgis)
Requires: libqwtpolar.so.0()(64bit)
Error: Package: qgis-1.8.0-9_0.el6.x86_64 (elgis)
Requires: libqwt.so.5()(64bit)
Error: Package: qgis-1.8.0-9_0.el6.x86_64 (elgis)
Requires: libspatialindex.so.1()(64bit)
Error: Package: qgis-mapserver-1.8.0-9_0.el6.x86_64 (elgis)
Requires: libspatialindex.so.1()(64bit)
You could try using --skip-broken to work around the problem
** Found 3 pre-existing rpmdb problem(s), 'yum check' output follows:
ipa-client-4.4.0-14.el7.centos.6.x86_64 has installed conflicts freeipa-client: ipa-client-4.4.0-14.el7.centos.6.x86_64
ipa-client-common-4.4.0-14.el7.centos.6.noarch has installed conflicts freeipa-client-common: ipa-client-common-4.4.0-14.el7.centos.6.noarch
ipa-common-4.4.0-14.el7.centos.6.noarch has installed conflicts freeipa-common: ipa-common-4.4.0-14.el7.centos.6.noarch
Any help would be much appreciated. Thank you
The ELGIS repository is not maintained any more, use EPEL starting with Centos 7.x
The package has been renamed (from qgis-mapserver to qgis-server) The EPEL Mapserver is now called
qgis-server.x86_64 : FCGI-based OGC web map server
See also their mailing list. (http://lists.osgeo.org/pipermail/el/2017-April/thread.html)
Related
I have started EC2 instance from L=amazon linux 2 AMI.
I am trying to install syslog-ng with yum but I am getting error.
Commands used :
$ sudo amazon-linux-extras install epel -y
$ sudo yum install syslog-ng
AND
$ sudo yum-config-manager --add-repo=https://copr.fedorainfracloud.org/coprs/czanik/syslog-ng321/repo/epel-7/czanik-syslog-ng321-epel-7.repo"
$ sudo yum install --enablerepo=epel --assumeyes syslog-ng
But I am getting following error in both the cases:
Loaded plugins: dkms-build-requires, extras_suggestions, langpacks, priorities, update-motd
215 packages excluded due to repository priority protections
Resolving Dependencies
--> Running transaction check
---> Package syslog-ng.x86_64 0:3.23.1-1.el6 will be installed
--> Processing Dependency: libmaxminddb.so.0()(64bit) for package: syslog-ng-3.23.1-1.el6.x86_64
--> Processing Dependency: libpcre.so.0()(64bit) for package: syslog-ng-3.23.1-1.el6.x86_64
--> Running transaction check
---> Package libmaxminddb.x86_64 0:1.2.0-1.el7 will be installed
---> Package syslog-ng.x86_64 0:3.23.1-1.el6 will be installed
--> Processing Dependency: libpcre.so.0()(64bit) for package: syslog-ng-3.23.1-1.el6.x86_64
--> Finished Dependency Resolution
Error: Package: syslog-ng-3.23.1-1.el6.x86_64 (copr:copr.fedorainfracloud.org:czanik:syslog-ng323epel6)
Requires: libpcre.so.0()(64bit)
You could try using --skip-broken to work around the problem
** Found 1 pre-existing rpmdb problem(s), 'yum check' output follows:
cloud-init-19.3-44.amzn2.noarch has missing requires of rsyslog
I wrote these instructions a year ago: https://www.syslog-ng.com/community/b/blog/posts/installing-syslog-ng-in-amazon-linux-2-including-graviton2
I do not have any AWS accounts right now, but if they do not work, the I'll try to get one...
**Update:**
First of all: I double checked your report. You mention adding a repo for EPEL 7 syslog-ng 3.21, however the error below it is about syslog-ng 3.23 for EPEL 6.
OK, I got access. I followed my own instructions and it works:
[ec2-user#ip-xxx ~]$ syslog-ng -V
syslog-ng 3 (3.29.1)
Config version: 3.29
Installer-Version: 3.29.1
Revision:
Compile-Date: Aug 29 2020 08:27:16
Module-Directory: /usr/lib64/syslog-ng
Module-Path: /usr/lib64/syslog-ng
Include-Path: /usr/share/syslog-ng/include
Available-Modules: add-contextual-data,affile,afprog,afsocket,afstomp,afuser,appmodel,basicfuncs,cef,confgen,cryptofuncs,csvparser,dbparser,disk-buffer,examples,graphite,hook-commands,json-plugin,kvformat,linux-kmsg-format,map-value-pairs,pseudofile,sdjournal,stardate,syslogformat,system-source,tags-parser,tfgetent,timestamp,xml,azure-auth-header,http
Enable-Debug: off
Enable-GProf: off
Enable-Memtrace: off
Enable-IPv6: on
Enable-Spoof-Source: on
Enable-TCP-Wrapper: on
Enable-Linux-Caps: on
Enable-Systemd: on
[ec2-user#ip-xxx ~]$ cat /etc/os-release
NAME="Amazon Linux"
VERSION="2"
ID="amzn"
ID_LIKE="centos rhel fedora"
VERSION_ID="2"
PRETTY_NAME="Amazon Linux 2"
ANSI_COLOR="0;33"
CPE_NAME="cpe:2.3:o:amazon:amazon_linux:2"
HOME_URL="https://amazonlinux.com/"
And tried to latest version (3.35), and that works as well.
Tried with specific package and its able to install.
$ sudo yum --enablerepo=epel -y install syslog-ng-3.5.6-3.el7.x86_64
I'm trying to install glusterfs on my centos 7 server, I already install centos-release-gluster
[root#core11 media]# yum install centos-release-gluster
Loaded plugins: fastestmirror, priorities
Loading mirror speeds from cached hostfile
* base: mirror.labkom.id
* centos-gluster9: vpsmurah.jagoanhosting.com
* epel: ftp.jaist.ac.jp
* extras: vpsmurah.jagoanhosting.com
* updates: vpsmurah.jagoanhosting.com
211 packages excluded due to repository priority protections
Package centos-release-gluster9-1.0-1.el7.noarch already installed and latest version
Nothing to do
but when I continue to install glusterfs-server, it has error
[root#core11 media]# yum install glusterfs-server
Loaded plugins: fastestmirror, priorities
Loading mirror speeds from cached hostfile
* base: mirror.labkom.id
* centos-gluster9: vpsmurah.jagoanhosting.com
* epel: ftp.jaist.ac.jp
* extras: vpsmurah.jagoanhosting.com
* updates: vpsmurah.jagoanhosting.com
211 packages excluded due to repository priority protections
Resolving Dependencies
--> Running transaction check
---> Package glusterfs-server.x86_64 0:9.3-1.el7 will be installed
--> Processing Dependency: glusterfs = 9.3-1.el7 for package: glusterfs-server-9.3-1.el7.x86_64
--> Processing Dependency: glusterfs-cli = 9.3-1.el7 for package: glusterfs-server-9.3-1.el7.x86_6
--> Processing Dependency: liburcu-bp.so.6()(64bit) for package: glusterfs-server-9.3-1.el7.x86_64
--> Processing Dependency: liburcu-cds.so.6()(64bit) for package: glusterfs-server-9.3-1.el7.x86_64
...
Error: Package: libgfrpc0-9.3-1.el7.x86_64 (centos-gluster9)
Requires: liburcu-bp.so.6()(64bit)
Error: Package: glusterfs-9.3-1.el7.x86_64 (centos-gluster9)
Requires: liburcu-cds.so.6()(64bit)
...
Is there a step that I missed?
Need to install userpace-rcu as Knud mentioned above, since I'm using Centos 7 with x86_64 architecture, I just need to install this package before installing glusterfs-server
yum install http://mirror.centos.org/centos/7.9.2009/storage/x86_64/gluster-9/Packages/u/userspace-rcu-0.10.0-3.el7.x86_64.rpm
Whenever I try to update my EC2 instance, I get the following error:
Loaded plugins: priorities, update-motd, upgrade-helper
amzn-main | 2.1 kB 00:00:00
amzn-updates | 2.5 kB 00:00:00
817 packages excluded due to repository priority protections
Resolving Dependencies
--> Running transaction check
---> Package aws-cfn-bootstrap.noarch 0:1.4-30.21.amzn1 will be updated
---> Package aws-cfn-bootstrap.noarch 0:1.4-31.22.amzn1 will be an update
---> Package curl.x86_64 0:7.53.1-16.85.amzn1 will be updated
---> Package curl.x86_64 0:7.53.1-16.86.amzn1 will be an update
---> Package db4.x86_64 0:4.7.25-18.11.amzn1 will be obsoleted
--> Processing Dependency: libdb-4.7.so()(64bit) for package: rpm-libs-4.11.3-21.75.amzn1.x86_64
--> Processing Dependency: libdb-4.7.so()(64bit) for package: cyrus-sasl-lib-2.1.23-13.16.amzn1.x86_64
--> Processing Dependency: libdb-4.7.so()(64bit) for package: rpm-build-libs-4.11.3-21.75.amzn1.x86_64
--> Processing Dependency: libdb-4.7.so()(64bit) for package: ruby20-libs-2.0.0.648-1.31.amzn1.x86_64
--> Processing Dependency: libdb-4.7.so()(64bit) for package: iproute-4.4.0-3.23.amzn1.x86_64
--> Processing Dependency: libdb-4.7.so()(64bit) for package: python27-libs-2.7.15-1.124.amzn1.x86_64
--> Processing Dependency: libdb-4.7.so()(64bit) for package: pam-1.1.8-12.33.amzn1.x86_64
--> Processing Dependency: libdb-4.7.so()(64bit) for package: httpd24-tools-2.4.37-1.83.amzn1.x86_64
--> Processing Dependency: libdb-4.7.so()(64bit) for package: rpm-4.11.3-21.75.amzn1.x86_64
--> Processing Dependency: libdb-4.7.so()(64bit) for package: pam_ccreds-10-4.9.amzn1.x86_64
--> Processing Dependency: libdb-4.7.so()(64bit) for package: httpd24-2.4.37-1.83.amzn1.x86_64
--> Processing Dependency: libdb-4.7.so()(64bit) for package: rpm-python27-4.11.3-21.75.amzn1.x86_64
--> Processing Dependency: libdb-4.7.so()(64bit) for package: cyrus-sasl-2.1.23-13.16.amzn1.x86_64
--> Processing Dependency: libdb-4.7.so()(64bit) for package: apr-util-1.5.4-6.18.amzn1.x86_64
--> Processing Dependency: libdb-4.7.so()(64bit) for package: sendmail-8.14.4-9.14.amzn1.x86_64
---> Package db4-utils.x86_64 0:4.7.25-18.11.amzn1 will be obsoleted
---> Package kernel.x86_64 0:4.14.94-73.73.amzn1 will be installed
---> Package kernel-tools.x86_64 0:4.14.88-72.73.amzn1 will be updated
---> Package kernel-tools.x86_64 0:4.14.94-73.73.amzn1 will be an update
---> Package krb5-libs.x86_64 0:1.15.1-19.43.amzn1 will be updated
---> Package krb5-libs.x86_64 0:1.15.1-34.44.amzn1 will be an update
---> Package libcurl.x86_64 0:7.53.1-16.85.amzn1 will be updated
---> Package libcurl.x86_64 0:7.53.1-16.86.amzn1 will be an update
---> Package libdb4.x86_64 0:4.8.30-13.el7 will be obsoleting
---> Package libdb4-utils.x86_64 0:4.8.30-13.el7 will be obsoleting
--> Processing Dependency: /usr/bin/db_stat for package: rpm-4.11.3-21.75.amzn1.x86_64
--> Processing Conflict: libdb4-4.8.30-13.el7.x86_64 conflicts filesystem < 3
--> Finished Dependency Resolution
Error: Package: rpm-build-libs-4.11.3-21.75.amzn1.x86_64 (installed)
Requires: libdb-4.7.so()(64bit)
Removing: db4-4.7.25-18.11.amzn1.x86_64 (installed)
libdb-4.7.so()(64bit)
Obsoleted By: libdb4-4.8.30-13.el7.x86_64 (epel)
~libdb-4.8.so()(64bit)
Error: Package: rpm-4.11.3-21.75.amzn1.x86_64 (installed) [45/1125]
Requires: /usr/bin/db_stat
Removing: db4-utils-4.7.25-18.11.amzn1.x86_64 (installed)
Not found
Obsoleted By: libdb4-utils-4.8.30-13.el7.x86_64 (epel)
Not found
Error: Package: pam-1.1.8-12.33.amzn1.x86_64 (installed)
Requires: libdb-4.7.so()(64bit)
Removing: db4-4.7.25-18.11.amzn1.x86_64 (installed)
libdb-4.7.so()(64bit)
Obsoleted By: libdb4-4.8.30-13.el7.x86_64 (epel)
~libdb-4.8.so()(64bit)
Error: Package: rpm-4.11.3-21.75.amzn1.x86_64 (installed)
Requires: libdb-4.7.so()(64bit)
Removing: db4-4.7.25-18.11.amzn1.x86_64 (installed)
libdb-4.7.so()(64bit)
Obsoleted By: libdb4-4.8.30-13.el7.x86_64 (epel)
~libdb-4.8.so()(64bit)
Error: libdb4 conflicts with filesystem-2.4.30-3.8.amzn1.x86_64
Error: Package: iproute-4.4.0-3.23.amzn1.x86_64 (installed)
Requires: libdb-4.7.so()(64bit)
Removing: db4-4.7.25-18.11.amzn1.x86_64 (installed)
libdb-4.7.so()(64bit)
Obsoleted By: libdb4-4.8.30-13.el7.x86_64 (epel)
~libdb-4.8.so()(64bit)
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
I tried using 'sudo yum clean all' as I figured that it would have been because the cache needed to be emptied, but that didn't seem to fix the issue. I would like to fix the issue without recreating the instance. Is there anyway I can fix this issue?
I got a problem when uninstall php-pgsql. it can't be remove.
[root#ip-172-31-31-52 /]# yum list php-pgsql\*
Loaded plugins: priorities, update-motd, upgrade-helper
Available Packages
php-pgsql.x86_64 5.3.29-1.8.amzn1 amzn-main
[root#ip-172-31-31-52 /]# yum remove php-pgsql\*
Loaded plugins: priorities, update-motd, upgrade-helper
No Match for argument: php-pgsql*
No Packages marked for removal
When i check the package is available but stil can't remove. Please help. Thank you
If you look at the output of the list command, it shows that the php-pgsql.x86_64 is available, not installed on the machine. and that's why, when you hit the remove command, it shows that no packages marked for removal.
To support my answer, I had tried to run both of your command on ec2, and which does remove the package , if its installed.
Now if the plugin in installed on ec2 and you run list command , it shows the installed packages:
[root#ip-xx-xxx-xx-xxx ec2-user]# yum list php-pgsql*
Loaded plugins: priorities, update-motd, upgrade-helper
Installed Packages -- this line shows it installed.
php-pgsql.x86_64
Try remove command to remove the packages:
[root#ip-xx-xxx-xx-xxx ec2-user]# yum remove php-pgsql* -y
Loaded plugins: priorities, update-motd, upgrade-helper
Resolving Dependencies
--> Running transaction check
---> Package php-pgsql.x86_64 0:5.3.29-1.8.amzn1 will be erased
--> Finished Dependency Resolution
Dependencies Resolved
=============================================================================================================================================================================================================================================
Package Arch Version Repository Size
=============================================================================================================================================================================================================================================
Removing:
php-pgsql x86_64 5.3.29-1.8.amzn1 #amzn-main 315 k
Transaction Summary
=============================================================================================================================================================================================================================================
Remove 1 Package
Installed size: 315 k
Downloading packages:
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
Erasing : php-pgsql-5.3.29-1.8.amzn1.x86_64 1/1
Verifying : php-pgsql-5.3.29-1.8.amzn1.x86_64 1/1
Removed:
php-pgsql.x86_64 0:5.3.29-1.8.amzn1
Complete!
having an issue installing the vmware-esx-vib-author-5.0.0-0.0.847598.i386.rpm on the CentOS 6.2 version , it looks for dependencies which is 64 bit
This is the message I get when I try to install the package:
[root#centosvirtual1test ~]# yum install --skip-broken vmware-esx-vib-author-5.0.0-0.0.847598.i386.rpm
Loaded plugins: fastestmirror, presto
Setting up Install Process
Examining vmware-esx-vib-author-5.0.0-0.0.847598.i386.rpm: vmware-esx-vib-author-5.0.0-0.0.847598.i386
Marking vmware-esx-vib-author-5.0.0-0.0.847598.i386.rpm to be installed
Loading mirror speeds from cached hostfile
* base: mirror.vorboss.net
* extras: mirror.vorboss.net
* updates: centos.serverspace.co.uk
base | 3.7 kB 00:00
extras | 3.3 kB 00:00
updates | 3.4 kB 00:00
Resolving Dependencies
--> Running transaction check
---> Package vmware-esx-vib-author.i386 0:5.0.0-0.0.847598 will be installed
--> Processing Dependency: libc.so.6(GLIBC_2.2.5)(64bit) for package: vmware-esx-vib-author-5.0.0-0.0.847598.i386
--> Processing Dependency: libc.so.6(GLIBC_2.3)(64bit) for package: vmware-esx-vib-author-5.0.0-0.0.847598.i386
--> Processing Dependency: libc.so.6(GLIBC_2.4)(64bit) for package: vmware-esx-vib-author-5.0.0-0.0.847598.i386
--> Processing Dependency: libdl.so.2(GLIBC_2.2.5)(64bit) for package: vmware-esx-vib-author-5.0.0-0.0.847598.i386
--> Processing Dependency: libpthread.so.0(GLIBC_2.2.5)(64bit) for package: vmware-esx-vib-author-5.0.0-0.0.847598.i386
--> Processing Dependency: libc.so.6()(64bit) for package: vmware-esx-vib-author-5.0.0-0.0.847598.i386
--> Processing Dependency: libdl.so.2()(64bit) for package: vmware-esx-vib-author-5.0.0-0.0.847598.i386
--> Processing Dependency: libpthread.so.0()(64bit) for package: vmware-esx-vib-author-5.0.0-0.0.847598.i386
Packages skipped because of dependency problems:
vmware-esx-vib-author-5.0.0-0.0.847598.i386 from /vmware-esx-vib-author-5.0.
The VIB author only works on SUSE enterprise Linux 11 sp2.