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

1
vote
1answer
524 views

Difference between rpm php and php54 packages from remi repo

I am doing some system automation where we need php 54. We install this from the remi repo. I can't tell what's different other than size in the two below: ...
0
votes
0answers
177 views

Logstash from RPM fails to run under nice command

I downloaded the Logstash RPM logtsash-1.4.2-1_2c0f5a1.noarch from the official site, but have been having problems getting it to run from the init script. I get no log data passed to ...
-1
votes
1answer
372 views

Build gcc 4.1.2 from src RPM on a CentOS 5.10 [closed]

I need an advice on how to compile gcc 4.1.2 on a CentOS 5.10. The long story: I've a got a Citrix XenServer Creedence beta 1 up and running OK. It has actually CentOS 5.10 as the dom0. This can be ...
3
votes
1answer
5k views

Bad signatures or NOKEY errors on RPMs I just signed

I'm having serious problems getting RPM signing working for RHEL / CentOS 5 hosts. TL;DR: RPM signing isn't working, and it's working in a variety of insane and erratic ways depending on the exact ...
2
votes
2answers
99 views

facing issue while installing oracle Database 11g on rhel5 And SOA

While installing required rpms for both SOA and Oracle the below rpms are conflicting with each other glibc-devel-2.5-49.x86_64.rpm and glibc-devel-2.5-24.i386.rpm How can I fix it? one package gets ...
0
votes
1answer
245 views

How do I find out what RPMs make up a “yum group install”?

I am trying to install the Gnome Desktop Environment on a RHEL 5 system. I am NOT connected to the internet and do NOT have any local repo or the install disks. Under normal circumstances, where a ...
1
vote
1answer
100 views

rpmbuild fails with parenthesis in name

I am building RPMs with maven, triggered by Jenkins. Someone decided it was a good idea to have ( and ) in jenkins job names. This breaks my rpm generation, and it's immediately evident what's wrong ...
0
votes
2answers
579 views

RPM command hangs

in CentOs 5 rpm command stucks in my linux machine... [root@manage glib]# rpm -i libgcc-4.1.1-52.el5.i386.rpm [root@manage glib]# ps -efww | grep libgcc root 2020 32168 0 13:50 pts/0 ...
0
votes
2answers
3k views

How to install mcrypt in dual PHP version CentOS 6?

I have two parallel versions of PHP installed on CentOS 6.5 via this method [root@host ~]# php -i | grep "PHP Version" PHP Version => 5.3.3 [root@host ~]# /opt/rh/php54/root/usr/bin/php -i | grep ...
0
votes
1answer
183 views

yum update rpm packages installed manually

I needed to install the libxml 2.7 package and for this i uninstalled yum (yum have dependencies on libxml), is there any way I can make the pass to work with yum rpm packages installed previously? I ...
0
votes
2answers
940 views

Yum problems with easy apache - The server’s system package manager, ‘YUM’, failed.? [closed]

I keep getting the following error on easy appache !! The server’s system package manager, ‘YUM’, failed. ! !! This is the command that failed: yum -y install gettext automake19 libstdc++.x86_64 ...
1
vote
1answer
864 views

RPM change package name, without changing extracted directory

I've started creating RPMs of software that I use, to allow me to be able to deploy it configured exactly how I want. However I can't figure out how to rename the package without also renaming the ...
0
votes
1answer
142 views

In an RPM spec file, when a file isn't found, how to find out which %files line is at fault?

I'm working with a very macro-heavy RPM spec file, and when building it's producing an error I can't seem to track down: File not found: /var/tmp/pkgnamehere/mockbuild/usr/com/pgsql (I've replaced ...
2
votes
3answers
256 views

build .rpm package with all its dependencies

I'm not sure if its the recommended approach or not, in case the user doesn't have web access, and my software requires, lets say: libgcc-4.3.0.0.rpm (for e.g), I would like to bundle this for the ...
0
votes
2answers
352 views

Spacewalk (satellite) activation refresh child channels on client

We have a (spacewalk) rhn satellite server running and several hundred machines registered with it with a few activation keys. Each of these keys have one or more child channels. We need to know how ...
0
votes
1answer
2k views

How do I fix the require for python(abi) when building python module RPMs for SCL?

I'm currently trying to set up an environment for one of our apps on CentOS 6 using the SCL python33 repository. The app also requires a number of additional python modules, such as numpy, so I'm ...
10
votes
1answer
638 views

