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

0
votes
1answer
47 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 ...
4
votes
2answers
1k 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
100 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 ...
5
votes
4answers
597 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
216 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 ...
8
votes
3answers
8k 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: ...
5
votes
6answers
1k 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
393 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
511 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 ...
0
votes
2answers
1k views

Centos: Clamd and Razor-agents dependency failure on yum update when EPEL is enabled

I want to install Gitlab 6 to my CentOS 6.4 x64 server. I'm following the tutorial and enable EPEL with this command: rpm -Uvh ...
3
votes
2answers
184 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
89 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 ...
5
votes
3answers
2k 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
134 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
914 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
198 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 ...
0
votes
1answer
318 views

Some files from RPM have bogus permissions

I'm building RPMs with fpm. One of the goals is to set the user and group of the installed files, so I'm using the --rpmuser and --rpmgroup flags. It's working for the most part, however one of the ...
5
votes
1answer
281 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
275 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
998 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
27 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 ...
0
votes
1answer
200 views

Upgrading PHP on RedHat

I'm trying to upgrade my PHP from 5.3.13 to 5.5 following this post, which links http://www.if-not-true-then-false.com/2010/install-apache-php-on-fedora-centos-red-hat-rhel/. However, I got error ...
3
votes
2answers
1k views

check what 32-bit packages are installed on a 64-bit server

I'd like to check the binaries installed on my server and know if the is a 32-bit binary installed. rpm -qa would give me all the packages installed. However if i try to grep through it like so, rpm ...
2
votes
1answer
118 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
419 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
2answers
2k 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
10
votes
2answers
4k 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
300 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
275 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. ...
1
vote
1answer
84 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
124 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 ...
0
votes
2answers
553 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
334 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
39 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 ...
1
vote
3answers
2k 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 ...
3
votes
2answers
5k 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 ...
2
votes
2answers
2k 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 ...
4
votes
3answers
248 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
138 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
2answers
530 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 ...
0
votes
0answers
361 views

RPM Version Issue and won't install

Get this error when trying to install an RPM: rpm -Uvh rpmforge-release-0.5.3-1.el6.rf.x86_64.rpm warning: rpmforge-release-0.5.3-1.el6.rf.x86_64.rpm: Header V3 DSA signature: NOKEY, key ID 6b8d79e6 ...
-1
votes
1answer
230 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
338 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
1k 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 ...
0
votes
2answers
91 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 ...