RPM Package Manager is a package management system used primarily for GNU/Linux operating systems. It used the .rpm file format.

learn more… | top users | synonyms

2
votes
1answer
147 views

What's the correct way of updating 3rd party component configuration when using RPM?

We're using RPM for packaging and deployment of our product. Our product depends on other components, like postgresql database, etc., which are specified in our .spec file. Let's say, one of 3rd party ...
-1
votes
2answers
1k views

What is the difference between rpm file and 'make' source code from installation perspective [closed]

The RPM is compiled file package which is easy to use. The problem is some RPMs need much dependencies which is annoying. I have to search and download the dependency RPMs. Alternatively, I can ...
0
votes
3answers
3k views

How to install MariaDB rpms in CentOS 6.4 using rpm (not yum cmd) + handling mysql-libs conflicts

I need to script the install of MariaDB using the rpm command in CentOS 6.4. I can't use yum since it's going to be an offline install so there's no access to the repository. The only MySQL package ...
-1
votes
1answer
46 views

VMWare, Debian or RPM based [closed]

I need some advice, I am installing a monitoring tool on a VMWare server, and I need ask a stupid question :p Is a VMWare ESXi 5.1 server, Ubuntu or RPM based? Thanks
13
votes
2answers
14k views

Do I need a RHEL subscription to install packages?

I'm new to RHEL. Trying to install software this morning and running into road blocks. Is it required to have a subscription to download packages via yum on RHEL? I'm coming across different sources ...
2
votes
2answers
453 views

Restore old /etc onto newer system (CentOS)

In order to save space, I don't backup /usr (except /usr/local), /bin, /sbin and /lib. Instead I do a rpm -qa --qf '%{NAME}\n' to get a list of packages I need to install to restore the content of ...
0
votes
1answer
436 views

Failed to build rpm from source

I want to build a package from source, basically all I did was downloading Percona-Server-56-5.6.12-rc60.4.393.rhel6.src.rpm and adding -DWITH_INNODB_MEMCACHED=ON to spec file. http://www.percona.com/...
1
vote
1answer
102 views

Configuration options of rpm

How can I check rpm configuration options used to build mysql-server? I want to include memcached support for mysql, therefor I've to reinstall mysql-server from source and I need to know the exact ...
0
votes
3answers
2k views

newer libmysqlclient.so creates a conflicts with a php-mysql install

I have a working MySQL 5.6 server on a CentOS 6.4 I'm trying tp get PHP working as well, and to create a connection to the MySQL. As I understand I need the following components : php and php-mysql ...
0
votes
3answers
191 views

MySQL-devel installed but cannot be detected by rpmbuild?

I've been trying to build apr-util-1.5.2 on CentOS 6 64bit. I've ran into this problem: # rpmbuild -tb apr-util-1.5.2.tar.bz2 error: Failed build dependencies: mysql-devel is needed by apr-...
0
votes
2answers
886 views

I'm unable to use rpmbuild to build nagios-3.5.0 RPM @RHEL6

I'm unable to build RPM w/ nagios 3.5.0 (last one that worked for me was 3.2.3): # md5sum nagios-3.5.0.tar.gz aeef195d2033cc362bf6cb972bcc8f07 nagios-3.5.0.tar.gz # rpmbuild -tb nagios-3.5.0.tar.gz ...
1
vote
2answers
663 views

Linux - Package version maintenance across multiple servers

Problem: If I spin up a server1 today, all installed packages will be based on current upstream versions. If I spin up server2 tomorrow, again, all installed packages will be based on upstream ...
0
votes
1answer
46 views

Linux - Upstream package version no longer available

On my dev server I am running Percona (5.5.27), and have just spun up another server to act as a staging area for public access to a new project. I am trying to control package versions by using yum ...
3
votes
3answers
5k views

RPM ignore conflicts

is there a way to ignore rpm version conflicts by keeping the latest version installed? For example. I want to install gawk in AIX. I have all the required rpms in a folder bash-4.2-11.aix5.1.ppc....
3
votes
2answers
7k views

XenServer 6.2 Yum Repository

