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
0answers
538 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
7k 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
66 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
263 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
185 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
578 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
527 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
213 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
85 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
4k 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
124 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
139 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
110 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
447 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
336 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
1k 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
711 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
146 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
149 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
139 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
45k 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
122 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
294 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
470 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
327 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 ...
0
votes
2answers
1k views

Sphinx: libmysqlclient.so.15(libmysqlclient_15)(64bit) is needed

Can't find a way to install sphinx. It's asking for libmysqlclient.so.15, which I have... What else can i do? This is what I've tried already [root@server1 ~]# rpm -ivh sphinx-2.0.3-1.el5.x86_64.rpm ...
2
votes
2answers
277 views

upgrade php from 5.2.14 (compiled from source) to 5.3 (through yum install)

I previously setup my server by downloading php from php.net, and using the configure, make make install to get it onto my apache centos server. Now I want to upgrade and I'm not sure how to do it. ...
1
vote
1answer
1k views

How to install Mysql 5.1 on Fedora 16

I can't seem to install MySQL 5.1 on Fedora 16. When I try to install an RPM downloaded from the MySQL website I get conflict errors with the existing 5.5 packages which I have already 'removed' via ...
0
votes
1answer
584 views

Mysql rpm package build for Scientific Linux

In my organization we need to deploy custom mysql packages for our Scientific Linux nodes. We need the latest version of mysql and the install directory as /opt/mysql I am trying to build from ...
0
votes
1answer
371 views

Why can't I install sqlite-devel package?

I'm try to install the sqlite-devel package on a Red Hat 4.1.2-51 x86_64 Linux server with rpm command: # rpm -i ftp://ftp.muug.mb.ca/mirror/fedora/epel/4/x86_64/sqlite-devel-3.3.6-0.3.el4.x86_64.rpm ...
0
votes
1answer
443 views

Build RPM from DRPM on Fedora Linux

I am creating a private Fedora Linux mirror (os & updates repositories of RPMS and DRPMS). Of course, I'm doing that using rsync and everything is working well... except that I'm using a very slow ...
0
votes
1answer
1k views

Installing mod_pagespeed (Apache module) on CentOS

I have a CentOS (5.7 Final) system on which I already have Apache (2.2.3) installed. I have installed mod_pagespeed by following the instructions on: ...
3
votes
2answers
640 views

rpm -ivh, failed dependency already installed

I'm having trouble installing a set of custom build rpms. The spec file produces 7 binary rpms. I installed 5 of them using rpm -ivh and then decided that I also needed the remaining two. When I ...
2
votes
1answer
122 views

How to determine the date a package was installed or updated?

Is there a way to determine the date a package was installed or updated? What's the proper syntax for both rpm and dpkg?
6
votes
3answers
4k views

Can dpkg verify files from an installed package?

With rpm -qV openssh-server I will get a list of files that have changed compared to default. ~$ rpm -qV openssh-server S.?....T. c /etc/ssh/sshd_config ~$ Can dpkg on Ubuntu do the same?
2
votes
4answers
1k views

Install Fedora Source package on RHEL / CentOS

I'm attempting to upgrade curl on RHEL / CentOS machines. I've found what seems to be the appropriate source packages in a number of repos. (ie, ...
0
votes
1answer
205 views

Puppet package provider relocatable RPM

Is it possible to pass a new root install location to an RPM via puppets package provider? I've got a relocatable package that I want to override the install location on and would rather do it via the ...
3
votes
2answers
6k views

Upgrade cURL to latest on CentOS

I need to upgrade cURL to the latest version on Centos 2.6.18-164.15.1.el5.centos.plusxen #1 SMP Wed Mar 17 20:32:20 EDT 2010 x86_64 x86_64 x86_64 GNU/Linux I'm unable to find any suitable ...
-1
votes
3answers
1k views

Installing PHP dependencies

While trying to install php-mysql package, I get the following error. It was working fine with php-5.1.6-27.el5 and mysql 5.0 version. After MySQL upgrade, certain PHP pages had issues and I had to ...
5
votes
3answers
2k views

CentOS6 installation from CentOS5 box?

I am trying to build a new CentOS 6 VM from my CentOS 5 host, but it appears that something fundamental has changed between these versions: $ rpm -ivh --nodeps --nodigest --ignorearch --ignoreos ...
3
votes
1answer
122 views

Change Management Workflow Using Yum

We have a fairly strict patching process that we have to follow: Patch a development or testing machine Wait one week to see if it explodes Patch the corresponding production machine to the same ...
2
votes
2answers
749 views

use local file as puppet template

I'm developer of a java software and try to find a smart way to get my app distributed and configured in our datacenter. For that, I build an rpm package and we have set up a satellite. Target OS is ...