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

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 the iconv executable. I tried adding…
Tim
  • 584
  • 2
  • 9
  • 20
0
votes
1 answer

RHEL6 installed wrong version of rpmforge

I installed the wrong version of rpmforge for el7. Then I ran an update which installed this package on my system python-crypto-2.6.1-1.el7.rf.x86_64 Notice the el7 but I am on rhel6. I then realized and removed the wrong repository and installed…
SUB
  • 3
  • 3
0
votes
0 answers

install boost 1.51 package on centos 7

I'm trying to compile a program which requires boost 1.51, but the only available boost package via yum on my system is boost 1.53. I would prefer to install boost using the system's package manager, rather than from source. How might I go about…
igal
  • 144
  • 1
  • 10
0
votes
1 answer

how to "reset" the whole /etc/apache2/ to factory defaults in SLES 11?

i got a SLES 11 sp3 Server where the whole /etc/apache2 seems to be messed up. If like to reset the whole thing to what i call "SuSE's factory defaults" so i can start over. Any quick tip ?
Axel Werner
  • 156
  • 1
  • 12
0
votes
1 answer

RedHat 6.2 - Find the right place to download packages (RPM)

During a server install a custom script required the specific packages missing in my server: • sssd.x86_64 • sssd-client.x86_64 • cyrus-sasl-gssapi.x86_64 • c-ares.x86_64 • libtdb.x86_64 • libldb.x86_64 • libini_config.x86_64 • …
0
votes
0 answers

Is the lmdb-devel package necessary for installing the cfengine on RHEL v.7 via an RPM .spec file?

I have a problem when I try to build from my spec file. I run this: rpmbuild -ba newpackage.spec I see a great deal of output. It ends with these lines: configure: error: Cannot find Lightning MDB error: Bad exit status from…
Propulsion
  • 158
  • 2
  • 9
0
votes
0 answers

rpm spec file is not executed on rpm install

I am creating an rpm installer for my web applications. On the spec file, i got this on %prep and %install %prep #will create and cd to the named directory before doing the untar. %setup -c -n %{name} %install php install.php The issue is that…
Pelang
  • 413
  • 5
  • 9
  • 15
0
votes
1 answer

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 there an easy way to tell FPM to make an RPM that will…
TomOnTime
  • 7,945
  • 6
  • 32
  • 52
0
votes
2 answers

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) %defattr, but i am not sure how to add these…
Madhavan
  • 133
  • 1
  • 7
0
votes
2 answers

Automate NetBackup agent installation via RPM

We have an automated process of deploying new RHEL VMs. However, there's still an annoying manual step to install a NetBackup agent on the machine. This requires coyping a large archive (~ 1 GB) to the machine, extract the archive and run an…
EsTeGe
  • 271
  • 1
  • 5
  • 14
0
votes
2 answers

signing yum repository doesn't help passing the gpg check upon 'yum install'

I've created yum repository, to which I've uploaded an unsigned rpm file. I've indexed and signed the repo itself, by creating a repodata directory with the following…
hagit
  • 3
  • 3
0
votes
2 answers

Installing 32bit rpm in 64bit machine

First of all I know this is a complete mess but due to some developer legacy code(hard coded value),I am forced to install 32 bit rpm on 64 bit machine. cat /etc/redhat-release CentOS release 6.5 (Final) Problem is when I am trying to…
Prashant Lakhera
  • 713
  • 2
  • 10
  • 25
0
votes
1 answer

Yum Cache Service

I have a LAN where I currently use an instance of Sonatype Nexus to proxy several yum repositories. All the clients on the LAN are configured to install packages only from this service. The only reason why Sonatype Nexus is used is because the…
Ed I
  • 143
  • 5
0
votes
1 answer

rpm package conflicts with itself in yum

I prepared custom package platform-6-1.2.3-1.x86_64. I want it to be conflicting with every OTHER plat-6 package installed in the system. Files of the package are not conflicting with the others plat-6 packages. So I filled in spec file with: Name:…
mighq
  • 355
  • 1
  • 3
  • 11
0
votes
2 answers

How do I copy an RPM from a remote repo to a local one?

We've got a local RPM repo server, and not infrequently we need to find software that's hosted in external repos and migrate it so that it's hosted locally instead. How do you copy an external RPM hosted in an external repo to a local repo?
Chris B.
  • 337
  • 1
  • 8
  • 18