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
0answers
17 views

`aptitude` like conflict resolution on RHEL like systems? [on hold]

Is there any package manager for CentOS and such that, like aptitude, lets you navigate alternatives of add-proposals and remove-proposals? The machine is not mine so in principle a GUI program ...
0
votes
0answers
19 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 ...
1
vote
0answers
14 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 ...
0
votes
0answers
21 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
22 views

extract/unpack archive file from rpm binary file on %post [migrated]

I'm creating an rpm for a php web application. And I need to run a php file on %post. But before I can do that, I need to unpack the archive file from the rpm file to execute the php file on %post, on ...
-2
votes
0answers
28 views

How to fix a failed package update in CentOS?

I have these problem when I want to update all packages: 1:php-eaccelerator-0.9.6.1-jason.4.x86_64 from utterramblings has depsolving problems Missing Dependency: php(zend-abi) = 20060613 is needed ...
1
vote
0answers
20 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
5 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 ...
2
votes
1answer
27 views

rpm - how to execute a php file in %post rpm

I'm creating an rpm installer for a php web application. One of the requirement is to run a php script, an entry script that will update the source, database and execute fix scripts. To accomplish ...
0
votes
0answers
24 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
28 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
31 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
21 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
39 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 ...
0
votes
0answers
25 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
104 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
1answer
66 views

RPM or YUM equivalent of apt-get install libgraphicsmagick1-dev

I was using Ubuntu for development and one of the dependencies needs apt-get libgraphicsmagick1-dev now I need to deploy to a AWS EC2 which runs AMI and only support YUM or RPM, what the the ...
0
votes
1answer
18 views

Yum installs dependency after main package

I have 3 packages A, B and C. C depends on B, B depends on A. I've created a repo of these 3 packages. When I run yum install C, it installs B first, then A, and then C. How do I make sure it installs ...
2
votes
1answer
80 views

replace or remove GPG signature on RPM

Is there a way to remove or replace an existing GPG signature on an RPM? I am placing a few obscure RPMs on an internal repo we use for supplementary rhel/centos packages. A few of those RPMs are ...
1
vote
1answer
34 views

fedora packages for enterprise linux

