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
1answer
1k views

Cannot get exclusive lock on rpm database in Unix

I was trying to install a python rpm on AIX 6.1 and it was taking too long and so I had to close ther terminal. Later when I tried to install the same rpm as root I am getting the problem as : ...
0
votes
1answer
20 views

If rpm install is running, wait until finished

We had troubles since our application run during rpm installation. In the future we would like to know if the rpm command is currently installing rpm packages. Maybe I am missing the matching ...
9
votes
5answers
13k views

Install recent ImageMagick on CentOS 6.3

I'm having a terrible time trying to get a recent version of ImageMagick installed on a CentOS 6.3 x86_64 server. First, I downloaded the RPM from the ImageMagick site and tried to install it. That ...
0
votes
0answers
30 views

CentOS: unable to verify backported fixes

Generally one uses rpm to verify backported fixes to a package like: rpm -q --changelog httpd But on my CentOS server, it's giving me: package httpd is not installed Or: package php ...
2
votes
1answer
40 views

Why are some RPM's “not relocatable”?

An RPM is relocatable if you can install it like this: rpm -ivh --prefix=/path/to/non/default/dir package-name.rpm Without getting the following error message: error: package package-name is not ...
0
votes
1answer
1k 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 ...
0
votes
2answers
353 views

Spacewalk (satellite) activation refresh child channels on client

We have a (spacewalk) rhn satellite server running and several hundred machines registered with it with a few activation keys. Each of these keys have one or more child channels. We need to know how ...
0
votes
2answers
85 views

Which is better, manually create soft link to generic .so or install devel package on Linux

I have the libpng rpm package installed on Centos linux which includes: /usr/lib64/libpng.so.3.49.0 /usr/lib64/libpng.so.3 #softlink to libpng.so.3.49.0 I use software that uses: ...
2
votes
2answers
99 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 ...
2
votes
1answer
14 views

Matching back ported package versions to major releases

Is there a way to link a backported versions of package to what is released by the original developers. For example the latest Centos package for OpenSSL is : openssl-1.0.1e-42.el6_7.4.x86_64.rpm ...
7
votes
2answers
183 views

How to ensure integrity and security enforcing signed unmodified RPM package?

There is a way to verify files related to specific package against original RPM content: # Verify `vsftpd` package. rpm -V vsftpd How to complete the chain and verify that rpm command itself hasn't ...
0
votes
3answers
72 views

upgrading openssl in CentOS 7

First, I tried downloading the source tarball openssl-1.0.1s.tar.gz from openssl.org and doing a ./config && make install, and although it seems to have completed the process successfully, I ...
0
votes
0answers
16 views

Exclude or change package used as dependency in rpm package under CentOS

