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
10
votes
3 answers

RedHat: is it possible to install packages in a kind of mock environment to build RPMs

Is there a tool that allows to install the dependecies of an RPM .spec into an isolated environment? I won't install such dependencies globally on the system and I am not able to do so since I have not root privileges. The reason I want to build a…
9
votes
1 answer

searching for installed rpms by vendor

I am trying to figure out the syntax to use to search installed rpms by a specific Vendor in Linux. I was ideally just trying to use the rpm -qi grepping for a specific vendor but that doesn't seem to work. Anyone have the syntax for this search?
lorrie82
  • 93
  • 3
9
votes
4 answers

What can I do to speed up createrepo?

We are using a yum repository to distribute our software to our production instances. Unfortunately, createrepo is becoming a bottleneck, and we only have 469 packages in the repository. $ time createrepo /opt/tm-yum-repo Spawning worker 0 with 469…
jsd
  • 219
  • 1
  • 2
  • 8
9
votes
2 answers

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 the file structure delivered under…
Jim
  • 335
  • 2
  • 4
  • 8
9
votes
3 answers

"No package pv available." on CentOS 6.2 Minimal

I'm trying to install Pipe Viewer on a CentOS 6.2 minimal system. When I run: yum install pv I get: * base: mirror.thelinuxfix.com * extras: mirror.atlanticmetro.net * updates: ftp.usf.edu No package pv available. Error: Nothing to do Do I need…
Nick
  • 4,503
  • 29
  • 69
  • 97
8
votes
3 answers

Difference between rpm -ivh and yum install

Supposing that I am going to install a package, what's the difference between these two commands: rpm -ivh and yum install same question for example with rpm -Uvh and yum update (for updating issue)
h_h10a
  • 217
  • 2
  • 7
8
votes
1 answer

Bad signatures or NOKEY errors on RPMs I just signed

I'm having serious problems getting RPM signing working for RHEL / CentOS 5 hosts. TL;DR: RPM signing isn't working, and it's working in a variety of insane and erratic ways depending on the exact GPG key size and format and even where it was…
Craig Ringer
  • 11,083
  • 9
  • 40
  • 61
8
votes
4 answers

How can I mirror a yum repository but download only the newest versions of each package?

I would like to mirror the following Yum/RPM repositories at http://yum.puppetlabs.com/…
Stefan Lasiewski
  • 23,667
  • 41
  • 132
  • 186
8
votes
3 answers

Howto get yum to install only dependencies for a given pakage?

I am looking for a way to have yum install only dependencies for a given package, something like an --prepare-for-install option so I can take a snapshot of the prepared system and test the rpm setup with different options or rebuilds of the package…
a1an
  • 447
  • 2
  • 7
  • 17
8
votes
2 answers

rpm spec: conditional require based of distro version

I'm trying to write a single rpm spec for RHEL/CentOS/SL 5 and 6. This spec is for python app, so there is no differences in build process. But on RHEL/CentOS5 I need to add one additional dependency. How would I define dependency only for el5? I've…
rvs
  • 4,125
  • 1
  • 27
  • 31
8
votes
8 answers

How to create an RPM for Suse

I need to install version 1.4 of Subversion on a Suse 10.1 (64 bit) box. I can't change either of these two versions and there isn't an RPM for this distro. After looking around I assume that I'll have to create an RPM myself. Is there a better way…
Manos Dilaverakis
  • 327
  • 3
  • 4
  • 9
8
votes
2 answers

RPM packaging multiple versions for simultaneous install

Are there some guidelines, or does anyone have suggestions on how I should package something that I need to be able to have multiple versions of installed at the same time?
Nick Anderson
  • 679
  • 2
  • 5
  • 11
7
votes
1 answer

yum install local rpm throws error if up to date

When installing rpm packages from local file directory it runs fine the first time sudo yum install packages/* -y --disablerepo=* When the same thing is run the second time as part of automated scripts, it throws an error (exit code…
JackLeo
  • 258
  • 2
  • 11
7
votes
2 answers

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 been changed? If I replace rpm by a script which…
uvsmtid
  • 897
  • 1
  • 6
  • 13
7
votes
4 answers

yum repo responding with [Errno 14] HTTP Error 403 - Forbidden

I am trying to set up a YUM repository containing some RPM packages from our nightly Jenkins build. The YUM repo resides on the Jenkins server in a repository folder [path to repo]/jenkins-nightly-build/[release name]-repo. After all the jobs are…
scottysseus
  • 427
  • 1
  • 5
  • 10