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

3
votes
2answers
80 views

RPM package naming for alternative configurations

I currently install PHP from source in several different configurations around my environment, each providing the minimum feature set required for its particular deployment: one deployment requires ...
3
votes
3answers
478 views

Decompiling an RPM?

This is hopefully a simple question. Are there any tools out there to find out an enhanced description (beyond the normal rpm command) of the contents of an rpm, and possibly decompile it? We ...
1
vote
1answer
433 views

Roll back RPM package

Is there any way to roll back a single package from yum update. I've noticed that the rpm --rollback switch is depreciated in SL linux 6.2. There is also yum history however I would like to rollback ...
1
vote
1answer
387 views

yum - find packages in version minimum 'x' in specific repository?

I have configured several repositories on my CentOS 5 box. As an effect, command: yum search nagios outputs just mess - thousands of duplicated packages. To make my life easier I would like for ...
2
votes
0answers
170 views

Unable to upgrade proftpd on plesk 9.5.4 with atomic rocket turtle repos

I've been trying to crack this one for a while now. I'm running Plesk 9.5.4, and have tried to upgrade and reinstall proftpd from ART packages. Here's what I'm getting from the following commands: # ...
-1
votes
1answer
867 views

NRPE installation issues “Starting nrpe in daemon mode … /usr/sbin/nrpe: error while loading”

I'm trying to install the nrpe package for OP5 on Centos. I think something is corrupt since I get following when trying to start the nrpe service: service nrpe start Starting nrpe in daemon mode ...
3
votes
1answer
411 views

How to cutomise a CentOS iso to include my own rpm packages

Say I have downloaded a CentOS live desktop CD. How would I include my own rpm packages, so that they get installed automatically as soon as I boot with the live CD or have it permanently install in ...
1
vote
1answer
344 views

Obtain newer version of NetSNMP for CentOS 5

I'm using CentOS 5. I have a need to use net-snmp version "net-snmp-utils-5.5-37.el6_2.1.x86_64" which is currently available in CentOS 6 but not in CentOS 5. The reason I need this version (or ...
0
votes
1answer
221 views

Handling yum upgrade from pkg-x.y.rpm which requires mod_python to pkg-x.(y+z).rpm with conflicts mod_python

With yum/rpm on RHEL 5 can a yum upgrade be made to remove another, conflicting package - similar to the behaviour of apt-get dist-upgrade on Debian? I am updating the .spec for our product's rpm. ...
3
votes
1answer
2k views

RPM Spec How to specify in package so that previous RPM is removed

Question: What do I put in the foo.spec file so that the rpm's will remove the previous rpm before installing? Description: I have created a spec file that creates rpm's for a few packages that use ...
1
vote
3answers
132 views

Running rpm command in particular directory breaks

I have an unrelated issue to this RPM issue. I'm not sure if the two relates but I'll just talk about the one that's related to running the rpm command since it's easier to explain. The other issue ...
2
votes
2answers
2k views

yum trying to install el5 when I am on el6

When I run the following yum command I get this error: Package: git-1.7.10.1-1.el5.rf.x86_64 (rpmforge) Requires: libcurl.so.3()(64bit)" I read that this error is due to running an el5 ...
3
votes
4answers
163 views

rpm -ql package_name equivalent for Windows MSI?

Is there such a utility or capability an MSI? Perhaps msiexec? rpm -ql provides the list of all the files installed by a given package. I'd like to get the same info from a Windows system.
-1
votes
1answer
102 views

%files section in building rpm from source using Red Hat package Manager

I am creating customized rpm through source. I want to know what is the use of %files section. These are the files that rpm will include in the package or it needs these files for rpm creation ...
0
votes
2answers
490 views

getting permission denied while creating rpm through rpm package manager on RHEL 5.3

I am trying to create rpm through rpm package manager. Following is my spec file: **# This is a spec file for openldappkg** %define _topdir /osp/rpmBuildOpenLdap %define name openldap %define ...
3
votes
3answers
503 views

Is there a way to build rpm's and deb's on the same system

I have a large Java enterprise application that is required to output rpm and deb packages. Currently this means that we build the application on two different boxes, one with CentOS and the other ...
1
vote
0answers
255 views

Mock build system error: sh: ruby: command not found

I am trying to build a RPM using the mock build system. However, the shell in the mock environment cannot seem to find the ruby command. I run in to a build error: sh: ruby: command not found I can ...
1
vote
0answers
580 views