I have an RPM package that depends on many other packages, so installing it will install everything I need - quite a normal approach. But one of the packages depends on custom nginx build (general ...
2
votes
3answers
491 views

Keep installed RPMs in sync

What is the best way to keep several CentoS/RH 5 servers keep the same set of RPM's? I.e., when I install or update an RPM on one of them using a common YUM repository, make the other servers ...
4
votes
2answers
412 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
54 views

I think I've resolved dependency, rpm doesn't

I have upgraded EPEL repo in order to install Remi repository in order to upgrade PHP to 3.5.4 in order to upgrade civicrm (on a CentOS 6.7 VPS running one production site and its dev site). ...
0
votes
1answer
25 views

Dependency issue installing Asterisk 1.8 on Amazon Linux Server

I'm trying to install Asterisk 1.8 on an Amazon Linux Server (2015.09). sudo yum install asterisk This results in the following errors: Error: Package: libresample-0.1.3-12.el6.x86_64 (epel) ...
0
votes
1answer
22 views

Suse: Restore Packages List from /var/adm/backup/rpmdb/Packages-20160323 .gz

On Suse-Linux you have gzipped backups of the rpmdb: https://www.novell.com/documentation/suse91/suselinux-adminguide/html/ch02s03.html#sec:rpm.anfragen But how can I get the list of all installed ...
-1
votes
2answers
25 views

rpm command hangs when executed as non-root user on RHEL7

I have a weird problem where the rpm command hangs for 40 seconds (it's always exactly 40 seconds) when executed as any non-root user. It doesn't matter what command line arguments are used, even ...
1
vote
1answer
27 views

How to change RPM metadata (version)?

I have a packaged RPM and I would like to repackage it so that is has the same contents but with a different version in metadata. My use case is in a test where I need to simulate the presence of ...
6
votes
7answers
3k 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. ...
20
votes
4answers
6k views

Can one require “this OR that” package in an RPM spec file?

Does anyone know how to (or whether one can) specify an alternate requirement or set of requirements in a spec file, as opposed to a single requirement? For example, say there are two packages ...
3
votes
1answer
168 views

Upgrade cURL to latest on CentOS 5.8

I need to update cURL on my MediaTemple DV server with CentOS. My server is running cURL version: 7.15.5 and CentOS version: 5.8 (final). I've seen commands like yum update curl, but just want to be ...
0
votes
1answer
134 views

yum : Could not contact CDS load balancer in AWS

I have an old EC2 instance with RedHat 6.5 installed. When I want to yum check-update, it show following error: $ yum check-update Loaded plugins: amazon-id, rhui-lb, security Could not contact CDS ...
0
votes
2answers
686 views

Error while installing mysql on centos 6.7

Error: Package: 2:postfix-2.6.6-6.el6_7.1.x86_64 (@updates) Requires: libmysqlclient.so.16()(64bit) Removing: mysql-libs-5.1.73-5.el6_6.x86_64 (@base) ...
0
votes
1answer
29 views

How should I provide a replacement for a package in yum?

I'm writing a spec file to replace a yum package with one from our own repository. The new package will be a drop-in replacement for the original. I thought the best way to do it would be to give the ...
0
votes
1answer
44 views

Gitlab rpm version

It is recommended to installed Gitlab as a Omnibus package. Packages are available for the popular deb and rpm formats. Packages are available here. There is a also script that automates ...
0
votes
1answer
17 views

Version of rpm before update?

Some days ago a rpm package was updated. In my case openssh. Today I wanted to now: "What was the version before the update?" Up to now I found not way to answer this question. Does RPM, in my case ...
1
vote
0answers
14 views

How do I search for a versioned rpm capability?

I would like to search the rpm database on the "CAPABILITY" of rpms but this seems to be poorly defined. See example below. on Red Hat, the glibc rpm provides the following capability: rpm -q ...
4
votes
2answers
126 views

rpm2cpio skips files from RPM

These steps are from a box running CentOS 6.5. I merely tried converting a RPM package to a CPIO archive and was surprised to find files listed in the RPM but absent from the archive. Here are the ...
0
votes
1answer
118 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
231 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 ...
6
votes
1answer
237 views

What does the “1:” before the package name mean in yum.log

I would be very glad if someone could explain what the 1: before the package name signifies.
1
vote
3answers
6k views

Repairing replaced OpenSSL installation

I previously replaced openssl on my centos box with openssl10, using something like these instructions: rpm -Uvh http://dl.iuscommunity.org/pub/ius/stable/CentOS/6/... ...
0
votes
0answers
25 views

Script from RPM %post does not interact with user

I'm building an RPM which needs to run a bash script as root. Below, in the spec's %post stanza the script %{installscript} does not interact with the user (as it does when run from the shell), but ...
0
votes
2answers
366 views

Resetting rpm fedora

Before I start let me say that I searched around for this, I wouldn't be here otherwise The problem While trying to upgrade fedora I used this command rpm -Uhv ...
0
votes
1answer
64 views

what's the diff between rpm -U and rpm -F

Bit confused. what's the diff between rpm -U and rpm -F man pages say -U upgrade package -F, --freshen=+ upgrade package(s) if already installed
1
vote
0answers
80 views

Installing libreoffice on SuSE Linux Enterprise Server 12

I have a server with a newly installed SuSE Linux Enterprise Server 12. It appears that the libreoffice related RPM's are missing, and instead are part of SuSE Linux Enterprise Desktop. What's the ...
8
votes
3answers
25k 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
vote
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 ...
0
votes
2answers
333 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) ...
16
votes
3answers
25k 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
3answers
809 views

Linux's /etc/init.d - symlink, hard link, or actual file?

I have a Debian and an RPM package that requires a start/stop script to be added to the /etc/init.d directory. Recently, I was informed by a remote developer that "those in the know" know that "best ...
2
votes
2answers
1k 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
1answer
46 views

Yum update complains about dependency (architecture mismatch)

I created a meta RPM package (say metapkg) that pulls all the dependencies I need on my system (CentOS 7). This package specifies the exact versions of its dependencies (without the architecture ...
0
votes
2answers
586 views

RPM command hangs

in CentOs 5 rpm command stucks in my linux machine... [root@manage glib]# rpm -i libgcc-4.1.1-52.el5.i386.rpm [root@manage glib]# ps -efww | grep libgcc root 2020 32168 0 13:50 pts/0 ...
3
votes
1answer
3k views

Install rpm package using Ansible

How do I install .rpm package on remote machine using Ansible? The obvious solution is to use command module, but that is a bit silly. Also I would like to avoid setting up a yum repository just for ...
13
votes
3answers
5k views

Where can I find an online list of CentOS packages and their versions?

I am looking for an online list of the standard packages available for CentOS Linux. I know that if I had a CentOs system running, I could use yum to list packages. However, I am trying to evaluate ...
1
vote
1answer
95 views

yum “Transaction Check Error” pointing to files that do not exist

I am trying to install a boost148 package. This is a separate package from the boost, which I have installed and is version 1.41. yum install boost Loaded plugins: refresh-packagekit, security ...
-2
votes
1answer
557 views

How to add a repo to YUM on Ubuntu?

I am working a Ruby project and I have to install this gem xmlparser. It asks me a lot of dependencies that must be resolved before installing the gem. One of them is the expat and some guys on the ...