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
2k 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
44 views

Synchronize RPM repository atomically

We have a RPM repository (on a Centos 6 machine) that we need to push to another machine. So far we've been using rsync -av --delete to simply push the repo directory over the network. This makes the ...
1
vote
3answers
913 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 ...
0
votes
1answer
43 views

How to verify if an rpm was installed from scratch or upgraded?

we installed the following rpm's via yum on redhat version 5 # rpm -qa --last | head -10 kernel-headers-2.6.18-408.el5 Wed May 18 13:33:59 2016 bind-utils-9.3.6-25.P1.el5_11.6 ...
0
votes
0answers
21 views

Building CentOS kernel from RPM with patches (but missing files that are in the SRPMs)

I have a hardware system that I am running CentOS 7 on. I would like to add some patches to the default CentOS kernel, since I have some custom hardware to support, but I also want to track the ...
0
votes
1answer
20 views

Build rpm on CentOS for RHEL

I need to install some software which is not available pre-compiled on a client's RHEL Server. I decided to create a rpm for easier installation on multiple systems. As i have no RHEL subscription, ...
0
votes
0answers
18 views

Finding Lynx for RHEL 6

Today I tried tried running $> apachectl status and got the following message: apachectl: line 95: lynx: command not found No problem, guess this server doesn't have lynx installed. My ...
6
votes
1answer
7k views

RPM Spec How to specify in package so that previous RPM is removed

Question: What do I put in the foo.spec file so that the RPMs will remove the previous RPM before installing? Description: I have created a spec file that creates rpm's for a few packages that use ...
20
votes
5answers
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 ...
0
votes
1answer
39 views

Installing rpm-package to systemd?

I am new to systemd, and trying to get an in-house app packaged as rpm, to install on systemd host (RHEL7). The rpm tries to place the systemd .service-file: myapp.service into: /etc/systemd/system ...
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
22 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 ...
10
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
46 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
2answers
358 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
161 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
101 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
185 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
138 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
17 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
509 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
446 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
97 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
31 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
29 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
26 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
31 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. ...
3
votes
1answer
184 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
177 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
886 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
41 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
47 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
132 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
129 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
250 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
241 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
7k 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
26 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
367 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
77 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
93 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
26k 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
356 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
26k 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' ...