Menu
  • HOME
  • TAGS

Error on Yum update

centos,yum

You have a non-official repository which provides the php55-* packages which conflict with the official php-* packages. You currently have the php-* versions installed. If you want to switch you can try manually installing the matching php55-* package for every php-* package you have installed in one yum command (though...

Where to get Yum-Folders?

linux,centos6,yum,rhel

I've never used RHEL, but from what I understand CentOS offers a complete replacement of packages/binaries. Just installing the CentOS repositories onto your RHEL system and installing CentOS and RHEL packages would, as I understand, cause conflicts and possibly an unusable system (as long as you don't install the same...

Can't install libffi-devel

yum,rhel

Looks like you already have a version of libffi-3.0.5-1.el5.6.z.x86_64 installed on your system. Check with the command and remove the rpm first. rpm -qa | grep libffi rpm -e <rpm from the above> Then try installing using: sudo yum install -y libffi libffi-devel ...

cannot download certain packages?

centos,php-fpm,yum

You appear to be trying to install the php-mcrypt package from EPEL but you have php-common installed from remi. They do not work together. Ensure that you still have the remi repo installed and enabled if you want to use the remi packages or remove the remi versions and reinstall...

Installing nodejs on Red Hat

node.js,redhat,yum

You need to update your version of CentOS 6 to 6.5+ or at least your copy of OpenSSL because the node.js package provided for CentOS 6 was compiled on a system that had a newer version of OpenSSL which is available in 6.5+. The alternative is to compile and install...

Install repositories from multiple files and recreate yum cache only once

chef,yum

I would recommend using this cookbook https://github.com/opscode-cookbooks/yum remember include in metadata.rb depends 'yum' example of how to add two custom repos: yum_repository 'custom' do description "my custom Repo" baseurl "http://localhost/#{os_release}/#{arch}/stable/" gpgkey 'http://localhost/gpg_key' action :create end yum_repository 'custom2' do description "my custom Repo" baseurl "http://localhost2/#{os_release}/#{arch}/stable/" gpgcheck false action :create end if...

Older version of mysql-devel seems to be missing from Yum?

mysql,yum

Many repository mirrors only mirror the most recent updated packages because that's what most people need and the disk space for older versions can be high. If you really need a specific version (and I would generally suggest that you do not and should not rely on a version like...

Not able to install through Yum?

linux,fedora,yum

Looks like not all your repos are valid and some of them are duplicated. Have a look at yum-config-manager, at the files in /etc/yum.repos.d/ and at /etc/yum.conf...

Getting “Existing lock /var/run/yum.pid: another copy is running as pid …” during bootstraping in EMR

yum,emr,amazon-emr

I ended up installing from the source code: wget --no-check-certificate -O Python-3.4.2.tgz "https://www.python.org/ftp/python/3.4.2/Python-3.4.2.tgz" tar xvfz Python-3.4.2.tgz cd Python-3.4.2 ./configure make sudo make altinstall ...

Can't install PHP Package on CentOS

php,linux,centos,yum

I fixed it! The issue was that I had the from version of EL installed. I removed all my extra repo's, removed all php packages, removed httpd. Ran the following: yum install epel-release rpm -Uvh https://mirror.webtatic.com/yum/el7/webtatic-release.rpm yum clean yum update I was then able to install PHP using the following...

Can't override libpng15 with newer install

linux,uninstall,yum,libpng

If you want libpng16 to go in your $HOME/ then, in your libpng directory, run ./configure --prefix=$HOME ./make ./make install This will install png*.h in $HOME/include/, libpng-config in $HOME/bin/, and the library itself in $HOME/lib/. If you want to put it in some other directory where you don't have write...

Bash Centos7 “which” command

bash,command,yum,which,centos7

To find a package in CentOS, use yum whatprovides: yum whatprovides *bin/which In this particular case, the package is called which, so yum install which should pull it in....

Centos yum shows different latest versions

centos,webserver,yum

mod-pagespeed-beta and mod-pagespeed-stable are not the same package. Install whichever of those you want on both servers and you will likely have the same version. Assuming the mirrors are both up-to-date as you were told on the version of this question you posted to serverfault.

How to yum install Node.JS on Amazon Linux

node.js,amazon-web-services,amazon-ec2,npm,yum

Stumbled onto this, was strangely hard to find again later. Putting here for posterity: sudo yum install nodejs npm --enablerepo=epel The option --enablerepo=epel causes yum to search for the packages in the EPEL repository. EPEL (Extra Packages for Enterprise Linux) is open source and free community based repository project from...

Bash scripts - is installing in this way good practice?

linux,bash,centos,yum

First, things will go faster if you simply combine all your yum commands into a single invocation: yum -y install nano mlocate bind bind-utils \ php-mbstring aide psacct screen tmux iperf ipset rsync \ htop innotop dstat traceroute strace ltrace rkhunter \ nmap curl curl-devel php-pear php-xml php-devel gcc \...

Installing matplotlib on RedHat ideally using yum

python,linux,matplotlib,install,yum

I built from source. :( Surprisingly not that difficult, but ran into a lot of problems doing the interactive part (Redhat 4 is too old to have packages for most things that let you do interactive backends, I need a newer machine). # get matplotlib wget https://downloads.sourceforge.net/project/matplotlib/matplotlib/matplotlib-1.4.3/matplotlib-1.4.3.tar.gz #uncompress tar xvzf...

Yum command unexpected behaviour

ssh,rpm,yum

You configured yum with an enabled railgun repository only that repository is broken and yum is attempting to prevent you from getting into further harm by only operating when all enabled repositories are available. There is likely a railgun.repo file in the /etc/yum.repos.d directory. You can edit it to changed...

How to check if linux host is up-to-date with python yum module

python,linux,rpm,yum

After debugging the commandline (python) scripts I found a solution how to check for updates ... see here

what is php-common and what does it do?

php,centos,yum

To answer the question, here's what's in php-common on Redhat Enterprise 6.4 version of the package: [[email protected] ~]$ rpm -ql php-common /etc/php.d /etc/php.d/curl.ini /etc/php.d/fileinfo.ini /etc/php.d/json.ini /etc/php.d/phar.ini /etc/php.d/zip.ini /etc/php.ini /usr/lib64/php /usr/lib64/php/modules /usr/lib64/php/modules/curl.so /usr/lib64/php/modules/fileinfo.so /usr/lib64/php/modules/json.so /usr/lib64/php/modules/phar.so /usr/lib64/php/modules/zip.so /usr/lib64/php/pear /usr/share/doc/php-common-5.3.3...

Installing libxslt on CentOs 6.5

python,centos,yum,libxslt

I downloaded libgpg-error-devel, libgpg-error-devel-1.7-4.el6.x86_64.rpm and libxslt-devel-1.1.26-2.el6_3.1.x86_64.rpm and installed using rpm -i. Then I installed lxml using pip. Just posting my work as it may be helpful for someone else. Thank you everyone

YUM: Upgrade a package from a different repo

yum

I tried several things such as change the priority higher for repob, temporarily remove the repoa, but none of them working. I guess I need to remove it then do reinstallation from repob....

Yum update --security subversion issue

yum,rhel6

It turns out it was a n00b issue, although I had the @rhel-x86_64-server-optional-6 channel, I hadn't cleared the yum cache! # yum clean all # yum repolist Sorted it....

Is there anyway to install scala without sbt?

scala,install,sbt,fedora,yum

You should have Java installed: sudo yum install java-1.8.0-openjdk.x86_64 Then download and install Scala: wget http://www.scala-lang.org/files/archive/scala-2.11.7.tgz tar xvf scala-2.11.7.tgz sudo mv scala-2.11.7 /usr/lib sudo ln -s /usr/lib/scala-2.11.7 /usr/lib/scala echo "export PATH=$PATH:/usr/lib/scala/bin" >> ~/.bashrc rm scala-2.11.7.tgz ...

Why does RPM think version 1.03ii > 1.1?

python,packaging,rpm,yum

From http://rpm5.org/docs/api/dependencies.html, emphasis mine The algorithm that RPM uses to determine the version ordering of packages is simple and developers are encouraged not to rely on the details of its working. Developers should keep their numbering scheme simple so any reasonable ordering algorithm would work. The version comparison algorithm is...

yum transaction check error when installing mysql

mysql,linux,yum,centos5

Managed to resolve this now, typically as soon as I'd asked the question. Running rpm -qa mysql\* showed me this mysqlclient.jason thing, which I was able to remove with rpm -e and then it let me install...

How to configure system to use the FI-WARE yum repository?

yum,fiware,filab

You need to add a file testbed-fi-ware.repo in /etc/yum.repos.d/ with the following lines: [testbed-fi-ware] name=Fiware Repository baseurl=http://repositories.testbed.fi-ware.org/repo/rpm/x86_64/ gpgcheck=0 enabled=1 I hope it helps you....

Redhat Yum install issue zlib_1.2.2

redhat,yum,rhel

Here's what ended up working for me: wget https://elearning.erlang-solutions.com/couchdb//rbingen_adapter//package_R16B_centos664_1361907767/esl-erlang-R16B-2.x86_64.rpm yum install esl-erlang-R16B-2.x86_64.rpm wget https://github.com/jasonmcintosh/esl-erlang-compat/blob/master/rpmbuild/RPMS/noarch/esl-erlang-compat-R14B-1.el6.noarch.rpm?raw=true yum install esl-erlang-compat-R14B-1.el6.noarch.rpm...

repoquery gives no output for a package even though the package is installed (yum-utils)

linux,centos,redhat,rpm,yum

I came across this problem and resolved it by adding the option --pkgnarrow=installed. I suspect repoquery is a little buggy in this regard. I found that some packages would appear even if they were installed, while others would not, unless I added the pkgnarrow option. You could also use --pkgnarrow=all....

How do I make my application installable via Yum package manager?

linux,yum,package-managers

Yum is installing rpm packages from a repository. So basically, you need to package your app via rpm and then publish it in some repository, which is usually a folder accessed via http/ftp. The rather old documentation contains the basic informations you will want to read on yum repositories. The...

How to create a YUM proxy with Nexus OSS on Windows

windows-7,open-source,nexus,yum

The Nexus yum support in Nexus 2 relies on the native createrepo and mergerepo commands. As such it needs to be run on a OS that allows these tools to be installed. Read more about this in the yum chapter of the Nexus documentation. Nexus 3 no longer relies on...

PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib64/php/modules/memcached.so' - /usr/lib64/php/modules/memcached.so

php,centos,memcached,yum,centos6.5

You have installed php from "remi" repository which is not enabled by default. So you need to enable it to install additional PHP extension, with correct ABI compatibility. yum --enablerepo=remi install php-pecl-memcache Read the FAQ : http://blog.remirepo.net/pages/English-FAQ#enable...

How can I know what requires yum to install those dependencies?

linux,dependencies,yum,fedora-21

rpm -q --whatrequires R-core might tell you. If it doesn't it might be a library or binary dependency and so you'll need to run yum whatrequires on the various libraries/binaries listed in the output from rpm -q --provides R-core and/or rpm -ql R-core. That being said the fact that you...

php command not found after yum install php55-php-cli

php,centos,yum

Hey all and future me (I will of forgotten this next year), To fix this issue I did two things. yum install php55 source /opt/remi/php55/enable to test running php -v now works update if you are using puppet you cannot run the command source so I found another solution When...

how to use yum install the rpms listed in redhat/el6/x86_64/

redhat,rpm,yum

It's simple, just create a file named marmatte.repo in /etc/yum.repos.d, and content is as below: [marmotte] name=marmotte baseurl=http://dl.marmotte.net/rpms/redhat/el6/x86_64/ enabled=1 gpgcheck=0 After saving it, run yum makecache....

Puppet include all repositories before installing package

postgresql,puppet,redhat,yum

The relationship between the classes is built, but this is insufficient, because relationships will not typically cross class include boundaries. Error: /Stage[main]/Postgresql::Server::Install/Package[postgresql-server]/ensure: change from absent to present failed: Execution of '/usr/bin/yum -d 0 -e 0 -y list postgresql91-server' returned 1: Error: No matching Packages to list Please note that this...

Cannot find a package in yum repo list

tomcat,centos,yum

Your Yum is configured to search for the default yum repositories and if it can't find the package in that repository, you need to specify the appropriate repository hosting the package. You could specify this using https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/6/html/Deployment_Guide/sec-Managing_Yum_Repositories.html The below articles might help you install tomcat-native http://linuxfreaks.in/tomcat-native-library-apr-installation-on-centos/...