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
15 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 ...
4
votes
3answers
10k 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 ...
0
votes
0answers
21 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
24 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
13 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 ...
0
votes
0answers
189 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 ...
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 ...
0
votes
1answer
100 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 ...
2
votes
1answer
23 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
17 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
24 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
1answer
880 views

can not install glibc-devel 'Requires: libnss_files.so.2' error

I'm using Linux 6.1 I need to install glibc-devel but it fails with this error. [root@server1 Packages]# yum install glibc-devel-2.12-1.25.el6.i686.rpm Loaded plugins: refresh-packagekit Setting up ...
12
votes
2answers
14k 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' ...
0
votes
0answers
19 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
13 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 ...
-2
votes
0answers
21 views

Is it ok to install CentOS rpm in fedora? [migrated]

I want to try gitlab community edition in my fedora laptop. From the downloads page, it has binary packages for Ubuntu and CentOS 6 and CentOS 7. Which one should I be installing in fedora or should I ...
1
vote
0answers
32 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
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 ...
0
votes
0answers
24 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
1answer
55 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
0answers
58 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
147 views

How to build from source on CentOS 5.9?

I'm building iptraf-ng on CentOS 5.9 and running into the following errors: src/packet.c: In function ‘packet_process’: src/packet.c:322: error: ‘ETH_P_QINQ1’ undeclared (first use in this function) ...
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 ...
1
vote
1answer
82 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 ...
4
votes
3answers
1k views

yum update, how to make rpm package updateable

need a link or tutorial on how to make an rpm package work with yum UPDATE. i have it and already works with yum INSTALL and yum ERASE, but is there somewhere info on how to make rpm package work when ...
2
votes
4answers
6k views

Install msttcorefonts on CentOS 6.3

I have installed Mantis Bug Tracker on a CentOS 6.3 server and enabled the JP Graph plug in. However, to get this plug in to display the required TTF fonts I have to install something called ...
0
votes
2answers
541 views

Yum problems with easy apache - The server’s system package manager, ‘YUM’, failed.? [closed]

I keep getting the following error on easy appache !! The server’s system package manager, ‘YUM’, failed. ! !! This is the command that failed: yum -y install gettext automake19 libstdc++.x86_64 ...
2
votes
2answers
2k views

CentOS yum *.rpm package changelog (not installation changelog)

I just logged into my new rented server and updated openssl because of the heartbleed-bug (http://heartbleed.com). I updated using yum list openssl ... Installed Packages openssl.x86_64 ...
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. ...
2
votes
1answer
67 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
32 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
51 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) ...
5
votes
2answers
2k views

Make kernel modules available that have been deactivated on Fedora

I need some kernel modules which are available in the Linux source but deactivated on Fedora 20 and I wonder what's the easiest and most forward way to do make them available. (namely then net/CAN ...
1
vote
5answers
125 views

Linux package installation

I am managing more than 100 servers and I have some package that needs to be updated. Currently, I just have a shell script running a for loop on all servers and executing the command. Does anyone ...
0
votes
1answer
190 views

“yum groupinstall” i686 packages on x64?

I'm working on enabling x64 host build workers to build i686 RPMs, now that AWS EC2 (which we use to run build workers) is deprecating i386 nodes like m1.medium in favour of x64-only instance types ...
1
vote
2answers
4k views

How to do the equivalent of rpm -qf in AIX? (Which package does this file belong to?)

So. I have a binary in /opt/freeware/bin in an AIX PPC machine whose origin I don't know. It could be an RPM -- most open-source AIX RPMs install in /opt/freeware. But no such luck. It must have been ...
0
votes
1answer
46 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
78 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 ...
0
votes
1answer
68 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, ...
0
votes
1answer
50 views

rpm to track system version requiring all rpms as dependency surpasses 8k per line limit

I would like to be able to install one package that tracks the version of the system. If this package is installed I would like to be able to guarantee that the system is at the appropriate update ...
1
vote
1answer
142 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
2answers
43 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 ...
2
votes
2answers
94 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 ...
3
votes
2answers
2k 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 ...
0
votes
2answers
2k views

How to install mcrypt in dual PHP version CentOS 6?

I have two parallel versions of PHP installed on CentOS 6.5 via this method [root@host ~]# php -i | grep "PHP Version" PHP Version => 5.3.3 [root@host ~]# /opt/rh/php54/root/usr/bin/php -i | grep ...
-1
votes
3answers
248 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 ...
0
votes
1answer
150 views

Building 64 bit rpm on 32 bit rpmbuild system

Are there any way for building x86_64 arch target rpm on a 32 bit rpmbuild build system? $ rpmbuild -ba --target=x86_64 kernel64.spec Building target platforms: x86_64 Building for target x86_64 ...
1
vote
1answer
41 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 ...
-2
votes
1answer
637 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
78 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 ...