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
1answer
411 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.
2
votes
1answer
80 views

What are the consequences of installing some el6 packages on Centos 7?

I'm responsible for administration of a Centos 7 box at my contract job. I'm really more of a developer and not much of a Linux admin, so please bear with me and maybe try to explain this to me like ...
2
votes
1answer
228 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
1answer
44 views

install libxml2 without internet connection so that nokigiri can be installed

I am trying to install libxml2 on a redhat box which cannot connect to the internet. So i downloaded and scped the following rpms: libxml2-2.7.6-1.x86_64.rpm libxml2-devel-2.7.6-1.x86_64.rpm ...
1
vote
1answer
73 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 ...
1
vote
1answer
180 views

Ordering RPM virtual packages

I have following packages, built by my RPM spec: libevent backend %package -n libfoo-libevent Summary: libevent backend for FOO Provides: libfoo-backend Requires: libevent >= 1.4 libev backend ...
1
vote
1answer
203 views

Running rpm does nothing

I'm not sure what happened with rpm on my system. This is a CentOS 6.3 VM hosted on Amazon EC2 if that makes a difference. When I run any rpm commands, it returns to the command prompt doing nothing. ...
1
vote
1answer
248 views

RPM packages with dependencies based on a major version of software (i.e php 5.3 with it's addons and then php 5.4)

Scenario: PHP5.3 php-5.3.21-1_x86_64.rpm (base) php-pecl-memcache-3.0.6-1_x86_64.rpm (dependant on above because of the internal PHP ABI version change) PHP5.4 php-5.4.13-1_x86_64.rpm (base) ...
1
vote
1answer
59 views

Multiple identical GPG Keys. What can cause that?

I'm using OpsCode Chef to manage all my VMs, but since the last week, I'm having issues with one VM. When running chef, it hangs right at the beginning. After a bit of investigation, I found out that ...
1
vote
1answer
397 views

rpm rollback ignoring rpms - no error output

Issue rpm rollback is not working with a set of repackaged rpms created in the last couple days, but does work with more recent ones. [root@host1 repackage]# ls -l zsh-4.2.6-* -rw-r--r-- 1 root ...
1
vote
1answer
184 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 ...
1
vote
1answer
594 views

Add RPM package to mrepo?

I'm learning mrepo. I've got it generating repos based on ISOs. But is there a way I can add an RPM (package I built) quickly/easily to one of these repos? Do I just add the RPM to the srcdir? My ...
2
votes
0answers
167 views

how to keep a rpm package during system upgrade?

I have a custom built rpm package which I installed manually (via rpm -Uvh / or yum localinstall). If I do an upgradee from CentOS5 to CentOS6 this package is removed and, because it missing in the ...
1
vote
0answers
16 views

We have multiple repos having same package. IF we do yum install package, install from stable repo and yum install package-version install other repo

We've got multiple custom-added yum repositories (on CentOS 6), We have a package that is available on multiple repositories. It's named the exact same thing on two different repositories, call them ...
1
vote
0answers
94 views

CentOS 5.11: yum installs, but packages remain missing

I'm trying to figure out a very strange problem with yum on a fairly old CentOS 5.11 VPS using DirectAdmin. Executing the following command suggests the telnet package is installed: # yum install ...
1
vote
0answers
91 views

RHEL yum broken

I have RHEL which is deployed from Amazon AMI, and yum is somehow broken. I must use that AMI because of corporate software installed on it. There is no way to rollback to previous state. This is the ...
1
vote
0answers
147 views

rpmbuild spec file: how to have files only used during install

How do I specify in a .spec files that are only used during install of the rpm (such as .sql scripts that I feed into the database), but I specifically don't want to persist post-install? I can't omit ...
1
vote
0answers
64 views

Library Dependency is different when checked via yum vs. rpm

I'm new here and am debugging something I've never seen before, so I'm hoping someone can show me where I'm going wrong. I've created a local yum repo for all my servers. The idea is to distribute ...
1
vote
0answers
11 views

libexecdir in systemd .service file?

I'm deploying something to machines (internally, not for public consumption) using RPMs. Now, in RPM .spec files there's the %_libexecdir variable. The package deploys a service binary in that ...
1
vote
0answers
162 views

When debuginfo rpm is generated?

I have a series of RPM spec files and no debuginfo directive set in them. When I run rpmbuild, some packages generate a debuginfo rpm, some do not. What is the criteria used by rpm to decide if a ...
1
vote
0answers
85 views

Cannot install mysql server - Error in PREIN scriptlet in rpm package mysql55-mysql-server-5.5.32-3.el5.x86_64

I am trying to install mysql server 5.5 (or any 5.x versions) on Redhat 5.5 and am having some trouble. I can install the other mysql components but when I try to install mysql-server (or ...
1
vote
0answers
78 views

How to stop meta-rpm transaction if a precondition fails?

I currently have a meta-package rpm which contains a list of dependencies on other rpm packages. I want to stop the update/install transaction of the meta-package (and all subsequent packages) if the ...
1
vote
0answers
343 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 ...
1
vote
0answers
752 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 ...
1
vote
0answers
30 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 ...
1
vote
0answers
347 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
815 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 ...
1
vote
0answers
128 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 ...
0
votes
0answers
32 views

RPM copy multiple files

I am trying to build an RPM which will copy some directories which files in them, however, I am getting an error message saying that the directory doesn't exist. My code is as follows: Version: 1 ...
0
votes
0answers
20 views

How do I safely remove a path string from a compiled library without corrupting the library?

My RPM build process is complaining about the buildroot path string appearing inside several .so files. I've tried using both sed and perl to do a regex replacement of that string with '', but while ...
0
votes
0answers
16 views

rpm file to deb Ubuntu 10.04.4 LTS

I would like to install .rpm file using alien $ sudo alien --scripts /root/Disk1/oracle-xe-11.2.0-1.0.x86_64.rpm error: incorrect format: unknown tag mkdir: cannot create directory ...
0
votes
0answers
13 views

rpm complaining about dependencies that are present

I'm trying to install an rpm provided by IBM: deadf1sh@server:~/ibm/i386> sudo rpm -i ibm-iaccess-1.1.0.2-1.0.i386.rpm error: Failed dependencies: libodbcinst.so.2 is needed by ...
0
votes
0answers
39 views

install boost 1.51 package on centos 7

I'm trying to compile a program which requires boost 1.51, but the only available boost package via yum on my system is boost 1.53. I would prefer to install boost using the system's package manager, ...
0
votes
0answers
77 views

libgcc multilib version - unable to install any package with yum

System: Red Hat 6.5 I have a problem with libgcc, which is apparently installed in 2 different versions on my machine. Anyway, when I try to install literally anything, I am unable to do so, because ...
0
votes
0answers
97 views

Yum dependency issue with newer release version

I'm having an issue installing some software with yum, it shows a dependency issue even though all the packages are installed. I'm trying to install the redhead-lsb package. I get the following ...
0
votes
0answers
39 views

Is the lmdb-devel package necessary for installing the cfengine on RHEL v.7 via an RPM .spec file?

I have a problem when I try to build from my spec file. I run this: rpmbuild -ba newpackage.spec I see a great deal of output. It ends with these lines: configure: error: Cannot find ...
0
votes
0answers
52 views

Building a stack of SRPMs in build-dependency order

If I have a stack of SRPMs that I'd like to build, leading to a final product binary RPM. Many of the SRPMs require the built RPMs of other SRPMs to build. These requirements are expressed in the ...
0
votes
0answers
46 views

RPM Dist Tag not behaving as documented

According to the Fedora documentation the %{?dist} tag when building an RPM on CentOS 7 I should get .el7. but currently I get .el7.centos. The line from my .spec: Release: 1%{?_buildid}%{?dist} I ...
0
votes
0answers
49 views

rpm spec file is not executed on rpm install

I am creating an rpm installer for my web applications. On the spec file, i got this on %prep and %install %prep #will create and cd to the named directory before doing the untar. %setup -c -n ...
0
votes
0answers
62 views

Solved but Confused: Fedora 19 to 20 - “Protected multilib versions: chkconfig”

Initial Problem When upgrading from Fedora 19 to 20 using this command: yum --releasever=20 --setopt=deltarpm=0 distro-sync I get the following error Error: Multilib version problems found. This ...
0
votes
0answers
70 views

yum list available - not showing all packages

I have a strange problem with yum, working on one server and not working on another server that should be identical. The symptom is that after running createrepo on a directory containing RPMs (and ...
0
votes
0answers
63 views

Can FPM make one RPM package that acts differently if systemd is being used?

I build an RPM using fpm for EL6 hosts. It installs a /etc/init.d script. However if that package is installed on an EL7 host, I want it to install a file in /usr/lib/systemd/system instead. Is ...
0
votes
0answers
174 views

RPM build errors File listed twice

I'm trying to build an rpm of the latest stable php (5.6.7) under CentOS 7. And when I try to build it, I'm getting the following errors: [bluethundr@repo SPECS]$ rpmbuild -ba php.spec Processing ...
0
votes
0answers
92 views

Producing RPMs that conflict with all versions released by someone else?

I find myself needing to create a variant of the PostgreSQL packages that are mostly compatible with the official http://yum.postgresql.org/ packages. My packages are compatible with client apps that ...
0
votes
0answers
113 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 ...
0
votes
0answers
549 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 ...
0
votes
0answers
217 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
2k 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 ...
0
votes
0answers
439 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 ...
0
votes
0answers
86 views

Optimal way to register existing local files as a package in the local RPM database

My final goal is a way to register a bunch of local files as a package in the local RPM database. This is what I've done so far: I build an RPM package from existing files using rpmbuild, then use ...