There are a number of packages available on fedora that I would like to install on RHEL v6.x. These packages do not appear to be available from RHEL (release, release-optional, or supplementary ...
2
votes
1answer
58 views

.rpmnew file not created on package upgrade?

I'm currently testing installing a RPM with a config file using the config(noreplace) directive. As per using config(noreplace) my spec file marks a single file as a config file: %config(noreplace) ...
0
votes
1answer
53 views

Spec file with fpm tool for creating rpms

How to create a Spec File with fpm tool for rpm packages? (or) all files installed through rpm are root-owned and is there a way that i can set the ownership to some other user? i can use %files (or) ...
0
votes
1answer
109 views

Automate NetBackup agent installation via RPM

We have an automated process of deploying new RHEL VMs. However, there's still an annoying manual step to install a NetBackup agent on the machine. This requires coyping a large archive (~ 1 GB) to ...
2
votes
2answers
110 views

Can't uninstall RPM package

I was trying to install and uninstall postgres 9.3. After performing a variety of steps, I found that I have deleted something manually and now I am not been able to proceed further. What I am trying ...
1
vote
2answers
47 views

Yum the same version as in a repository (automatic upgrades/downgrades)

In our infrastrcture, we have servers installed and managed by puppet. All our software is then installed from rpm. On each server is a small script that performs yum update if there is some change in ...
0
votes
1answer
78 views

signing yum repository doesn't help passing the gpg check upon 'yum install'

I've created yum repository, to which I've uploaded an unsigned rpm file. I've indexed and signed the repo itself, by creating a repodata directory with the following files: filelists.xml.gz, ...
-1
votes
3answers
344 views

Error: Nothing to do trying to install local RPM

I'm trying to install this RPM locally via yum and am greeted with just a "Error: Nothing to do" message. Full stdout Loaded plugins: fastestmirror, priorities Setting up Install Process Examining ...
-2
votes
1answer
824 views

YUM Update Error

I am receiving the following errors when running yum update. I began receiving these errors after I had installed the incorrect EPEL package (epel-release-6-8.noarch). I have since removed and ...
1
vote
1answer
293 views

Installing non-native RPM in Centos 6.6

I'm trying to install gstreamer0.10-pocketsphinx on Centos 6.6. Apparently no one in the history of the Internet has ever wanted to do this before so there is very little out there for Centos in ...
1
vote
1answer
84 views

How to customize the default set of apps launched with gnome desktop on CentOS 6.*

Background We run a series of CentOS 6.5 servers which each host multiple users (~100s) coming in via X-Window XDMP from their MS Windows desktops. These users don't need the host of default ...
0
votes
2answers
79 views

Centos Yum Repo Issues

I'm trying to enable the REMI repo by executing the below command: rpm -Uvh http://rpms.famillecollet.com/enterprise/remi-release-5.rpm as a result I keep getting: package ...
0
votes
2answers
260 views

Installing 32bit rpm in 64bit machine

First of all I know this is a complete mess but due to some developer legacy code(hard coded value),I am forced to install 32 bit rpm on 64 bit machine. cat /etc/redhat-release CentOS ...
1
vote
1answer
71 views

Mapping between RPM file names and metadata names generated by maven

We have a Sonatype Nexus repo, where we publish RPMs with the Maven RPM plugin. Snapshots and release versions are available. The issue here is around the mapping between versions. First, I obtain a ...
0
votes
1answer
111 views

Yum Cache Service

I have a LAN where I currently use an instance of Sonatype Nexus to proxy several yum repositories. All the clients on the LAN are configured to install packages only from this service. The only ...
1
vote
0answers
51 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 ...
0
votes
1answer
837 views

How to upgrade version of an installed package on CentOS 6.5

I installed libtiff by command yum install libtiff-devel.x86_64 which installed ver 3.9.4. [anthony@server ~]$ sudo yum list installed | grep "libtiff" libtiff.x86_64 ...
1
vote
2answers
57 views

Ensuring a given set of RPMs, and only those RPMs, are installed

I have multiple lists of RPMs (one per configuration), and a set of remote machines. Each list includes all of the RPMs needed to run my machine in the configuration I choose. For a given ...
-3
votes
1answer
65 views

How does “yum info” work? [closed]

I want to know how the yum info command works. I know yum info will display information about the installed package, but I really want to know which file it reads for that information. Whether it's ...
0
votes
2answers
295 views

Cannot install mysql-devel on centos

Everytime I try to run sudo yum install mysql-devel I am met with the following error: Setting up Install Process Resolving Dependencies --> Running transaction check ---> Package ...
0
votes
1answer
75 views

rpm package conflicts with itself in yum

I prepared custom package platform-6-1.2.3-1.x86_64. I want it to be conflicting with every OTHER plat-6 package installed in the system. Files of the package are not conflicting with the others ...
5
votes
1answer
2k views

Why are some CentOS 5 boxes still vulnerable to ShellShock after upgrading Bash?

I have two CentOS 5.10 boxen where I have upgraded bash to the latest version. However, in one of the boxes, bash is still vulnerable to CVE-2014-7169 (I am using the test from this ServerFault ...
0
votes
2answers
66 views

How do I copy an RPM from a remote repo to a local one?

We've got a local RPM repo server, and not infrequently we need to find software that's hosted in external repos and migrate it so that it's hosted locally instead. How do you copy an external RPM ...
0
votes
0answers
67 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
1answer
827 views

Unable to install awstats on redhat 7 due to missing perl(LWP::UserAgent)

I'm unable to install awstats on my rhel7 aws ec2 instance: [root@ip-10-146-180-60 ~]# cat /etc/redhat-release Red Hat Enterprise Linux Server release 7.0 (Maipo) [root@ip-10-146-180-60 ~]# rpm -ivh ...
1
vote
1answer
328 views

Difference between rpm php and php54 packages from remi repo

I am doing some system automation where we need php 54. We install this from the remi repo. I can't tell what's different other than size in the two below: ...
0
votes
0answers
83 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 ...
-1
votes
1answer
197 views

Build gcc 4.1.2 from src RPM on a CentOS 5.10 [closed]

I need an advice on how to compile gcc 4.1.2 on a CentOS 5.10. The long story: I've a got a Citrix XenServer Creedence beta 1 up and running OK. It has actually CentOS 5.10 as the dom0. This can be ...
3
votes
1answer
2k views

Bad signatures or NOKEY errors on RPMs I just signed

I'm having serious problems getting RPM signing working for RHEL / CentOS 5 hosts. TL;DR: RPM signing isn't working, and it's working in a variety of insane and erratic ways depending on the exact ...
2
votes
1answer
67 views

facing issue while installing oracle Database 11g on rhel5 And SOA

While installing required rpms for both SOA and Oracle the below rpms are conflicting with each other glibc-devel-2.5-49.x86_64.rpm and glibc-devel-2.5-24.i386.rpm How can I fix it? one package gets ...
0
votes
1answer
86 views

How do I find out what RPMs make up a “yum group install”?

I am trying to install the Gnome Desktop Environment on a RHEL 5 system. I am NOT connected to the internet and do NOT have any local repo or the install disks. Under normal circumstances, where a ...