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
2answers
42 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 ...
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 ...
0
votes
1answer
38 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
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 ...
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
153 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
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
130 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
1answer
93 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
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 ...
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 ...
-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 ...
0
votes
2answers
873 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
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 ...
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 ...
0
votes
1answer
39 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
173 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
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 ...
6
votes
1answer
240 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.
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
1answer
76 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
91 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 ...
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 ...
4
votes
1answer
4k 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 ...
-2
votes
1answer
821 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 ...
0
votes
0answers
153 views

yum install fails with key error

This install fails: yum install osad ... warning: /var/cache/yum/x86_64/7/spacewalk-client/packages/osad- 5.11.57-1.el7.noarch.rpm: Header V4 RSA/SHA1 Signature, key ID 066e5810: NOKEY Public key ...
1
vote
1answer
106 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 ...
0
votes
0answers
44 views

Yum dependency resolution choosing older version than requested

I have an RPM I am installing. Here's what deplist gives: $ yum deplist path/to/my/rpm .... dependency: jre*headless >= 1:1.8.0 provider: java-1.8.0-openjdk-headless.i686 1:1.8.0.45-40.b14.fc20 ...
0
votes
0answers
22 views

pulp unexpected error when uploading own rpm

I have been using pulp 2.6 on CentOS and was able to clone and serve the amzn repo. Now I created an internal repo and I tried to upload my own rpms in it but it fails with an unexpected error. When I ...
1
vote
1answer
241 views

yum - install package forcing replacing files

I want to install one package with yum and not using rpm but with the same behavior like --replacefiles in rpm. I have one package that have file conflicts with other and I need to install forcing ...
0
votes
0answers
19 views

yum - Fail installing one depencency of metapackage

I have created one metapackage with 3 dependencies inside. I'm wondering if one of this dependencies fails (for example due to bad inet connection), what is the state of installation? 2 dependencies ...
1
vote
2answers
56 views

rpm spec file build requires packageX or packageY [closed]

Is there a way in the rpm spec file to specify as build requirement packageX or packageY. Current nodejs 4.1 requires g++>=4.8 or clang++>=3.4 to be able to build the package. This is only a ...
1
vote
1answer
78 views

rpm spec file buildrequires with more than one criteria

Is it possible to specify in a rpm spec file that to be able to build you need a version of a package greater than and at the same time lower than something? For example I would like to specify ...
0
votes
0answers
16 views

Checking which files have changed since installed [duplicate]

Is there a way to find out which files have been changed/added from an RPM? Specifically, I have an application which has a giant tree of configuration files which I need to replicate/document on a ...
0
votes
1answer
37 views

What to do if /usr/lib/python*/site-packages is accidentally deleted?

I have accidentally deleted my site-packages folder for python2.7.5 under /usr/lib/ . I have seen that if this problem happens i need to install python again. So, i took an rpm and tried rpm -i ...
1
vote
3answers
907 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
0answers
146 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
1answer
95 views

How to make executable find libraries after relocation?

I am attempting to build a RPM for GNU libiconv I have no problem compiling the source, but when I install to a temporary location the full temporary path of the shared library gets hard-coded into ...
0
votes
0answers
43 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 ...
5
votes
2answers
3k views

CentOS 6.6 (Final) - yum kernel upgrade troubles

Well-being everybody, I'm a SysAdmin Junior managing 3 CentOS Virtual (Web)Servers, this morning I'm facing some troubles with package manager yum. As usual operation, this morning I've run the ...
0
votes
0answers
65 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 ...
1
vote
1answer
67 views

RPM built on same Guest OS, segfaults on another host (Asterisk)

I have built an RPM for Asterisk 13 for Centos 7 using a build VM running on OSX (MacBook, using Parallels). This is with the intention of using this RPM on both our QA and production systems. ...