BUILDROOT files during RPM generation

Currently i have the following spec file to create a RPM. The spec file is generated by maven plugin to produce a RPM out of it. The question is: will i find files which are mentioned in the spec file ...
7
votes
1answer
8k views

tell yum to ignore a single dependency

I'm trying to install winswitch on CentOs 6. It requires 'nxagent'. But in centos, the package name is 'nx'. Is there a way to tell yum to skip checking the 'nxagent' dependency (i installed 'nx' ...
1
vote
1answer
67 views

Getting diffs for file changes detected by rpm -V

I have an installation that has been tampered with, and I want to find out what exactly has been changed. I can run rpm -V MY_PACKAGES which gives me a list of modified files. Now I am looking for ...
2
votes
1answer
1k views

Rpm removal does not remove delivered dirs and leaves garbage

I deliver an application via an RPM. This application delivers various directories and files. E.g. under /opt/internal/com a file structure is being copied. I was expecting that on rpm -e all ...
5
votes
2answers
2k views

rpm -Uvh authenticated proxy access … just hangs?

I'm not sure how to set up authenticated proxy access with rpm. But I have it set up with wget and yum. When I run rpm -Uvh http://dl.fedoraproject.org/etc... It just says 'Retrieving http://...' ...
0
votes
1answer
271 views

Can't find gnutls ibrary when executing rpmbuild under non-root

I am trying to build ntgs from the latest source, using the .spec from rpmforge - as non-root via rpmbuild. During the compile, it fails at this step: checking for GNUTLS... no configure: error: ...
1
vote
2answers
198 views

Find actual Centos6 path for %{_includedir} in spec file?

I am trying to find out which path actually resolves to %{_includedir} in a Centos6 installation. I understand that this is normally "/usr/include" but where can I find where it is actually set or ...
-1
votes
3answers
2k views

How do I install latest version of ANT on CentOS 5 x64 [closed]

I've installed ANT via yum but it's to old of a version. Not sure how to install it on it's own.
3
votes
1answer
608 views

How can I find the original un-changed configuration file to compare with the *.rpmnew file?

While upgrading from CentOS 5.7 to 5.8 I've received the following warnings: warning: /etc/sysconfig/iptables-config created as /etc/sysconfig/iptables-config.rpmnew warning: /etc/ssh/sshd_config ...
0
votes
0answers
592 views

Centos 6.2 postfix install dependency issues

I am administrating a VPS running cPanel and I'm trying to install postfix. Redhat-release says the version is CentOS release 6.2 (Final) and uname -a says: Linux server.mydomain.com ...
1
vote
2answers
230 views

mark rpm package as automatically installed

On debian systems I can use 'aptitude markauto' and 'aptitude unmarkauto' to mark packages as manually or automatically installed. I use this to remove unneeded packages by marking the packages I know ...
-1
votes
1answer
88 views

rpm is freezing in the same moment

I'm trying to install an rpm package: rpm -i rpmforge-release-0.5.2-2.el5.rf.x86_64.rpm And got this via strace: http://pastebin.com/zP45epkd I'm on CentOS 5.7 64-bit: 2.6.18-274.18.1.el5 #1 ...
1
vote
1answer
5k views

Openfire admin password reset

I have a openfire server that was installed through RPM on one of my Linux server. Server is very old and going away soon, so I'm moving openfire to a new server. I installed same version of openfire ...
0
votes
1answer
2k views

Alternate RPM to download.fedora.redhat.com/pub/epel/6/i386/epel-release-6-5.noarch.rpm [closed]

Currently http://download.fedora.redhat.com/pub/epel/6/i386/epel-release-6-5.noarch.rpm is not working. Is there an alternate? I am needing to install mysql5.5. Thanks Odd: Ok so I use this ...
0
votes
2answers
125 views

How to rebuild RPM Database

I'm trying to rebuild the RPM DB Files to conform to the new md5sums of the files, so when the rpm is uninstalled, those files will still be removed. I have a application that Installs with RPM, but ...
1
vote
3answers
148 views

Dependency problems with my custom build ffmpeg rpm [closed]

I'm having trouble installing custom build ffmpeg 0.9.1 rpm.When I try to install ,I get the following: error: Failed dependencies: libfaac.so.0 is needed by ffmpeg-0.9.1-1.i386 ...
1
vote
0answers
90 views

Error when installing lighttpd

