RPM is a package management system intended primarily for Linux distributions.

learn more… | top users | synonyms

5
votes
1answer
2k views

How can I downgrade a glibc version?

I upgraded glibc for a reason that isn't around anymore so I want to downgrade it. The stupid thing is a lot of programs rely on glibc at the moment. I still have the 2.4 version on the system as the ...
3
votes
1answer
503 views

Make RPM Satisfy Dependency Requirements of Other Installed Packages

So, I am installing a java app that I wrote which uses jnetpcap. This requires libpcap of at least v1.0.0. My CentOS 5.8 only has libpcap 0.9.4, which is required by other installed packages. I've ...
2
votes
1answer
2k views

Unable to use yum repos whether with baseurl or mirrorlist in CentOS 6.5

Since a couple of days, I'm unable to retrieve repositories data with Yum, in my CentOS 6.5 server. I did yum clean all a dozen of times, it emptied all but didn't solved the problem. I tried to ...
2
votes
1answer
326 views

rpm temp file question (rpm-tmp)

When installing an RPM on CentOS, I receive the following error message: /var/tmp/rpm-tmp.44492: line 578: [: too many arguments The trouble I'm having is that /var/tmp/rpm-tmp.xxxxx file is always ...
2
votes
1answer
323 views

Install apache2-mod-mono-2.10

I am trying to install mod-mono for apache so that I can run C# asp.net websites from my server. The project I have is a .net 4 project. When I go into yast and select apache2-mod-mono for install ...
1
vote
1answer
23 views

Why doesn't yum-builddep install all dependencies?

What worked for other packages, doesn't work for kernel. Why? First, sync: [git@dioptase SRPMS]$ ssh root@localhost yum-builddep /home/git/rpmbuild/SRPMS/kernel-2.6.32-431.el6.src.rpm Getting ...
1
vote
1answer
107 views

Bash script problem in RPM postinstall

I created an rpm package that extract a Node.js project into a specific folder and then I created a postinstall script that cd into that folder and perform an "npm install --production" #!/bin/bash ...
1
vote
1answer
88 views

How to force rpm and yum to fail if a GPG signature is missing or cannot otherwise be verified?

How can I force rpm and yum to fail if a GPG signature is missing from a package or otherwise cannot be verified due to a missing key? For the example below, assume the RPM has been signed but the key ...
1
vote
1answer
57 views

force zypper to install a specific ersion

i have my own personal repo with older versions of rpms in it. If i want to install boost-license version 1.36.0.11.17 i do the following zypper boost-license=1.36.0-11.17 this seems to be broken ...
1
vote
1answer
64 views

rpmbuild different path for sysconfdir

I am building rpm for opensips and i want to install this package in /opt/opensips path instead of default system path I have define following in my SPEC file %define _prefix /opt/opensips ...
1
vote
1answer
278 views

What is the default behavior of %install?

I am attempting to build an RPM using the -bb flag (%prep %build %install %check package). This is the output of the %install step: Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.2kgeNY + umask 022 ...
1
vote
1answer
2k views

“Requires: perl(:MODULE_COMPAT_5.8.8)”

I use CentOS 6.5 for my server with below repository: IUS epel ces-standard-* base/upgrade/extras When I tried to update today (it's been a while I haven't updated this server), I got the ...
1
vote
1answer
118 views

How to Resolve a .so Dependency

I have a package (.rpm) on CentOS 6.5 that requires a .so file, which I also have on my machine. When I attempt to install the package I get an error stating unresolved dependencies regarding the .so ...
1
vote
1answer
113 views

setting up yum in stripped down linux

I have a box that contains minimal binaries needed to run Scientific Linux. What I want to do is to install additional programs. I could get rpm installed and tried to install yum but resolving those ...
0
votes
1answer
11 views

Changing manifest values in RPM built with FPM

I'm using the delightfully–named Effing Package Manager (FPM) to build RPMs and DEBs for a project. After publishing the generated RPM with createrepo, I noted the following lines in the generated ...
0
votes
1answer
30 views

Dependencies problems installing VNC Server in Red Hat Enterprise Linux Server release 6.5

I'm triying to install VNC Server in a Red Hat Enterprise Linux Server release 6.5. I have the .rpm of VNC Server, but it has a depedency with xterm, which I have the .rpm too. Trying to install xterm ...
0
votes
1answer
48 views

How to fetch source iproute(2.6.32.130) not patches

I want to look at the source of below package. [root@ovs-1 ~]# rpm -qa | grep iproute iproute-2.6.32-130.el6ost.netns.3.x86_64 I tried to install the src rpm as below, it showing below error. ...
0
votes
1answer
21 views

rpm -V inner workings

I have an rpm file that is used to install a package I made the package consists of java classes and shell scripts to run these java classes, in a .run file. So the rpm essentially only contains a ...
4
votes
0answers
149 views

Centos 7 boot up with custom kernel problem

I have installed centos 7 on virtualbox machine which has kernel-3.10.0-123.20.1.el7.x86_64. I am trying to build Linux kernel from kernel sources. I downloaded the kernel source files from: ...
3
votes
0answers
843 views

recommended procedure to create a user/group during RPM install

after trying hard to search for RPM best practices guides and finding virtually none, to my surprise, I resort to the community - I need to ensure that some users and groups exist after the ...
2
votes
0answers
46 views

Can capabilities for files be specified via cmake/cpack?

Since RPM 4.7, there has been the ability to specify that a file in an RPM package should be installed with capabilities set (via %caps). Is there a way to specify something like this via cmake/cpack ...
2
votes
0answers
48 views

Best way to release an RPM that includes an independently version module

I work on a server software that is targeted for RHEL/CentOS and is currently distributed via a standard RPM file. What brings me here is that it includes a downloadable client engine that users can ...
1
vote
0answers
47 views

32-bit package from a repo that should only contain the 64 bit packages

Trying to a do install of some packages and it seems that it is trying to pull a 32-bit package from a 64-bit repo. Installing for dependencies: cyrus-sasl-lib i686 ...
1
vote
0answers
23 views

Make a rpm package from the cpan compatible tree?

I always make my perl module following the CPAN-complient tree. I would like to use this tree to create a rpm file I could install on a hundreth servers. Is it possible to make a rpm package with ...
1
vote
0answers
46 views

How to upload package to my private YUM repository on Suse

I have created a private repository and populated it with RPMs. I can query and install via the zypper package from remote Suse boxes which is great. What is the neatest way to upload new packages to ...
1
vote
0answers
120 views

How do I install additional modules when building an Apache RPM?

We've been compiling and installing Apache under /usr/local/apache2 and in turn would tar the folder up to distribute to our other servers. I would like to convert this into an RPM package for easier ...
1
vote
0answers
105 views

Installing rpm & dependencies

I am trying to install an rpm, namely the Oracle 10g database for CentOS 6 for testing an app. The problem is that the machine the OS is installed on does not have access to the internet and there ...
1
vote
0answers
865 views

How to change metadata on an installed rpm

I need to modify information for an rpm which is already installed. E.g. rpm -qi sip-section-call-1.0.19-1.noarch Name : sip-section-call Relocations: (not relocatable) ...
0
votes
0answers
41 views

How to install rpm

I have CentOS-6 and rpm and yum installed on it. The problem is that I had make utility on my system, but somehow it got uninstalled. Now, i want to install make with 'yum install', then I get ...
0
votes
0answers
35 views

Repackage RPM with kernel

I am tinkering with CentOS 5.4 and upgrading the kernel to the latest 2.6.18 build 402. What I need to do is to rebuild the initrd to include a modified init script, then repackage it all into an RPM ...
0
votes
0answers
127 views

upgrading Berkeley DB rpm in a Centos OS

I have a software which need Berkeley DB 4.5 or above. But in my CENTOS 5.11 x86_64 Server I have Package db4-4.3.29-10.el5_5.2.x86_64 already installed and latest version Package ...
0
votes
0answers
22 views

Where can I ask for help on how to build a RPM package?

Im really lost on how to build a RPM package to install in Citrix XenServer. (centos 5). The package maintainer didn't update the RPMs. I downloaded and installed Centos 5 and the rpm-build, gcc, etc ...
0
votes
0answers
129 views

How to install evince on CentOS Linux release 7.0.1406

On my CentOS Linux release 7.0.1406 the PDF reader doesn't render image colours correctly that's sent from MacOSx/CS Adobe Acrobat. Is there a way to install Evince with Yum on this particular ...
0
votes
0answers
269 views

Convert pacman package to deb or rpm?

Given a pacman package (.pkg.tar.xz), is there a tool to convert it to a deb or rpm package? In other words, I'm looking for an equivalent to alien. So far, I got the impression that such a tool does ...
0
votes
0answers
22 views

Adding files to %files section of SPEC file from another file

Is there a way to use a text file to add files into a package. This is what I intend to know: I have a text file that contains a list of files to be packaged. Is there some way to use that list in ...
0
votes
0answers
833 views

completely clean re-install of mysql on CentOS 7

I have encountered problems with a mysql installation on CentOS 7. All the data is backed up, so I just want to completely erase every remnant of mysql on the machine and then do a clean install. My ...
0
votes
0answers
49 views

Mapping between RPM file names and metadata names generated by maven

We have a Sonatype Nexus repo, where we publish RPMs with the Maven RPM plugin. Snapshots and release versions are available. The issue here is around the mapping between versions. First, I obtain a ...
0
votes
0answers
64 views

yum/rpm: exclude a file (by path) from being installed

Is there any way to make yum/rpm never install a particular file path, but to otherwise install any packages which contain that file path, and for verification to act as if that file exists? For ...
0
votes
0answers
16 views

How to stop meta-rpm transaction if a precondition fails?

I currently have a meta-package rpm which contains a list of dependencies on other rpm packages. I want to stop the update/install transaction of the meta-package (and all subsequent packages) if the ...
0
votes
0answers
55 views

Why can't an rpm use xterm?

I made an RPM package that uses Xterm during its install. Whenever I installed the package that I made prior to packing into the RPM, the Xterm part of the install worked correctly. I am curious to ...
0
votes
0answers
13 views

rpm :deptype flags explained

On Fedora 20 (Heisenbug) I issed the following command … rpm --query --queryformat="%{REQUIREFLAGS:deptype}\n" --all | sort --unique --dictionary-order … to get all possible :deptype ...
0
votes
0answers
50 views

“Suggest” to RPM install the UID of a user that is going to be created?

In an RPM it's possible to create a system account; is it possible to suggest the UID to use? For example; during the normal install say that the UID in use was going to be 100; but I want it to use ...
0
votes
0answers
265 views

bash script to verify rhel patching

we have several redhat servers which we patch from redhat satellite. To avoid confusion, I'll use the term "host" to denote the server which is being patched. We have a script, say, patch.sh, which ...
0
votes
0answers
21 views

facing issue while installing oracle Database 11g on rhel5 And SOA

While installing required rpms for both SOA and Oracle the below rpms are conflicting with each other glibc-devel-2.5-49.x86_64.rpm and glibc-devel-2.5-24.i386.rpm How can I fix it? one package gets ...
0
votes
0answers
17 views

package manager with staging

my goal is to configure mirror-repository for packages (rpm, deb) which will have some features: staging (developing,testing,production) capability to back/forward stage doesn't take so much space ...
0
votes
0answers
120 views

Centralized package management for RPM based distro

We have about 6 servers under Linux CentOS. And I want to have possibility to view (best will be some web-interface, but console-only useful too) outdated packages, which can be updated and have all ...
0
votes
0answers
37 views

How to handle a mass rpmbuild for a new distribution?

How could I define and initiate a mass rpmbuild for a coresystem of a new distro? Which requisites beyond rpmbuild-dir are needed?
0
votes
0answers
334 views

How to install cpp in RHEL 6.3?

I want to install gcc in RHEL 6.3, but it has cpp dependencies. So I go to cpp rpm download page, but it has no rpm for 6.3 version: Is there any other way to install cpp in RHEL 6.3?
0
votes
0answers
266 views

How can i specify directory user & group for files inside an RPM?

I am building RPMs using FPM. When using the --rpm-user and --rpm-group, I notice as advertised that in the specfile that the %defattr(-,user,group,-) is set under %files. This does indeed set the ...
-1
votes
0answers
15 views

creating an RPM with parameter from source code

How do I build an RPM from the following source code: http://wiki.nginx.org/Fcgiwrap#Manual_Install Is it like in this link: http://kwave.sourceforge.net/doc/en/building_rpm_from_git.html Do I need to ...