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
5
votes
1 answer

RPM that installs to /opt/rh

I've noticed that the "mysql55" RPMs in the standard CentOS 5.10 repository install everything to /opt/rh. Is it expected that an end user might change this location somehow? It creates complications when trying to build software that depends on the…
ScoPi
  • 153
  • 1
  • 5
5
votes
2 answers

Where to store VCS version in RPM?

We're using Git as our VCS and RPMs for packaging. I'd like to store the Git hash a package was built from, but I'm not sure on the most appropriate place. There are a number of tags available to an RPM, however I don't see any for a VCS version…
quickshiftin
  • 2,125
  • 5
  • 27
  • 41
5
votes
2 answers

Avoid file conflict in rpm package

I have created a rpm package.The part of .spec file is below %install mkdir -p ${RPM_BUILD_ROOT}/etc/xyz cp -rf %{BDIR}/console ${RPM_BUILD_ROOT}/etc/xyz %files /etc/xyz/console So XYZ package copies console directory to /etc/xyz…
Deepak Ingole
  • 101
  • 1
  • 8
5
votes
3 answers

Yum repo server as archive cache

Our software stack requires some specific versions of RPM packages. Unfortunately some of these packages become deprecated over time and get removed from their repos since their maintainers don't keep archives (EPEL, Percona, ...). It is a problem…
gphilip
  • 115
  • 5
5
votes
1 answer

Why does installing the same package twice with yum not give me the same files?

The situation I am facing: I set up a CentOS 5.9 machine that is supposed to be as close as possible a copy of another CentOS 5.9 machine, but not a clone. Using yum, I installed (as far as possible) all packages on the target machine that are also…
user2845840
  • 213
  • 1
  • 8
5
votes
3 answers

RPM ignore conflicts

is there a way to ignore rpm version conflicts by keeping the latest version installed? For example. I want to install gawk in AIX. I have all the required rpms in a…
Cobra Kai Dojo
  • 447
  • 2
  • 6
  • 21
5
votes
4 answers

Yum (CentOS 6.4) - Remove all Installed Packages

I need to clean my system and redo it all. Is there any easy way to get rid of every single package I've installed (to a point where it's CentOS minimal)? I can't remember all of the packages and yum list installed pulls up a list of 1,000s of…
Ryan
  • 197
  • 1
  • 3
  • 10
5
votes
1 answer

What is preferred approach to deploy Python app using RPM?

I am new to the dev-ops side of things, and I've been working to get a Python application packaged into an RPM (using python setup.py bdist_rpm) deployed onto a centos VM via Yum. Chef is used to manage the VM. The Python app will run within a…
woodbon
  • 53
  • 3
5
votes
1 answer

RPM Package a ruby project

I want to package a ruby program that I get from git into a RPM package. I have at my disposition a build server and a production server (Same OS / Same Arch). As most ruby project, mine does have gem dependencies. I found two ways of doing what I…
Spredzy
  • 965
  • 8
  • 11
5
votes
2 answers

How does the RPM Database typically become corrupt?

We are automating some deploy scripts which uninstall/install RPMs. I've seen on more than one of our hosts that rpm -qa returns something like: # rpm -qa | grep…
Anon
  • 151
  • 1
  • 2
5
votes
3 answers

CentOS6 installation from CentOS5 box?

I am trying to build a new CentOS 6 VM from my CentOS 5 host, but it appears that something fundamental has changed between these versions: $ rpm -ivh --nodeps --nodigest --ignorearch --ignoreos --force --root=/mnt…
Bittrance
  • 3,070
  • 3
  • 24
  • 27
5
votes
1 answer

Creating a local rpmforge/repoforge mirror?

I make good use of RPMforge for my production CentOS systems. I have local repositories for the main CentOS distribution and updates, however, recent automated kickstart installs are starting to hang on downloads from slower RPMforge mirrors. I've…
ewwhite
  • 197,159
  • 92
  • 443
  • 809
5
votes
3 answers

Removed YUM? CentOS 5.5

After doing yum remove crontabs this appears after running yum: -bash: /usr/bin/yum: No such file or directory This was the output of yum remove crontabs: [root@vs270 opt]# yum remove crontabs Loaded plugins: fastestmirror Setting up Remove…
Justin
  • 222
  • 4
  • 12
5
votes
1 answer

Are there RPMs for GlassFish v3?

It seems that the GlassFish project itself does not provide RPM packages, and neither does JPackage (http://jpackage.org/). Is someone else providing ready-built RPM packages for RHEL/CentOS? On a related note: why are RPM packages so conspicuously…
Markus Miller
  • 1,974
  • 3
  • 15
  • 15
5
votes
4 answers

How to create an rpm without a build step

I'm trying to create an rpm of some code which doesn't need to be built. It will just need to run a script when it's installed on the destination system (i.e. I just need the %install portion of the spec file). I've left both %build and %configure…
infra.user
  • 53
  • 1
  • 3