Why does yum index get corrupted?

Occasionally yum's cache gets corrupted and we see errors like this: error: db3 error(-30974) from dbenv->failchk: DB_RUNRECOVERY: Fatal error, run database recovery error: cannot open Packages ...
0
votes
3answers
55 views

Ways to deliver server solution set to customers

I'm looking for ways to deliver our server solution set to customer. So that customer can easily install and experience our solution. Our server solution set includes tomcat+webapp, memcached, db ...
7
votes
4answers
6k views

Should I install x86_64 or i386 RPM packages? [closed]

I am wanting to install an RPM package, but I'm not sure whether to install the x86_64 or i386 version. WHM says CENTOS 6.5 i686 virtuozzo at the top. How can I determine which version to install?
0
votes
1answer
486 views

“yum groupinstall” i686 packages on x64?

I'm working on enabling x64 host build workers to build i686 RPMs, now that AWS EC2 (which we use to run build workers) is deprecating i386 nodes like m1.medium in favour of x64-only instance types ...
-2
votes
2answers
734 views

How to install interdependent repository? [closed]

My yum is not working properly and I don't know why. I already am into production and cannot restart. I am trying to install libjpeg-turbo from rpm and yum is not able to find dependency. The ...
0
votes
1answer
321 views

Upgrading PHP 5.2 to PHP 5.3 on EC2

I am a HUGE novice with this, and I have spend a whole day and a night trying to fix this. I know this has been asked before, but I have tried everything in those answers as well as from all over the ...
1
vote
2answers
403 views

Is it possible to force a linux install to continue?

I'm PXE booting a linux distro that I'd like to contain a list of packages. I have these packages listed in a kickstart file for inclusion. Some of these packages won't work with the current distro, ...
0
votes
1answer
349 views

Building 64 bit rpm on 32 bit rpmbuild system

Are there any way for building x86_64 arch target rpm on a 32 bit rpmbuild build system? $ rpmbuild -ba --target=x86_64 kernel64.spec Building target platforms: x86_64 Building for target x86_64 ...
0
votes
0answers
628 views

Yum does not install specific RPM version with custom repo

We use RPMS for our packaging and yum to update our environments. We have an rpm package-5.1.1-3 installed in our production server and in our yum repository we have 2 newer versions such as ...
4
votes
1answer
212 views

Is it legal to create an RPM which only runs %post scripts to modify a file owned by another RPM?

I'm writing some RPMs which install YUM repo configuration files for various internal YUM repos, same structure and concept as the EPEL repo RPMs. We will have multiple environments with equivalent ...
3
votes
2answers
3k views

centos 6 epel alternative repository replacement

I've installed EPEL repository already on my server. I wanted to install something new and I get this error with yum : PYCURL ERROR 22 - "The requested URL returned error: 403 Forbidden" Trying ...
6
votes
2answers
5k views

Make kernel modules available that have been deactivated on Fedora

Edit: I turned Cristians answer into a script which does everything automatically: https://github.com/frans-fuerst/magic/blob/master/fedora-activate-can.sh I need some kernel modules which are ...
2
votes
1answer
386 views

Continuous Integration testing of RPM upgrades

