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?
Related
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
Getting below error while installing Ansible tower, any idea how this can be resolved? Please help.
fatal: [localhost]: FAILED! => {"changed": true, "msg": "Error: Package: ansible-tower-server-3.4.2-1.el7.x86_64 (ansible-tower)\n Requires: python-crypto\nError: python-libs conflicts with python-virtualenv-1.10.1-2.el7.noarch\n", "rc": 1, "results": ["Loaded plugins: distro-guard, enabled_repos_upload, package_upload, product-id,\n : subscription-manager\nResolving Dependencies\n--> Running transaction check\n---> Package ansible-tower.x86_64 0:3.4.2-1.el7 will be installed\n--> Processing Dependency: ansible-tower-ui = 3.4.2-1.el7 for package: ansible-tower-3.4.2-1.el7.x86_64\n--> Processing Dependency: ansible-tower-server = 3.4.2-1.el7 for package: ansible-tower-3.4.2-1.el7.x86_64\n--> Running transaction check\n---> Package ansible-tower-server.x86_64 0:3.4.2-1.el7 will be installed\n--> Processing Dependency: ansible-tower-venv-tower = 3.4.2-1.el7 for package: ansible-tower-server-3.4.2-1.el7.x86_64\n--> Processing Dependency: ansible-tower-venv-ansible = 3.4.2-1.el7 for package: ansible-tower-server-3.4.2-1.el7.x86_64\n--> Processing Dependency: supervisor >= 3.0 for package: ansible-tower-server-3.4.2-1.el7.x86_64\n--> Processing Dependency: bubblewrap >= 0.1.2 for package: ansible-tower-server-3.4.2-1.el7.x86_64\n--> Processing Dependency: xmlsec1-openssl for package: ansible-tower-server-3.4.2-1.el7.x86_64\n--> Processing Dependency: xmlsec1 for package: ansible-tower-server-3.4.2-1.el7.x86_64\n--> Processing Dependency: subversion for package: ansible-tower-server-3.4.2-1.el7.x86_64\n--> Processing Dependency: rabbitmq-server for package: ansible-tower-server-3.4.2-1.el7.x86_64\n--> Processing Dependency: python-crypto for package: ansible-tower-server-3.4.2-1.el7.x86_64\n--> Processing Dependency: postgresql96 for package: ansible-tower-server-3.4.2-1.el7.x86_64\n--> Processing Dependency: nginx for package: ansible-tower-server-3.4.2-1.el7.x86_64\n--> Processing Dependency: mercurial for package: ansible-tower-server-3.4.2-1.el7.x86_64\n--> Processing Dependency: memcached for package: ansible-tower-server-3.4.2-1.el7.x86_64\n---> Package ansible-tower-ui.x86_64 0:3.4.2-1.el7 will be installed\n--> Running transaction check\n---> Package ansible-tower-server.x86_64 0:3.4.2-1.el7 will be installed\n--> Processing Dependency: python-crypto for package: ansible-tower-server-3.4.2-1.el7.x86_64\n---> Package ansible-tower-venv-ansible.x86_64 0:3.4.2-1.el7 will be installed\n--> Processing Dependency: python-virtualenv for package: ansible-tower-venv-ansible-3.4.2-1.el7.x86_64\n---> Package ansible-tower-venv-tower.x86_64 0:3.4.2-1.el7 will be installed\n---> Package bubblewrap.x86_64 0:0.1.7-1.el7 will be installed\n---> Package memcached.x86_64 0:1.4.15-10.el7_3.1 will be installed\n--> Processing Dependency: libevent-2.0.so.5()(64bit) for package: memcached-1.4.15-10.el7_3.1.x86_64\n---> Package mercurial.x86_64 0:2.6.2-10.el7 will be installed\n---> Package nginx.x86_64 1:1.14.1-1.el7at will be installed\n--> Processing Dependency: nginx-filesystem = 1:1.14.1-1.el7at for package: 1:nginx-1.14.1-1.el7at.x86_64\n--> Processing Dependency: nginx-all-modules = 1:1.14.1-1.el7at for package: 1:nginx-1.14.1-1.el7at.x86_64\n--> Processing Dependency: nginx-filesystem for package: 1:nginx-1.14.1-1.el7at.x86_64\n--> Processing Dependency: libprofiler.so.0()(64bit) for package: 1:nginx-1.14.1-1.el7at.x86_64\n---> Package postgresql96.x86_64 0:9.6.6-1PGDG.el7 will be installed\n--> Processing Dependency: postgresql96-libs(x86-64) = 9.6.6-1PGDG.el7 for package: postgresql96-9.6.6-1PGDG.el7.x86_64\n---> Package rabbitmq-server.noarch 0:3.7.4-2.el7at will be installed\n--> Processing Dependency: erlang >= 19.3 for package: rabbitmq-server-3.7.4-2.el7at.noarch\n--> Processing Dependency: socat for package: rabbitmq-server-3.7.4-2.el7at.noarch\n---> Package subversion.x86_64 0:1.7.14-11.el7_4 will be installed\n--> Processing Dependency: subversion-libs(x86-64) = 1.7.14-11.el7_4 for package: subversion-1.7.14-11.el7_4.x86_64\n--> Processing Dependency: libsvn_wc-1.so.0()(64bit) for package: subversion-1.7.14-11.el7_4.x86_64\n--> Processing Dependency: libsvn_subr-1.so.0()(64bit) for package: subversion-1.7.14-11.el7_4.x86_64\n--> Processing Dependency: libsvn_repos-1.so.0()(64bit) for package: subversion-1.7.14-11.el7_4.x86_64\n--> Processing Dependency: libsvn_ra_svn-1.so.0()(64bit) for package: subversion-1.7.14-11.el7_4.x86_64\n--> Processing Dependency: libsvn_ra_neon-1.so.0()(64bit) for package: subversion-1.7.14-11.el7_4.x86_64\n--> Processing Dependency: libsvn_ra_local-1.so.0()(64bit) for package: subversion-1.7.14-11.el7_4.x86_64\n--> Processing Dependency: libsvn_ra-1.so.0()(64bit) for package: subversion-1.7.14-11.el7_4.x86_64\n--> Processing Dependency: libsvn_fs_util-1.so.0()(64bit) for package: subversion-1.7.14-11.el7_4.x86_64\n--> Processing Dependency: libsvn_fs_fs-1.so.0()(64bit) for package: subversion-1.7.14-11.el7_4.x86_64\n--> Processing Dependency: libsvn_fs_base-1.so.0()(64bit) for package: subversion-1.7.14-11.el7_4.x86_64\n--> Processing Dependency: libsvn_fs-1.so.0()(64bit) for package: subversion-1.7.14-11.el7_4.x86_64\n--> Processing Dependency: libsvn_diff-1.so.0()(64bit) for package: subversion-1.7.14-11.el7_4.x86_64\n--> Processing Dependency: libsvn_delta-1.so.0()(64bit) for package: subversion-1.7.14-11.el7_4.x86_64\n--> Processing Dependency: libsvn_client-1.so.0()(64bit) for package: subversion-1.7.14-11.el7_4.x86_64\n--> Processing Dependency: libneon.so.27()(64bit) for package: subversion-1.7.14-11.el7_4.x86_64\n--> Processing Dependency: libaprutil-1.so.0()(64bit) for package: subversion-1.7.14-11.el7_4.x86_64\n--> Processing Dependency: libapr-1.so.0()(64bit) for package: subversion-1.7.14-11.el7_4.x86_64\n---> Package supervisor.noarch 0:3.1.4-1.el7 will be installed\n--> Processing Dependency: python-meld3 >= 0.6.5 for package: supervisor-3.1.4-1.el7.noarch\n---> Package xmlsec1.x86_64 0:1.2.20-7.el7_4 will be installed\n--> Processing Dependency: libxslt.so.1(LIBXML2_1.0.22)(64bit) for package: xmlsec1-1.2.20-7.el7_4.x86_64\n--> Processing Dependency: libxslt.so.1(LIBXML2_1.0.11)(64bit) for package: xmlsec1-1.2.20-7.el7_4.x86_64\n--> Processing Dependency: libxslt.so.1()(64bit) for package: xmlsec1-1.2.20-7.el7_4.x86_64\n---> Package xmlsec1-openssl.x86_64 0:1.2.20-7.el7_4 will be installed\n--> Running transaction check\n---> Package ansible-tower-server.x86_64 0:3.4.2-1.el7 will be installed\n--> Processing Dependency: python-crypto for package: ansible-tower-server-3.4.2-1.el7.x86_64\n---> Package apr.x86_64 0:1.4.8-3.el7_4.1 will be installed\n---> Package apr-util.x86_64 0:1.5.2-6.el7 will be installed\n---> Package erlang.x86_64 0:20.3.8.9-3.el7at will be installed\n---> Package gperftools-libs.x86_64 0:2.4-8.el7 will be installed\n--> Processing Dependency: libunwind.so.8()(64bit) for package: gperftools-libs-2.4-8.el7.x86_64\n---> Package libevent.x86_64 0:2.0.21-4.el7 will be installed\n---> Package libxslt.x86_64 0:1.1.28-5.el7 will be installed\n---> Package neon.x86_64 0:0.30.0-3.el7 will be installed\n--> Processing Dependency: libgnutls.so.28(GNUTLS_2_12)(64bit) for package: neon-0.30.0-3.el7.x86_64\n--> Processing Dependency: libgnutls.so.28(GNUTLS_1_4)(64bit) for package: neon-0.30.0-3.el7.x86_64\n--> Processing Dependency: libproxy.so.1()(64bit) for package: neon-0.30.0-3.el7.x86_64\n--> Processing Dependency: libpakchois.so.0()(64bit) for package: neon-0.30.0-3.el7.x86_64\n--> Processing Dependency: libgnutls.so.28()(64bit) for package: neon-0.30.0-3.el7.x86_64\n---> Package nginx-all-modules.noarch 1:1.14.1-1.el7at will be installed\n--> Processing Dependency: nginx-mod-stream = 1:1.14.1-1.el7at for package: 1:nginx-all-modules-1.14.1-1.el7at.noarch\n--> Processing Dependency: nginx-mod-mail = 1:1.14.1-1.el7at for package: 1:nginx-all-modules-1.14.1-1.el7at.noarch\n--> Processing Dependency: nginx-mod-http-xslt-filter = 1:1.14.1-1.el7at for package: 1:nginx-all-modules-1.14.1-1.el7at.noarch\n--> Processing Dependency: nginx-mod-http-perl = 1:1.14.1-1.el7at for package: 1:nginx-all-modules-1.14.1-1.el7at.noarch\n--> Processing Dependency: nginx-mod-http-image-filter = 1:1.14.1-1.el7at for package: 1:nginx-all-modules-1.14.1-1.el7at.noarch\n--> Processing Dependency: nginx-mod-http-geoip = 1:1.14.1-1.el7at for package: 1:nginx-all-modules-1.14.1-1.el7at.noarch\n---> Package nginx-filesystem.noarch 1:1.14.1-1.el7at will be installed\n---> Package postgresql96-libs.x86_64 0:9.6.6-1PGDG.el7 will be installed\n---> Package python-meld3.x86_64 0:0.6.10-1.el7 will be installed\n---> Package python-virtualenv.noarch 0:1.10.1-2.el7 will be installed\n--> Processing Dependency: python2-devel for package: python-virtualenv-1.10.1-2.el7.noarch\n---> Package socat.x86_64 0:1.7.3.2-2.el7 will be installed\n---> Package subversion-libs.x86_64 0:1.7.14-11.el7_4 will be installed\n--> Running transaction check\n---> Package ansible-tower-server.x86_64 0:3.4.2-1.el7 will be installed\n--> Processing Dependency: python-crypto for package: ansible-tower-server-3.4.2-1.el7.x86_64\n---> Package gnutls.x86_64 0:3.3.29-8.el7 will be installed\n--> Processing Dependency: trousers >= 0.3.11.2 for package: gnutls-3.3.29-8.el7.x86_64\n--> Processing Dependency: libnettle.so.4()(64bit) for package: gnutls-3.3.29-8.el7.x86_64\n--> Processing Dependency: libhogweed.so.2()(64bit) for package: gnutls-3.3.29-8.el7.x86_64\n---> Package libproxy.x86_64 0:0.4.11-8.el7 will be installed\n---> Package libunwind.x86_64 2:1.2-2.el7 will be installed\n---> Package nginx-mod-http-geoip.x86_64 1:1.14.1-1.el7at will be installed\n---> Package nginx-mod-http-image-filter.x86_64 1:1.14.1-1.el7at will be installed\n--> Processing Dependency: gd for package: 1:nginx-mod-http-image-filter-1.14.1-1.el7at.x86_64\n--> Processing Dependency: libgd.so.2()(64bit) for package: 1:nginx-mod-http-image-filter-1.14.1-1.el7at.x86_64\n---> Package nginx-mod-http-perl.x86_64 1:1.14.1-1.el7at will be installed\n---> Package nginx-mod-http-xslt-filter.x86_64 1:1.14.1-1.el7at will be installed\n---> Package nginx-mod-mail.x86_64 1:1.14.1-1.el7at will be installed\n---> Package nginx-mod-stream.x86_64 1:1.14.1-1.el7at will be installed\n---> Package pakchois.x86_64 0:0.4-10.el7 will be installed\n---> Package python-devel.x86_64 0:2.7.5-86.el7 will be installed\n--> Processing Dependency: python2-rpm-macros > 3-30 for package: python-devel-2.7.5-86.el7.x86_64\n--> Processing Dependency: python-rpm-macros > 3-30 for package: python-devel-2.7.5-86.el7.x86_64\n--> Running transaction check\n---> Package ansible-tower-server.x86_64 0:3.4.2-1.el7 will be installed\n--> Processing Dependency: python-crypto for package: ansible-tower-server-3.4.2-1.el7.x86_64\n---> Package gd.x86_64 0:2.0.35-26.el7 will be installed\n--> Processing Dependency: libXpm.so.4()(64bit) for package: gd-2.0.35-26.el7.x86_64\n--> Processing Dependency: libX11.so.6()(64bit) for package: gd-2.0.35-26.el7.x86_64\n---> Package nettle.x86_64 0:2.7.1-8.el7 will be installed\n---> Package python-rpm-macros.noarch 0:3-32.el7 will be installed\n--> Processing Dependency: python-srpm-macros for package: python-rpm-macros-3-32.el7.noarch\n---> Package python2-rpm-macros.noarch 0:3-32.el7 will be installed\n---> Package trousers.x86_64 0:0.3.13-1.el7 will be installed\n--> Running transaction check\n---> Package ansible-tower-server.x86_64 0:3.4.2-1.el7 will be installed\n--> Processing Dependency: python-crypto for package: ansible-tower-server-3.4.2-1.el7.x86_64\n---> Package libX11.x86_64 0:1.6.7-2.el7 will be installed\n--> Processing Dependency: libX11-common >= 1.6.7-2.el7 for package: libX11-1.6.7-2.el7.x86_64\n--> Processing Dependency: libxcb.so.1()(64bit) for package: libX11-1.6.7-2.el7.x86_64\n---> Package libXpm.x86_64 0:3.5.12-1.el7 will be installed\n---> Package python-srpm-macros.noarch 0:3-32.el7 will be installed\n--> Running transaction check\n---> Package ansible-tower-server.x86_64 0:3.4.2-1.el7 will be installed\n--> Processing Dependency: python-crypto for package: ansible-tower-server-3.4.2-1.el7.x86_64\n---> Package libX11-common.noarch 0:1.6.7-2.el7 will be installed\n---> Package libxcb.x86_64 0:1.13-1.el7 will be installed\n--> Processing Dependency: libXau.so.6()(64bit) for package: libxcb-1.13-1.el7.x86_64\n--> Running transaction check\n---> Package ansible-tower-server.x86_64 0:3.4.2-1.el7 will be installed\n--> Processing Dependency: python-crypto for package: ansible-tower-server-3.4.2-1.el7.x86_64\n---> Package libXau.x86_64 0:1.0.8-2.1.el7 will be installed\n--> Processing Conflict: python-libs-2.7.5-86.el7.x86_64 conflicts python-virtualenv < 15.1.0-1\n--> Finished Dependency Resolution\n You could try using --skip-broken to work around the problem\n You could try running: rpm -Va --nofiles --nodigest\nUploading Enabled Repositories Report\nLoaded plugins: product-id, subscription-manager\n"]}
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!
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)
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.