I installed a clean XenServer 6.2 from the ISOs provided here. I want to compile a driver against this system and need to install make and sources and so on. If I do yum install make I get [root@...
2
votes
2answers
3k views

Recover CentOS missing YUM and RPM

This is the history: I have (or had), a linux box with CentOS 5.9 and a pre installed LAMP configuration. It was working but was too out of date, for instance mysql was version 4. So I decided to ...
6
votes
3answers
486 views

Is it good practice to just copy Perl modules via RPM?

A few applications on our RHEL6 servers depend on a few Perl modules being present. I would like to add these Perl modules as part of the Kickstart process when turning up new hosts. As opposed to ...
4
votes
1answer
238 views

How to prevent installation of incompatible rpm packages

I have two rpm packages wich should not get installed together. After googling around i assume there is no RequiresNot tag or something similar to specify incompatible packages in a specfile. What ...
0
votes
3answers
1k views

Is there a way to get Satellite 5.3 to list which packages are installed on each system?

I'm trying to generate a list of all the packages installed per server without having to go through each using rpm. I'm thinking Satellite should be able to provide this in a decent (hopefully easily ...
-1
votes
1answer
317 views

Building debuginfo RPM at alternate prefix

I have an RPM that I'm building to install at an alternate root via %define _prefix /home/other/root This works fine for the binary package. The -debuginfo package, however, still lists all of its ...
1
vote
3answers
702 views

What is the RedHat/CentOS equivalent of Ubuntu's “unstable -> testing -> stable” repo nomenclature?

I used to work in a Ubuntu environment. Machines would be pointed at one of three repos: unstable, testing, or stable. To quote the Ubuntu FAQ: The “stable” distribution contains the latest ...
0
votes
1answer
46 views

Can't locate cron service, how to start it?

# rpm -qa | grep cron crontabs-1.10-5.noarch I have the above version of cron installed on my RHEL 6 server. My crontabs commands aren't reconginzed: # crontabs -l -bash: crontabs: command not ...
0
votes
2answers
2k views

Updating epel repo to 6 - epel-release-6-x.noarch conflicts with file from package epel-release-5-x.noarch

I am following an epel repo upgrade guide from Centos 5 to Centos 6 here (http://www.thegeekstuff.com/2012/06/enable-epel-repository/ and http://www.linuxquestions.org/questions/linux-server-73/epel-...
0
votes
2answers
120 views

Use RPM to add rsyslog rule

I'm using an RPM to install a binary and some config files to CentOS. My issue is that I need to find a way to set up the rsyslog rules during the RPM install. Up until now I've just been adding the ...
1
vote
1answer
255 views

Ordering RPM virtual packages

I have following packages, built by my RPM spec: libevent backend %package -n libfoo-libevent Summary: libevent backend for FOO Provides: libfoo-backend Requires: libevent >= 1.4 libev backend ...
3
votes
1answer
2k views

Unable to set proxy to “subscription-manager repos --list” -command

I have RHEL6 system that is registered to rhn via subscription-manager. I'am trying to install package java-1.6.0-sun-devel which is in rhel-6-server-optional-rpms repository, According to this Redhat ...
-2
votes
1answer
44 views

Trouble installing rpm package [closed]

This is probably a dumb question. I need to install the rpm package as listed here: http://www.securityspace.com/smysecure/catid.html?in=CESA-2012:0467 but I simply don't know where it is hosted. I ...
0
votes
1answer
650 views

Download RPM packages for command which is already installed [closed]

I have a centos machine in which i already installed openssl-devel using $ yum install openssl-devel It downloaded and installed all the dependency packages Now I need all those rpm packages , ...
0
votes
1answer
138 views

Building apache 2.4 RPM

I'm trying to build up-to-date packages for httpd... I would like to build Apache 2.4.4 (latest) as an RPM. so that i can install on multiple servers and not compile each time... When i try to do '...
0
votes
1answer
332 views

Puppet - Ensure cent base repo is present

Using a puppet manifest, how do you ensure the official cent 'base' repo is present. Example to add an internal cent repo http://seriousbirder.com/blogs/how-to-create-a-puppet-yum-repo-module/ ...
-1
votes
1answer
277 views

Rebuild rpm under centos [closed]

i need to install MySQL 4.1 under a Centos web server(My centos release is 6.4, x86_64), can anyone please help me with rebuilding so many dependencies? I use rpmrebuild command and gcc, gcc-c++ are ...
1
vote
2answers
527 views

Yum command to downgrade packages

I need to downgrade php on a server and found the command below. Something seems to be wrong with the syntax. yum downgrade $(rpm -qa --qf "%{NAME} " | \ grep -v ioncube | grep ^php | ...
4
votes
1answer
625 views

How to escape spaces in an rpm spec “source” item?

I'm trying to build an RPM, but the source file from the vendor has a space in the filename, and there doesn't seem to be any good way to escape the filename so that it builds. I've tried putting a \ ...
0
votes
2answers
980 views

rpmbuild missing from rhel 6.3

I have a fresh new RHEL 6.3. I cannot access internet and because of this I cannot use yum. I would like to use the RPMs I get from the Red Hat package (2 discs full or RPMS). These are all files ....
0
votes
2answers
422 views

red hat enterprise 6.3 repository for yum via internet

I have installed a red hat enterprise 6.3 from scratch. The machine is surely connected to internet. When I do yum repolist I got 0. As far as I understood this happens because I didn't activated my ...
0
votes
1answer
327 views

yum and rpm nothing happens

I am experiencing an odd problem in CentOS 6. when I try to use yum or rpm nothing happens. For example if I type yum update it simply returns to the command prompt. I have checked that yum and ...
0
votes
1answer
710 views

Why can't RPM find dependencies, although they are installed?

Im' trying to rpm -ivh an RPM package. The install fails, saying that php53 dependencies are failing. However, I installed these packages in that very same version, so I don't understand why rpm ...
2
votes
1answer
848 views

Why aren't my packages being included from my custom yum repository?

We have a custom yum repository created using createrepo, which is hosted in an Amazon S3 bucket. We're using the yum-s3-iam plugin configured as explained in this blog post. to allow our ec2-...
0
votes
2answers
1k views

How to stop services in spec file

I have this spec file that will install numerous rpm packages such as apache, mysql, etc. I'm new to building rpms and I did looked at the Fedora documentation but I did not find the answer to my ...
1
vote
1answer
258 views

Running rpm does nothing

I'm not sure what happened with rpm on my system. This is a CentOS 6.3 VM hosted on Amazon EC2 if that makes a difference. When I run any rpm commands, it returns to the command prompt doing nothing. ...
0
votes
1answer
173 views

How to build from source on CentOS 5.9?

I'm building iptraf-ng on CentOS 5.9 and running into the following errors: src/packet.c: In function ‘packet_process’: src/packet.c:322: error: ‘ETH_P_QINQ1’ undeclared (first use in this function) ...
0
votes
1answer
58 views

rpm to track system version requiring all rpms as dependency surpasses 8k per line limit

I would like to be able to install one package that tracks the version of the system. If this package is installed I would like to be able to guarantee that the system is at the appropriate update ...
0
votes
1answer
316 views

Upgrading ImageMagick RHEL 5 [closed]

We have been using ImageMagick for quite some time with out any trouble. However, today we can across an pdf we were trying to convert into a jpg thumbnail, which would fail: $ convert example.pdf -...
1
vote
3answers
1k views

Where should I get rpms for Red Hat Linux release 9 (Shrike) [closed]

I need a recent version of the C++ standard library (version 6). What is the best way to get this on our RedHat server? I noticed that up2date is not setup. Instead, is there a standard safe ...
0
votes
2answers
483 views

Any good yum repository management dashboards?

I'm currently managing hundreds of CentOS/Amazon Linux servers, and our homegrown tools for managing the myriad package versions seems inadequate and unnecessary. What I'm looking for is a tool that ...
12
votes
1answer
407 views

Can you help me with my software dependency issue?

This is a Canonical Question about Compile Dependencies and Package Management. I have a question regarding compiling ports/software or installing RPMs on my *nix server. When I try to do this I ...
1
vote
1answer
298 views

RPM packages with dependencies based on a major version of software (i.e php 5.3 with it's addons and then php 5.4)

Scenario: PHP5.3 php-5.3.21-1_x86_64.rpm (base) php-pecl-memcache-3.0.6-1_x86_64.rpm (dependant on above because of the internal PHP ABI version change) PHP5.4 php-5.4.13-1_x86_64.rpm (base) ...
0
votes
1answer
248 views

Why doesn't build of net-snmp-5.7.2 provide /etc/rc.d/init.d/snmptrapd?

I am packaging an RPM for RHEL6, built from net-snmp-5.7.2.tar.gz. I see that the file /etc/rc.d/init.d/snmpd gets created and packaged but I do not see the init file for /etc/rc.d/init.d/snmptrapd. ...
1
vote
3answers
24k views

Setting RHEL default yum repositories

I've been tasked with setting up PHP on a RHEL 6 server. running yum install php gives me the following output: Loaded plugins: product-id, refresh-packagekit, security, subscription-manager ...
0
votes
1answer
2k views

can not install glibc-devel 'Requires: libnss_files.so.2' error

I'm using Linux 6.1 I need to install glibc-devel but it fails with this error. [root@server1 Packages]# yum install glibc-devel-2.12-1.25.el6.i686.rpm Loaded plugins: refresh-packagekit Setting up ...