We release software on RPM-based linux. We receive many packages from different teams, some outside of our business unit, that must upgrade correctly (in the future we want to check dependencies are ...
1
vote
1answer
913 views

Sort installed packages version

I'm trying to get last version of installed kernel package. The main difficulty is that in my case the versions may be installed in a wrong order, so I cannot simply use the --last argument from rpm. ...
0
votes
1answer
143 views

dovecot rhel 5 installation fails because of newer libraries

to whom it may respond to, we are trying to install dovecot (dovecot-2.2.10-1_14.el5.x86_64) on a RHEL 5.4 server and we get the error : [root@asgfkm /]# rpm -i dovecot-2.1.17-0_136.el5.x86_64.rpm ...
5
votes
1answer
10k views

Solving multilib version problems

I use Centos 6.4 When I tried to install libgcc with yum install libgcc.i686 I took following massages. Error: Multilib version problems found. This often means that the root cause is ...
1
vote
2answers
63 views

Access RPM database

I would like to find where information is stored about which RPM packages are installed? I know that there is a internal database for this. Can I access somehow this database with Java?
-4
votes
3answers
1k views

How Do I Install CentOS with Minimum Amount of Packages? [closed]

After running rpm -qa | less there was a result of 234 installed packages. From my experiences with default installations, there are usually applications installed that are not required by the system. ...
0
votes
1answer
173 views

RHEL 5 createrepo hangs

I've got a RHEL 5 server that I want to create a mirror repo on. I've specified a new file system mounted at /repos. I have run reposync -p /repos --repoid=rhel-x86_64-server-5 -l which completed OK. ...
7
votes
2answers
4k views

How can I mirror a yum repository but download only the newest versions of each package?

I would like to mirror the following Yum/RPM repositories at http://yum.puppetlabs.com/ : http://yum.puppetlabs.com/el/6/products/ http://yum.puppetlabs.com/el/6/dependencies/ ...
0
votes
1answer
108 views

rpmbuild not taking $LD_LIBRARY_CONFIG

I'm trying to build Agent++ into an RPM that installs into an alternative location. It's complaining that it can't find libsnmp++. I have libsnmp++ installed, also in an alternative location. ...
1
vote
1answer
259 views

How to compile sources into rpmbuild BUILDROOT?

All the information I can find about building RPMs seems to pre-date CentOS 6, and as a complete package-building novice running CentOS 6.5, I'm rather stuck. All the tutorials I've read mention one ...
0
votes
1answer
92 views

yum whatprovides does not return anything

I am trying to figure out what RPM provided /usr/bin/java. However, I think this may have been installed outside of yum. Is it possible for yum to tell me what provided /usr/bin/java if it wasn't ...
0
votes
1answer
34 views

Linux package management and security flaws

Is there a mechanism built into rpm or apt that will warn (or prevent) a user from installing a package contains a known security threat? I'm thinking of an RPM like ...
2
votes
2answers
2k views

CentOS yum *.rpm package changelog (not installation changelog)

I just logged into my new rented server and updated openssl because of the heartbleed-bug (http://heartbleed.com). I updated using yum list openssl ... Installed Packages openssl.x86_64 ...
0
votes
2answers
2k views

Using `repomirror` to mirror a yum repository for a different OS version?

I have an EL5 machine. On this host I would like to mirror a Puppet repository for EL6 rpms. How can I mirror an EL6 or Fedora repository on an EL5 host? I am using reposync because I only need the ...
1
vote
1answer
900 views

RPM: How to force required version to be greater than the specified in .spec file?

I have the following entry in my package .spec file: Requires: jdk >= 1.7 Even though, jdk-1.6.0_45-fcs.x86_64 is installed my package installs without problems (even without warnings). How to ...
3
votes
1answer
1k views

RPM that installs to /opt/rh

I've noticed that the "mysql55" RPMs in the standard CentOS 5.10 repository install everything to /opt/rh. Is it expected that an end user might change this location somehow? It creates complications ...
1
vote
0answers
438 views

Oracle's JDK RPM doesn't provide “java”

I have the Oracle RPM for the Java 7 JDK installed on an Amazon EC2 instance. The Oracle RPMs for Java 7 JDK don't "provide" java nor jre. RPM reports that it provides the following: # rpm -q jdk ...
2
votes
1answer
304 views

RPM packaging conflicting libraries

What is best practice for RPM packaging something that provides a library which in name shadows a system library? Background: For an RPM-backed Linux system, I am packaging a "self-contained" app foo ...
1
vote
2answers
10k views

No Tomcat7 package for RHEL 6

We're currently setting up a new application hosting environment on Rackspace and are struggling to find a package for Tomcat 7. Our previous provider was Amazon and we ran on Amazon Linux who via ...
1
vote
3answers
6k views

Repairing replaced OpenSSL installation

I previously replaced openssl on my centos box with openssl10, using something like these instructions: rpm -Uvh http://dl.iuscommunity.org/pub/ius/stable/CentOS/6/... ...
0
votes
1answer
477 views

Yum broken in Amazon instance

This is an instance launched using Amazon AMI. when I run yum with anything (search,install, etc), this is what I am getting: yum search yum error: bad option 'archcolor' at (null):93 Loaded ...
0
votes
1answer
88 views

packaging current linux kernel as a rpm

I have just built a custom kernel from source (obtained from kernel.org). I can boot from it fine on my local box. I now want to make it easy for a colleague to try this kernel out. Is there an easy ...