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

learn more… | top users | synonyms

1
vote
0answers
7 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
0answers
25 views

get the apache document root using shell script [duplicate]

I am creating an RPM and in the pre stage, I want to determine apache's document root so I can copy the web application files there. First, I check if apache is installed. If apache is installed, the ...
2
votes
3answers
27 views

get the apache document root using shell script

I am creating an RPM and in the pre stage, I want to determine apache's document root so I can copy the web application files there. First, I check if apache is installed. If apache is installed, ...
0
votes
2answers
26 views

Install rpm file from a server

I understand how to install an rpm from a given url. Example: RUN yum -y install http://rpms.famillecollet.com/enterprise/remi-release-6.rpm So that is the easy part. My question is, how do I do the ...
1
vote
0answers
37 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 ...
0
votes
1answer
30 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. ...
1
vote
1answer
19 views

createrepo fails with headerRead failed message

I execute createrepo -v --update epel-dir/ and at package number 14173, the process fails with a Python stack trace complaining that: headerRead failed: Header sanity check: OK So, I thought ...
0
votes
1answer
20 views

Conflicting answers regarding package from rpm, yum and repoquery

I have a few packages on a RHEL 6.5 system which exhibit the following puzzling behavior: The package is installed; rpm -q reports the package as installed; yum search shows that the package is ...
2
votes
1answer
30 views

What are gpg-pubkey* packages?

I compared the packages list reported by RPM and YUM on a CentOS 6 and 7. I noticed the lists were slightly different (same issue with RHEL). See Listing installed packages with yum and rpm mismatch ...
1
vote
1answer
26 views

how to find which repo does one rpm package belong to

How to know which repo does one rpm package belong to? I searched the yum manual, and I didn't find the option. And it is useless to use yum list installed.
-1
votes
2answers
20 views

Where to find the RPM file of GIMP for installation?

I wanted to install GIMP just like installing it on Windows using the exe or msi file. Where can I find the RPM file so I can just issue the command rpm -ivh gimp-2.8.14-x86_64.rpm I like to ...
1
vote
1answer
74 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
0answers
36 views

writing systemd unit file and specfile for a python twistd application [closed]

I have given a task to write the systemd unit file for a python twistd application and create rpm of it. The application is open source and you can find it here: ...
0
votes
1answer
16 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
93 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: ...
0
votes
1answer
37 views

Where does zypper source-install put the sources?

When using a command like zypper source-install kwrite where does zypper install the sources to?
0
votes
1answer
47 views

Can I install ALL required rpm to run wine without root permission?

I am logged in on a redhat linux computer, and I don't have root permissions. I have tried running/installing wine on a folder using ./configure , which outputs: configure: error: X 32-bit ...
1
vote
1answer
54 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
26 views

Local installation of .rpms using YUM

I'm asking this question cautiously because I don't want to get this wrong. I have a program_name.rpm file saved locally on my server (CentOS 6.5). I have installed it previously just by navigating ...
0
votes
1answer
56 views

rpm -Uvh - How to replace modified config file

The question is a duplicate from Stackoverflow site I upgrade rpm package with rpm -Uvh command. Original and new configuration file is the same, but current file on disk has been changed. This ...
0
votes
0answers
89 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 ...
1
vote
1answer
31 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 ...
0
votes
1answer
39 views

How can i download a rpm

I have a local repo that has some rpms in it. The repo xmls etc are up to date. When i find an rpm i dont have i want to be able to down load it, not install it obviously, and put that rpm into the ...
1
vote
1answer
21 views

RPM %install section

So, I am somewhat puzzled by the rpmbuild process. I'm now maintaining a slew of scripts previously created and while most work, there are enough differences between them that finding a consistent ...
0
votes
1answer
27 views

What option specified the location of the generated RPM?

I have noticed that, when building rpm files, that most end up in /usr/src/redhat/RPMS/i386 (building 32bit). Some though, incl one we roll in-house, writes the rpm files to ./i386.... so the file ...
1
vote
0answers
18 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 ...
2
votes
4answers
68 views

How to find out which package a user belongs to?

In Linux distributions, some packages create user accounts. How can I determine which package created a given user? I want to know specifically for Fedora and Ubuntu, but answers for other ...
0
votes
1answer
16 views

rpm -R verses zypper info --requires