I have a server using lighttpd with the kloxo control panel, and some of the lighttpd files were missing the PHP configuration so I decided to reinstall lighttpd using Kloxo (this should regenerate ...
1
vote
0answers
111 views

Installing handlersocket

I am trying to install handlersocket plugin as explained here... http://www.percona.com/doc/percona-server/5.5/performance/handlersocket.html#enabling-the-plugin I have downloaded and installed ...
1
vote
2answers
454 views

Possible to install a 3rd party RPM locally? So as not to interfere with the system RPM?

This is a CentOS 5 system, x64, using yum/rpm for package management. The libxml2 is a bit dated, and the Perl XML library I'd like to install (from CPAN) requires a more up-to-date version of the C ...
3
votes
1answer
347 views

Is there a way to see if an rpm was installed manually or installed from a repo?

Title pretty much sums it up, but I'm looking for an rpm or yum command to see if an installed package was installed from the repos (if repo, which repo?), or manually.
1
vote
1answer
2k views

Problems with mysql-libs *after* installing MariaDB

I have installed MariaDB 5.3.3 on a Centos 6 server. In order to do that, I had to issue this command before installing the MariaDB-server rpm: rpm -e --nodeps mysql-libs And now mariadb and all ...
1
vote
1answer
727 views

How to fix “yum update” issue on CentOS?

I get the following error when I do sudo yum update. The only thing I did before getting the error is install Python 2.7 in different directory than Python 2.4. The default Python is still 2.4 on the ...
0
votes
1answer
148 views

Download 64-bit rpm package on 32-bit machine

I want to download some rpm packages from a rpmforge repo. My base machine is running CentOS 32 bit and I want to download some 64-bit packages. Is there any way in which we can configure YUM on a ...
1
vote
2answers
2k views

Installing PHP 5.2.17 Dependencies on Centos 5

I have followed the wget method here hoping it was my solution: Howto install php 5.2.17 on centos 6 x86_64 However I get the following error when trying to install: # rpm -ivh ...
1
vote
2answers
151 views

How can I tell what rpms are managed outside of yum? [closed]

I am inheriting a Centos 5 box and I'd like to get an idea of what rpms have been installed outside of yum. Bonus: How can I audit that RPMs installed with yum to make sure that they are not ...
1
vote
1answer
143 views

RPM postinstall script missing?

I executed the following on xyz-3.0.rpm: $ rpm -qi --scripts ~/xyz-3.0.rpm > list Now here's what list showed: $ cat list postinstall scriptlet (/bin/sh): rm /opt/xyz/config/appkey.cfg ...
10
votes
5answers
46k views

How to install mcrypt for PHP 5.3.3 on CentOS 5.7 64 bit?

I installed php 5.3 and some modules using yum install php53-{module-name} But mcrypt did not work. I searched like this: yum list php* | grep mcry The only package that came up was ...
1
vote
2answers
125 views

How to quickly remove a set of outdated packages?

I have a newly installed CentOS 5.7 machine and mistakenly installed PHP 5.1 when I needed 5.2+. Now I cannot seem to install PHP 5.3 (using "yum install php53") until I remove PHP 5.1. I found this ...
0
votes
1answer
101 views

Repository Spec file

I have source of webfiles. I need to make a RPM for it. I have placed my source in SOURCES folder and use following spec file. But it is creating noarch rpm with 2MB size, but my source is greater ...
1
vote
3answers
2k views

CentOS 6 - How to modify iptables during kickstart install?

I'm having trouble modifying iptables configuration during a customized kickstart installation of CentOS 6. The kickstart process is installing several custom RPMs on top of a minimal ISO image. ...
0
votes
1answer
308 views

Generic RPM package for Python 2.x

I have a python application, it can run on Python >= 2.6 and it's architecture independant. I need the rpm package of this application to be installed on Fedora 14 (python 2.7) and Centos 6.2 (python ...
0
votes
2answers
491 views

connect mysql from php without yum command manually

I am trying to connect to mysql from php, it says i have not configured mysql-php, call to undefined function:mysql_connect();. My server is not registered with RHN, hence i cannot yum install ...
0
votes
1answer
340 views

Unable to install Kerberos libriaries using $ rpm -ivf krb5-libs-1.8.4-3.fc14.x86_64.rpm

My Linux version is as follows:Red Hat Enterprise Linux Server release 5.5 (Tikanga) My rpm version is 4.4.2.3 when I am trying ti run uname -a ,the output i sas follows: Linux ...