Questions tagged [rpm]

RPM Package Manager is a package management system used primarily for GNU/Linux operating systems. It used the .rpm file format.

RPM Package Manager is a package management system. "RPM" refers to the .rpm file format, files in this format, software packaged in such files, and the package manager itself. RPM was intended primarily for GNU/Linux distributions. The file format is the baseline package format of the Linux Standard Base.

718 questions
0
votes
2 answers

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 remote repository unusable during the sync -…
Mifeet
  • 111
  • 5
0
votes
0 answers

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 upstream kernel releases and apply my patches on top. I…
0
votes
1 answer

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, can i create the rpm locally on CentOS and then…
embedded
  • 466
  • 2
  • 6
  • 19
0
votes
1 answer

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 keywords, but I could not find a way to detect this with…
guettli
  • 3,591
  • 17
  • 72
  • 123
0
votes
0 answers

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 is not installed For any package, even though the package is…
Zeno
  • 211
  • 1
  • 3
  • 17
0
votes
3 answers

Error trying to reinstall rpm java package

I am trying to reinstall java on a CentOS box with the following command (Is this the best command?): rpm -i --force /root/jdk-6u11-linux-i586.rpm But I get errors when doing this: Error: Could not open input file:…
Kyle Brandt
  • 83,619
  • 74
  • 305
  • 448
0
votes
2 answers

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: /usr/lib64/libpng.so Is it better to install the libpng-devel…
abalone
  • 211
  • 1
  • 2
  • 5
0
votes
3 answers

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 don't know where the compiled code went or if it got…
bvpx
  • 113
  • 1
  • 5
0
votes
1 answer

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 installation. There are the following recent packages…
idobr
  • 103
  • 3
0
votes
1 answer

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 spec file an identical Conflicts and Provides…
Score_Under
  • 293
  • 3
  • 7
0
votes
1 answer

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 OpenSuSE, have a history of the changes, so that I…
guettli
  • 3,591
  • 17
  • 72
  • 123
0
votes
0 answers

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 for osad-5.11.57-1.el7.noarch.rpm is not…
Neil H Watson
  • 448
  • 1
  • 5
  • 18
0
votes
0 answers

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 provider: java-1.7.0-openjdk-headless.i686…
Dan Gravell
  • 253
  • 3
  • 9
0
votes
1 answer

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 python* But, it says i have already installed…
0
votes
0 answers

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 Release: 0 Summary: Copy user dirs / files…
Sergiu
  • 113
  • 2
  • 6