Consider the following: root# rpm -qR foobar rpmlib(PayloadFilesHavePrefix) <= 4.0-1 rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(PayloadIsLzma) <= 4.4.6-1 root# zypper info --requires ...
2
votes
2answers
65 views

RPM Says Shared Object Is Missing But I Can Find It With ls

Having a problem installing an openssh rpm I hand-rolled today: [root@local_host ]# rpm -i openssh-6.7p1-1.i386.rpm error: Failed dependencies: libcrypto.so.1.0.0 is needed by ...
0
votes
1answer
305 views

Big trouble : rpm empty db, install V3 RSA/SHA1 Signature, key BAD, YumRepo Error

I'm little tired because I have spent hours solving problems, and can't find a solution on Centos 6.6. I have many troubles: rpm db is empty: try googling, find restore process, but always empty ...
1
vote
0answers
40 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
1answer
60 views

Installing RPM packages with circular dependency

I'm trying to follow an article to enable smart card login on my RHEL 6.6 desktop. When I attempt to install coolkey-1.1.0, it says ccid and pcsc-lite is needed. When attempt to install ...
0
votes
0answers
21 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
91 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 ...
1
vote
1answer
137 views

What does EL5 and EL6 means in term of packages?

I am new to CentOS and I am using it because Citrix XenServer is running on it. [root@xen01 shm]# uname -a Linux xen01 2.6.32.43-0.4.1.xs1.8.0.855.170800xen #1 SMP Mon Jul 21 05:12:35 EDT 2014 i686 ...
3
votes
1answer
511 views

Cannot update glibc on CentOS 7

I have CentOS 7 installed. I want to install the APR package for Apache, and I'm told I cannot install it because it requires at least glibc.2.14 while I have glibc.2.12 installed. I have downloaded ...
0
votes
0answers
213 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 ...
1
vote
1answer
48 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
4answers
82 views

Cannot use “firefox” command to run latest firefox

I have download firefox version 34 from Mozilla website. Next, I extracted the tar archive, and moved it to the Desktop. Now, when I run the following command: Desktop/firefox/firefox the version ...
0
votes
1answer
69 views

Multiple prefix tags in rpm spec file

I have an rpm that builds two packages. I tried to add separate Prefix tags in the preamble each of the packages. However, as there is one prep section, I am not able to address the prefix each of ...
0
votes
0answers
18 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
523 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 ...
1
vote
1answer
234 views

/sys: cpio: chown failed - Read-only file system (Building Passenger RPM using Docker) [duplicate]

While I'm trying to build rpm using Docker for Phusion Passenger 4.0.53 (https://github.com/phusion/passenger_rpm_automation), I get the following error. Any help is most appreciated. $ ./build -p ...
0
votes
1answer
185 views

removing virtualmin and webmin from remote CentOS 7 server

Webmin and Virtualmin were recently installed using rpm packages on a remote CentOS 7 server. How do I uninstall them? I have googled this, but all the results are either so old as to be obsolete ...
2
votes
1answer
36 views

Buildiing RPM to behave differently while Install & Upgrade?

I have an RPM package with nearly 4000 files, and the installation of this takes considerable time. However, of those 4000 files, only a fixed list of 25 files change for each release. My query: Is ...
0
votes
1answer
205 views

How can I upgrade libxml2 package on CentOS 6?

On CentOS 6.5, when I am trying to upgrade the libxml2 package with: yum localinstall libxml2-2.9.1-99.1.src.rpm I am receiving the following output: Examining libxml2-2.9.1-99.1.src.rpm: ...
0
votes
0answers
40 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
2answers
94 views

How to install Couchbase on ArchLinux

Is it possible to install CouchBase in ArchLinux? This database looks so promising, but they only provide .deb, .rpm, windows, and mac version. http://www.couchbase.com/nosql-databases/downloads
0
votes
1answer
43 views

Where can I download the software RPM for Redhat?

I try to download some software RPMs(such as gcc, gdb, etc.) for Redhat enterprise version. But after googling, I only find this website:https://access.redhat.com/downloads. This site doesn't seem to ...
2
votes
3answers
78 views

How to list packages with files in a particular directory?

I'm switching to CentOS from another distribution, and I'm not used to working with yum. I'd like to know if there's a way to know which installed packages have files in a directory. For example I'd ...