Questions tagged [yum]
YUM is an open-source command-line package-management utility for RPM-compatible Linux operating systems.
1,469
questions
4
votes
1
answer
2k
views
yumdownloader downloads only i686 resolved rpms
Having CentOS 6.3 installed on x86_64.
Below I'll demonstrate my problem using parted package.
Running:
yumdownloader --destdir=001 --assumeyes --resolve parted
As a result downloaded the ...
2
votes
2
answers
5k
views
I've accidently removed sudo and yum from my linux server
I've been trying to upgrade PHP on a linux server. Using the instructions given on this page I ran this command:
sudo yum remove php php-cli php-common php-devel php-gd php-mbstring
Somehow, ever ...
2
votes
1
answer
3k
views
Local yum repo for multiple versions
I would like to setup a local repo for rhel 5 and 6. Can this be done on 1 server, or do I need one server for each major version?
We have a valid, legal subscription with RH, but we would rather not ...
1
vote
2
answers
3k
views
mrepo - How to keep old version
I have a local yum repo that is updated via mrepo / createrepo, all my servers are targeting this local repo for their updates but it's always installing the last version which isn't good for a ...
1
vote
2
answers
2k
views
Trying to install SVN client Scientific Linux
I am trying to install SVN client on Scientific Linux but I am getting the following output if I do a "sudo yum install subversion"
Loaded plugins: refresh-packagekit, security
Setting up Install ...
1
vote
1
answer
2k
views
Yum Hangs on "Setting up repositories"
When running the following command, yum hangs on Setting up repositories.
[vagrant@centos48 yum.repos.d]$ sudo yum install emacs
Setting up Install Process
Setting up repositories
yum.conf
[vagrant@...
-1
votes
1
answer
296
views
How do you determine what package is compatible with installed software CentOS 5.8
When I do a yum list httpd I get the following version returned:
httpd.x86_64 1:2.2.22-12053112
When I try to do a yum install httpd-devel I get dependency errors like this:
httpd-devel-2.2.3-...
2
votes
2
answers
355
views
Potential issues with "yum update ./*.rpm"?
I've got a batch machines to update this week, but I'm not quite confident with our established procedure. It basically runs like so for each machine:
Mount a shared directory particular to the OS ...
0
votes
1
answer
372
views
php-soap 5.3.17-2 el6 x86_64
I just transferred a website to a server where I appear to lack the PHP-SOAP extension.
Unfortunately I cannot upgrade to the 5.4.10 that is available on remi at the moment as I am not 100% sure if ...
2
votes
2
answers
2k
views
Puppet package installation on Linux/CentOS
I am new to Puppet - I have been playing around learning the basics. Most of the examples ( except the very basic ones ) that are on the puppet page do not work for me - either some dependency is ...
1
vote
2
answers
828
views
Installing php-fpm over php version missmatched
I have PHP installed by yum from the base @updates repository on Centos 6.3:
php x86_64 5.3.3-14.el6_3 @updates 3.5 M
I would like to install php-fpm version 5.3 because our web software works only ...
2
votes
3
answers
6k
views
How can I get the git-all meta package on RHEL 6.2
I believe I'm missing some of the common git addons, such as gitk, and I suspect it is because I installed git using
sudo yum install git
as the information for that package lists:
: The ...
3
votes
2
answers
4k
views
rpmbuild on CentOS 6.3 64-bit - broken dependencies
I'm trying to build a package using rpmbuild on 64-bit CentOS 6.3 server.
Here is the spec file:
Name: test-fms
Version: 1.0
Release: 1%{?dist}
Summary: my FMS Package
...
1
vote
3
answers
5k
views
/usr/bin/python (Python 2.4) was deleted on CentOS 5. I compiled from source but yum is still broken. How can I get everything back to the way it was?
I saw a lot of other questions like this but none of them answered the exact part I am having trouble with (actually installing the Python RPM). Someone on my system deleted /usr/bin/python and /usr/...
7
votes
3
answers
3k
views
Specifying a source in puppet doesn't seem to work
I have been attempting to create a manifest for installing postgres 9.1 using puppet on a Centos 5 server. I have been trying to adapt the instructions at http://wiki.postgresql.org/wiki/...
12
votes
2
answers
17k
views
What is the yum equivalent of dpkg -L?
dpkg -L lists all the files provided by a package. How is this accomplished with yum?
The operating system is Scientific Linux 6.
0
votes
3
answers
23k
views
How can I get the "base" repository for yum in RHEL 6?
My goal is to try and install git on a RHEL 6 machine.
I've seen the post here: How can I install git on RHEL 6?
And the answer refers to a download link that appears part of centOS: http://mirror....
-2
votes
2
answers
2k
views
Issues on Centos Repo [closed]
Can someone help me to solve the below problem. I'm not able to install any software with yum.
Error Displayed
# yum update
Loaded plugins: fastestmirror
Determining fastest mirrors
YumRepo Error: ...
22
votes
3
answers
60k
views
How do I upgrade to the latest PHP version in CentOS with yum?
I found some blog posts about this, but it's rather lack of descriptions on possible side effects.
I could really use some detailed on these steps:
How to add a repo that provides PHP 5.4 into yum
...
-2
votes
1
answer
137
views
yum issue - error msg [closed]
i am using oracle linux server 6.2.
yum does not work.
a manual wget was already used according to
https://blogs.oracle.com/OTNGarage/entry/how_to_subscribe_to_the
.
there is always something about ...
1
vote
1
answer
114
views
How to prevent PHP update from creating generic config file and changing permissions
We use suPHP and whenever our php packages are updated, a new php.conf file is dropped into the apache config folder (/etc/httpd/conf.d) and this causes 500 error's as it configures the handler for ...
2
votes
1
answer
4k
views
Centos 6, local yum repo, and multiple versions of the same rpm
I'm trying to set up a really simple local repo. I want to have a basic repo with two versions of only one rpm, so I did:
mkdir /packages/x64
copy two rpms to /packages/x64
[root@repo x64]# ...
1
vote
1
answer
4k
views
Alternatives to dl() in PHP?
We have a third-party package that requires the use of the PHP dl() function to load a binary extension. This function has been deprecated and removed as of PHP 5.3, so we're looking for a way to get ...
1
vote
2
answers
15k
views
SUDO YUM not found
I am running a Amazon ec2 instance on amazon's linux.
Whenever I run anything sudo yum it give me this:
sudo: yum: command not found
ec2-user$ rpm -qf /usr/bin/yum
yum-3.2.29-30.24.amzn1.noarch
...
4
votes
3
answers
4k
views
local rpm repostry, that contains all packages installed on system
what I'm trying to is to make a USB disk with local repository / directory for offline installation (or upgrade) of Linux servers. Why !?
Simple, I’m working on maintenance of huge cluster of asterisk ...
0
votes
1
answer
305
views
zlib/libxml2 duplicate package?
I've been updating my amazon ec2 micro instance every month till now.
when i try to "yum update" i receive this error :
zlib-1.2.5-7.11.amzn1.x86_64 has installed conflicts libxml2 < ('0', '2.7.7',...
1
vote
1
answer
230
views
Multiple identical GPG Keys. What can cause that?
I'm using OpsCode Chef to manage all my VMs, but since the last week, I'm having issues with one VM.
When running chef, it hangs right at the beginning. After a bit of investigation, I found out that ...
1
vote
1
answer
1k
views
Cenros 6.3 install php-imap cross-repo fails
I am trying to install php-imap support on Centos 6.3
yum install php-imap
Installation failed due to repos has different php versions:
Resolving Dependencies
--> Running transaction check
---&...
3
votes
1
answer
4k
views
Where does yum install software to?
When I install executable I know I can easily run which sometool and find it (for most cases) but how about when I install something like apr or apr-util where does it install it to? I need to pass ...
16
votes
7
answers
30k
views
Yum doesn't install latest version of Git on Centos6
When I go to Gits download section it mentions that latest version is 1.8 and I can install it by yum install git on Fedora. I'm running CentOS6 so that command should also work for me, but yum tells ...
-1
votes
1
answer
2k
views
YUM error. Is this a cert error
Nov 13 13:38:57 host abrt: detected unhandled Python exception in '/usr/bin/yum'
Nov 13 13:38:57 host abrtd: New client connected
Nov 13 13:38:57 host abrt-server[3508]: Saved Python crash dump of pid ...
2
votes
1
answer
2k
views
gcc46 and no c compiler found on Amazon EC2
I've been trying to install Gearman on my EC2 instance, but when I try to ./configure gearmand, I get this:
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-...
0
votes
3
answers
630
views
yum fails installing php53-devel.x86_64
I need to recompile php on a Fedora server because I need to use the --enable-zip flag. When trying to install the devel package, I get the following message. This is after a 'yum clean all':
yum ...
2
votes
1
answer
19k
views
Install PHP 5.3 on Centos 6
I am setting up a staging server using CentOS and need to install PHP 5.3 to mirror my production server. Using the standard yum install php I'm sure will give me 5.4 - I've had a look and can't ...
1
vote
2
answers
2k
views
Unresolved dependency after yum update crash (broken ssh connection)
Today I was updating one of production server (one of many to test updates and then update the rest of computers).
Soon after run yum update ssh connection was broken :/ . After login once again ...
17
votes
1
answer
47k
views
How to install libboost-devel on CentOS 6.3
How to install libboost-devel on CentOS 6.3?
I have tried the following command:
yum install libboost-devel
Output:
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base:...
1
vote
1
answer
615
views
yum update with shared cache
We've got a big batch of RHEL6 machines that are due for patching, and for some reason the process here does not involve a local repo. I'm new here, I've asked why, ["it just didn't work"] and I don't ...
6
votes
4
answers
6k
views
Centos 6.3 install reiserFS support
I'm trying to change an existing ext4 partition to reiserFS in Centos 6.3 64bit.
I've updated the kernel to Centos Plus:
First, I've updated /etc/yum.repos.d/CentOS-Base.repo:
In the [centosplus] ...
2
votes
0
answers
305
views
how to keep a rpm package during system upgrade?
I have a custom built rpm package which I installed manually (via rpm -Uvh / or yum localinstall). If I do an upgradee from CentOS5 to CentOS6 this package is removed and, because it missing in the ...
0
votes
1
answer
1k
views
Dependency loop while trying to install gcc on Fedora 17
I'm trying to yum install gcc but getting this message.
Error: Package: glibc-common-2.15-37.fc17.i686 (@anaconda-0)
Requires: glibc = 2.15-37.fc17
Removing: glibc-2.15-37.fc17.i686 (@...
182
votes
2
answers
193k
views
How do you answer yes for yum install automatically
In centos how do you answer yes automatically for yum install so that it is an unassisted install?
1
vote
3
answers
2k
views
How to know what changes YUM UPDATE is going to apply?
How to know what changes YUM UPDATE is going to apply?
I know you can see the list of packages that are going to be updated, but I'd like to know what detailed changes are going to be aplied in ...
1
vote
1
answer
4k
views
Puppet yum repo - Pull down 2.7.x vs 3.0.x
So a few weeks ago I started on the path to using puppet to automate all the configs/services. At the time I was using the EPEL repo, which installed version 2.6.x. After some reading I was trying to ...
1
vote
2
answers
615
views
Making sense of the RHEL release string when looking at yum info output?
I am trying to understand how interpret the release field displayed by yum info on RHEL 6. for example the commands below give wildly different values for Relase, what exactly is release refering to, ...
8
votes
7
answers
49k
views
Clear OS always showing "Operation too slow. Less than 1 bytes/sec"
Have been trying to install clear os addon but nothing is working as i am facing this error on every mirror in the .repo file.
# yum install squid
http://mirror2-dallas.clearsdn.com/clearos/core/6/...
4
votes
2
answers
16k
views
How to install java-1.7.0-openjdk-devel on RHEL Server 6.3?
I have need of installing a Java 7 development environment on a RHEL 6.3 (system details are below). Following the official OpenJDK directions I tried yum install java-1.7.0-openjdk-devel (as root). ...
4
votes
3
answers
12k
views
Install xdebug for php 5.3.17 on centos 6.3 (final)
I'm really having difficulty finding out how to install xdebug for php 5.3.17 on centos 6.3.
I've tried this link (for centos 5.6 admittedly) but had no luck.
Can anyone point to the right RPM ...
0
votes
1
answer
3k
views
Installing mod_ssl on Centos, dependency issue
I'm installing a SSL certificate for a currently productive CentOS 5.8 (final)
So I runned this:
yum install mod_ssl
and got this:
Error: Missing Dependency: httpd = 2.2.3-65.el5.centos is needed ...
5
votes
1
answer
586
views
When should one use EPEL 5 or EPEL 6?
I am not familiar with repos, and I don't get why there are several versions of EPEL (this is a bit philosophical I know, but I am afraid I am missing something in all that).
Should I just look ...
0
votes
2
answers
954
views
Install passenger with yum-installed nginx
Is it possible to install passenger into nginx that has been installed previously using yum?
I need to provide a directory prefix for the install-nginx-module, just wondering where that would be on ...