Varnish 3 package is in the repo /etc/yum.repos.d/varnish.repo
When I do yum --enablerepo=varnish install varnish. It says repo doesn't exist.
[root#VR1gb yum.repos.d]# rpm -qf varnish.repo
varnish-release-3.0-1.el6.noarch
[root#VR1gb yum.repos.d]# yum --enablerepo=varnish-3.0 install varnish
It prompts to install Varnish 4 again if I do that. Same thing as I do.
[root#VR1gb yum.repos.d]# yum install varnish
Instruction on Varnish page clearly doesn't work.
https://www.varnish-cache.org/installation/redhat
Within varnish.repo
[root#VR1gb yum.repos.d]# cat varnish.repo
[varnish-3.0]
name=Varnish 3.0 for Enterprise Linux el6 - $basearch
baseurl=http://repo.varnish-cache.org/redhat/varnish-3.0/el6/$basearch
enabled=1
gpgcheck=0
#gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-VARNISH
yum --disablerepo=* --enablerepo=varnish-3.0 install varnish
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
Resolving Dependencies
--> Running transaction check
---> Package varnish.x86_64 0:3.0.6-1.el6 will be installed
--> Processing Dependency: varnish-libs = 3.0.6-1.el6 for package: varnish-3.0.6-1.el6. x86_64
--> Processing Dependency: libpcre.so.0()(64bit) for package: varnish-3.0.6-1.el6.x86_64
--> Finished Dependency Resolution
Error: Package: varnish-3.0.6-1.el6.x86_64 (varnish-3.0)
Requires: varnish-libs = 3.0.6-1.el6
Installed: varnish-libs-4.0.2-1.el7.x86_64 (#epel)
varnish-libs = 4.0.2-1.el7
Available: varnish-libs-3.0.3-0.rc1.el6.x86_64 (varnish-3.0)
varnish-libs = 3.0.3-0.rc1.el6
Available: varnish-libs-3.0.3-1.el6.x86_64 (varnish-3.0)
varnish-libs = 3.0.3-1.el6
Available: varnish-libs-3.0.4-1.el6.x86_64 (varnish-3.0)
varnish-libs = 3.0.4-1.el6
Available: varnish-libs-3.0.5-1.el6.x86_64 (varnish-3.0)
varnish-libs = 3.0.5-1.el6
Available: varnish-libs-3.0.6-1.el6.x86_64 (varnish-3.0)
varnish-libs = 3.0.6-1.el6
Error: Package: varnish-3.0.6-1.el6.x86_64 (varnish-3.0)
Requires: libpcre.so.0()(64bit)
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
[root#VR1gb yum.repos.d]# rpm -qa 'varnish'
varnish-release-3.0-1.el6.noarch
[root#VR1gb yum.repos.d]# service varnish start
Starting varnish (via systemctl):
Related
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.
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
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.
When installing freenx server problem, complaining that there is no /usr/lib64/nx.
Established as follows:
> yum install nx freenx
But in the console log:
[root#q182 ~]# yum install nx freenx
Loaded plugins: fastestmirror, refresh-packagekit, security
Loading mirror speeds from cached hostfile
* base: mirror.netcologne.de
* epel: mirror.imt-systems.com
* extras: mirror.netcologne.de
* rpmforge: mirror1.hs-esslingen.de
* updates: mirror.netcologne.de
Setting up Install Process
Package nx-3.5.0-2.1.el6.centos.x86_64 already installed and latest version
Package freenx is obsoleted by freenx-server, trying to install freenx-server-0.7.3-18.el6.x86_64 instead
Resolving Dependencies
--> Running transaction check
---> Package freenx-server.x86_64 0:0.7.3-18.el6 will be installed
--> Processing Dependency: /usr/lib64/nx for package: freenx-server-0.7.3-18.el6.x86_64
--> Processing Dependency: /usr/lib64/nx for package: freenx-server-0.7.3-18.el6.x86_64
--> Finished Dependency Resolution
Error: Package: freenx-server-0.7.3-18.el6.x86_64 (atrpms)
Requires: /usr/lib64/nx
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
[root#q182 ~]#
Just add --enablerepo=atrpms-bleeding to your yum command and the nx dependency will install from there.
I'm trying to install memcached on Centos 5.4 with:
# yum install memcached
What I get is:
[root#domU-12-31-39-02-75-A8 ~]# yum -y install memcached
Failed to set locale, defaulting to C
rightscale-epel | 951 B 00:00
rpmforge | 1.1 kB 00:00
rpmforge/primary | 3.9 MB 00:01
rpmforge 10767/10767
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package memcached.x86_64 0:1.4.5-1.el5 set to be updated
--> Processing Dependency: libevent-1.4.so.2()(64bit) for package: memcached
--> Finished Dependency Resolution
memcached-1.4.5-1.el5.x86_64 from epel has depsolving problems
--> Missing Dependency: libevent-1.4.so.2()(64bit) is needed by package memcached-1.4.5-1.el5.x86_64 (epel)
Error: Missing Dependency: libevent-1.4.so.2()(64bit) is needed by package memcached-1.4.5-1.el5.x86_64 (epel)
You could try using --skip-broken to work around the problem
You could try running: package-cleanup --problems
package-cleanup --dupes
rpm -Va --nofiles --nodigest
How can I install memcached?
Thanks, Alex A.
You need to install it manually or change your yum repo:
wget ftp://rpmfind.net/linux/dag/redhat/el5/en/x86_64/testing/RPMS/libevent-1.3b-1.el5.test.x86_64.rpm
wget http://pkgs.repoforge.org/memcached/memcached-1.2.6-1.el3.rf.x86_64.rpm
rpm -ivh libevent-1.3b-1.el5.test.x86_64.rpm
rpm -ivh memcached-1.2.6-1.el3.rf.x86_64.rpm
Note, that this is an older version of memcached