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

7
votes
2answers
1k 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
51 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
115 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
42 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
29 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
1answer
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
562 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
158 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
393 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
225 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
145 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
4k 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 ...
0
votes
1answer
297 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
52 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 ...
6
votes
1answer
1k views

Puppet package “ensure => latest” doesn't always work

I have a unique situation where the Puppet package ensure => latest directive only worked on some of my systems. Out of 30 servers, the packages updated properly on all but 4. I'm trying to get ...
1
vote
2answers
126 views

Install rpm on multiple servers

I have a rpm (redis) that I need to install on a dozen servers. The version of redis that is available in EPEL is too old (2.4.x). The software providers do not offer a repository online that I ...
3
votes
1answer
253 views

Yum won't reinstall PHP on Amazon Linux

Ultimately, this question is about Yum and the Amazon Linux AMI (see the end for that part), but first I'll give some background to how I got into my situation. I installed PHP from source I am ...
0
votes
0answers
136 views

How can I view CentOS update RPM security metadata?

I'm interested in getting useful output from the commands on this page while using CentOS: http://www.cyberciti.biz/faq/redhat-fedora-centos-linux-yum-installs-security-updates/ By default, it seems ...
1
vote
0answers
153 views

Can't make Koji Work on A Centos6 server

I setup the koji build environment in a Centos6 Machine server as suggested by the documentation (http://fedoraproject.org/wiki/Koji/ServerHowTo). I could properly access the Koji Web using http. Yet ...
2
votes
1answer
455 views

where does rpm install custom gpg keys?

Where does CentOS/RHEL 6 store custom gpg keys? I thought /etc/pki/rpm-gpg but I installed nginx's key but unable to find it. I see it was imported properly but where is it? wget ...
0
votes
1answer
98 views

Where to download MySQL server 5.0.77-log

I have MySQL Server version: 5.0.77-log Source distribution on a RHEL6 server. I need to reinstall it on a second RHEL6 server to set up a testing environment but I cannot find where to download this ...
0
votes
1answer
185 views

How can i install mysql_config on Red Hat Linux 4?

I've been tasked with implementing a few upgrades on a Red Hat Linux 4 box that is already running MySQL. I've found the need for the mysql_config tool, but i can't locate it as already being ...
0
votes
1answer
307 views

amanda client 3.3.5 for RHEL 5 - dependency issues

Im working to update my various clients to use the latest version of Amanda. The installs work great for RHEL6 but fails on v5 with the following errors: # yum localinstall ...
0
votes
0answers
165 views

rpm dependency failed to install, package installed anyway

I have this issue and I would like to understand why it is like this. I have build 3 really simple rpm packages called a, b and c, and I made a independant, b depending on a and c depending on a and ...
0
votes
0answers
416 views

Install libxml2.8 on RHEL 6

I want to install the software TinyOWS on a RHEL 6 server. I followed the instructions: $ wget http://download.osgeo.org/mapserver/tinyows-1.1.0.tar.bz2 $ tar xvjf tinyows-1.1.0.tar.bz2 $ cd ...
-3
votes
1answer
178 views

Cant install repforge on Centos 5 [closed]

rpm -ivh http://pkgs.repoforge.org/rpmforge-release/rpmforge-release-0.5.3-1.el5.rf.i386.rpm Retrieving http://pkgs.repoforge.org/rpmforge-release/rpmforge-release-0.5.3-1.el5.rf.i386.rpm error: ...
3
votes
1answer
85 views

Where to store VCS version in RPM?

We're using Git as our VCS and RPMs for packaging. I'd like to store the Git hash a package was built from, but I'm not sure on the most appropriate place. There are a number of tags available to an ...
0
votes
2answers
57 views

Packages with no name listed by yum

In my Fedora 20 system I see these two packages with no names (and with no version one): [user@notebook ~]$ sudo yum list installed|grep rawhide 0.10.23-2.fc19 ...
0
votes
1answer
44 views

No such file or directory after rpm -e --nodeps packagename instead of command not found

I installed ethtool using yum install ethtool and then removed it using rpm -e --nodeps ethtool because when I tried to remove ethtool with yum it was going to remove a bunch of important dependencies ...
0
votes
0answers
386 views

Problems were detected with cPanel-provided files which are RPM controlled

I am running CentOS and received the following error email from my VPS cloud web server. Problems were detected with cPanel-provided files which are RPM controlled If you did not make these changes ...
4
votes
2answers
954 views

Avoid file conflict in rpm package

I have created a rpm package.The part of .spec file is below %install mkdir -p ${RPM_BUILD_ROOT}/etc/xyz cp -rf %{BDIR}/console ${RPM_BUILD_ROOT}/etc/xyz %files /etc/xyz/console So XYZ ...
-1
votes
2answers
90 views

Compare installed rpm packages with available?

I would like to find the vmware packages that I haven't installed from their repo. The problem is that the output of yum search vmware is not the same format at from rpm -qa|grep vmware. Question ...
0
votes
1answer
102 views

Verify PHP 5.3.27 has been patched for CVE-2013-4248

Server setup: CentOS release 5.10 (Final) WHM 11.40.0 (26) EasyApache 3.22.24 rev9999 compiled apache 2.2.26 and PHP 5.3.27 w/ SuHosin 0.9.33 I already had PHP 5.3.27 installed (since before most ...
4
votes
4answers
390 views

Yum repo server as archive cache

Our software stack requires some specific versions of RPM packages. Unfortunately some of these packages become deprecated over time and get removed from their repos since their maintainers don't keep ...
2
votes
1answer
160 views

Cannot install net-tools on Red Hat Linux

The isolated networking lab is running Red Hat Linux 9 (Shrike). We still use this "ancient" release, because given the simplicity of the protocols examined, it is sufficient. In addition, because of ...
3
votes
3answers
3k views

How to accurately check if package is installed in yum?

I keep getting answers like: yum list installed | grep bind or rpm -qa | grep bind But that is not accurate as I'm getting a list of few other bind packages like these: ...
4
votes
6answers
796 views

Parse an RPM name into its components

Is there a name-parsing tool that is part of the official RPM tool package? I have a list of filenames. Each is the filename of an RPM package. I don't have the actual packages, just the filenames. ...
0
votes
1answer
349 views

Centos 6.4. building rpm for cups 1.7

I try to build rpm from source by running rpmbuild -ta cups-1.7.0-source.tar.gz --without dbus but get Processing files: cups-1.7.0-1.x86_64 error: File not found: ...
2
votes
2answers
407 views

RHEL 5 list missing critical patches/packages

Im trying to figure out if there is an easy way to identify the missing critical patches/packages on my RHEL5 boxes. This is for audit purposes and was trying to figure out if there was an RPM command ...
3
votes
2answers
170 views

Why does `rpm` show 3 httpd packages, and which one provides the real httpd?

I ran yum update on my CentOS5 webserver a few days ago. Today I just noticed that I have 3 httpd-* rpms! How can I end up with three RPMs for httpd (My other servers only have one httpd rpm). I want ...
0
votes
1answer
68 views

Warning messages while building Apache server

I am building Apache server 2.4.6 from source and am not sure about a few warning messages I received during the rpm build process. The build completes OK and everything seems fine..BTW, this is on ...
4
votes
3answers
1k views

What can I do to speed up createrepo?

We are using a yum repository to distribute our software to our production instances. Unfortunately, createrepo is becoming a bottleneck, and we only have 469 packages in the repository. $ time ...
0
votes
1answer
124 views

mod_ssl RPM conflict

I build Apache httpd into an RPM using these sites: http://erikwebb.net/blog/compile-and-install-apache-24-red-hat-enterprise-linux-rhel-6-or-centos-6 ...
0
votes
1answer
690 views

Installing JDK on Amazon linux box gives error: open of <html> failed: No such file or directory

I just got a new amazon linux box and I'm trying to install jdk on it. These are the commands i followed but I am getting an error: $ java -version java version "1.6.0_24" OpenJDK Runtime Environment ...
0
votes
0answers
1k views

Install PHP-SOAP for PHP-FPM 5.5.4 CentOS 6

I have the following version of PHP installed (My server is 64-bit CentOS 6): php-common.x86_64 5.5.4-1.el6.remi This is running via PHP-FPM, if that makes a difference. I've discovered several ...
1
vote
3answers
139 views

Yum equivalent of rpm --nopreun

I have a buggy RPM which deletes the installation files when it is upgraded. I want to run yum update pkg-name but I don't want to run the %preun section. Is this possible with yum? If so, what's the ...
5
votes
1answer
243 views

Why does installing the same package twice with yum not give me the same files?

The situation I am facing: I set up a CentOS 5.9 machine that is supposed to be as close as possible a copy of another CentOS 5.9 machine, but not a clone. Using yum, I installed (as far as possible) ...
1
vote
1answer
168 views

Bad RPM Signatures

I'm trying to set up a repo that contains both CentOS 6.4 and 5.9 packages. The machine itself is 6.4. I've created a GPG key and have been able to sign my 6.4 packages no problem. When I create them ...
1
vote
1answer
806 views

I'm getting “yum error no such table packages”, how do I fix corrupted db?

I'm trying to use following guide: Scientific Linux - How To Upgrade To The Latest S.L. 6.x Release to update my Scientific Linux release 6.3 to Scientific Linux release 6.4. # yum update ...
1
vote
0answers
25 views

Keeping a local mirror lean and mean for what our application needs

We have a local mirror RPM repositorythat lives where our virtual servers live on Amazon Web Services. This setup could conserve some network bandwidth, but my predecessor probably set it up as place ...