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

learn more… | top users | synonyms

0
votes
0answers
9 views

How does rpmbuild see files that need to be installed

I am trying to use an rpm package to build a package that does little more than install custom configs. I made a blank rpmbuild package, added another package as a dependency, this package installs ...
0
votes
1answer
14 views

looking for a way to find the size of certain packages that we want to download

We are trying to setup a local repo that contains all the base packages. So to get started we need to download around 3500+ packages and save it in a folder that will be used as a Repo storage. We ...
1
vote
0answers
25 views

Installing Graphviz & Dependencies without Internet access

I am trying to install graphviz on AIX7.1 - I have NO internet access and I have downloaded a lot of rpm files. I want to know is there a way to install the graphviz-*.ppc.rpm packages so that the ...
0
votes
1answer
33 views

CentOS 5.11: yum installs, but packages remain missing

I'm trying to figure out a very strange problem with yum on a fairly old CentOS 5.11 VPS using DirectAdmin. Executing the following command suggests the telnet package is installed: # yum install ...
0
votes
0answers
19 views

Can rpm call an external script stored somewhere in the package during installation?

I have a package which is being retooled for in house purposes. Mostly making changes to the configuration files. The files need to be somewhat dynamic so changing the config files at source isn't ...
0
votes
1answer
10 views

How to determine which Berkeley DB version is used for RPM's database?

I am attempting to read and write the RPM database located in /var/lib/rpm under CentOS 5, and eventually other system types (CentOS 6, RHEL, etc.) The problem is that I don't know what version of ...
0
votes
0answers
16 views

I want to trigger yum's RPM transaction myself by executing a rpm -ivh command. Which part of yum's source code do I change?

I would like to execute the rpm install command instead of letting YUM do it by changing its source code. Which part of the source code do I change ? I need this as I need to give additional options ...
0
votes
1answer
29 views

How to pass options to RPM through YUM CLI?

I would like to pass the --excludepath option to RPM through YUM since YUM doesn't provide an option like that. The --excludepath option tells the rpm command to exclude all files that start with the ...
0
votes
1answer
34 views

Installed from source code, but when checking installed-version, it's showing old-version. How to reslove?

OS: Fedora 12, x86_64 [root@earth]# rpm -qa cmake cmake-2.6.4-5.fc12.x86_64 But I installed cmake-3.2.3 from source code. How to check installed version that is installed from source code? How to ...
0
votes
1answer
25 views

RPM installation %post macro works on terminal but not on GUI

I have created my own .rpm file. The installation works prefect on the command line but doesn't work properly when i am doing it from the GUI. The only thing that doesn't work from the GUI is the ...
0
votes
1answer
12 views

RPM to invoke browser post installation

I am creating an RPM installer for centos 6.5, After installation i want the RPM to invoke the browser and show the installation report. This installation report shows the details of how the ...
0
votes
2answers
26 views

YUM failing install; not recognizing JDK

I am attempting to install some packages using YUM. The command I am using is: sudo yum repo-pkgs [my repo] install This produces the following result: Error: Package: [package name] ([my repo]) ...
1
vote
2answers
23 views

How to remove an rpm package while keeping certain files

Had an issue where 64-bit and 32-bit httpd packages were installed. When one of the packages is uninstalled via yum remove, it removes certain shared files like /etc/httpd/conf/httpd.conf. Is there ...
2
votes
2answers
42 views

How to fix GPG key retrieval failed: [Errno 14]?

I'm using Centos 6.5 and when I want to install packages from yum I get this error: GPG key retrieval failed: [Errno 14] Could not open/read file:///etc/pki/rpm-gpg/RPM-GPG-KEY-puias How can I fix ...
0
votes
0answers
31 views

Mod Speed Installation Error

I have 2 webservers Apache and Nginx. Trying to install mod_speed integrated with Apache but I get error: Failed dependencies: httpd >= 2.2 is needed by ...
0
votes
1answer
41 views

When to use arch vs. noarch when building RPMs?

Preface By building RPMs I do not mean compiling from source code. I purely mean taking a tar or a 'zip' file with source code or binaries and repackaging it as a RPM. I've been building RPMs from ...
0
votes
1answer
34 views

How to find through scripts that peer-to-peer file-sharing applications are installed in Linux?

We want to find out whether there is any peer-to-peer file sharing is installed on Linux machine. Some examples of these applications include - Napster Kazaa ARES Limewire IRC Chat Relay BitTorrent ...
1
vote
0answers
15 views

rpm --verify does not inform about missing file

I noticed there is a missing file in the MySQL installation in a RHEL server. I want to know if there are more missing files so I tried to use rpm --verify (or rpm -V), however it doesn't output ...
1
vote
0answers
44 views

How to corrupt rpmdb?

Yes, You read it right i actually want to corrupt RPMDB for testing purpose. I tried Googling it but all i got was to, how to rebuild it. So at last i tried rpm --rebuilddb and killed the process ...
0
votes
0answers
39 views

RPM build check-rpaths error 0x0001

While building my custom rpm package using the below mentioned command rpmbuild -v -bb test.specs I get the below error, + /usr/lib/rpm/check-rpaths /usr/lib/rpm/check-buildroot ...
0
votes
1answer
38 views

Iterating over an array in a shell script

I want to write code that reads a list of packages from an array and tells me whether the corresponding RPM is installed: ARRAY=( pkg-config python python-devel python-libs readline renderproto ...
3
votes
2answers
72 views

I have an RPM, and want to create an online repo

I have an rpm, a specific version of Spotify for Fedora, that is publicly available in a repository[1]. What can I do so that I will create a repository of mine(preferably in github) that will have ...
1
vote
1answer
98 views

RPM Requires group

During RPM installation under the Requires section of my spec file how do I install a group of things? For instance: Requires: Developer Tools which will pull from yum because I execute this like ...
0
votes
0answers
172 views

Getting Error in Dependency Resolution during installing vlc media player on centos7?

I was trying to install vlc on centos7 using yum install vlc as root user, But didn't succeed. I think previously I install wrong repository. I am getting following error. Following is only part ...
0
votes
1answer
22 views

Extract tree from cpio archive

I have an RPM contaning files in ./var/lib which I need to extract onto my filesystem on a Debian machine. I'm trying to do this: rpm2cpio myrpm.rpm | cpio -ivd ./var/lib Nothis is extracted. If I ...
0
votes
0answers
21 views

How to convert Fedora rpm file to Centos7 rpm

I new in Linux and specific in installation of rpm files I have src.rpm file rt-4.2.10-2.fc21.src.rpm (fc21 is meant for fedora) and wanna install this file on Centos 7 . How can do it and if source ...
0
votes
0answers
23 views

extract/unpack archive file from rpm binary file on %post

I'm creating an rpm for a php web application. And I need to run a php file on %post. But before I can do that, I need to unpack the archive file from the rpm file to execute the php file on %post, on ...
2
votes
2answers
34 views

How to choose system user ID for custom packages (RedHat & compatible)?

How should I choose the proper uid (or gid) for system users being created in a custom .rpm package? The user will be used to run a daemon non-root. I think it's not acceptabe to let adduser choose ...
1
vote
1answer
33 views

Package file without .rpm or .tar.gz… What to do?

I'm busy installing ELK package on a few RHEL6 servers, but we have two mail servers which are still RHEL5 i386 servers. So I go to https://www.elastic.co/downloads/logstash and downloaded the Linux ...
0
votes
2answers
43 views

Why I can't update the source rpm?

I have following 2 packages installed on a Redhat Enterprise 7.0 instance bind-license-9.9.4-14.el7_0.1.noarch bind-libs-lite-9.9.4-14.el7_0.1.x86_64 The "repoquery -i" command tells me that the ...
0
votes
1answer
24 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
59 views

RPM install add yum repository

Is it possible to add a yum repository as part of the Requires field on an RPM spec file? For instance: Requires: my_custom.repo, software.xyz (only available in my_custom.repo) If not what is the ...
0
votes
1answer
94 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
2answers
270 views

Is it ok to install CentOS rpm in fedora?

I want to try gitlab community edition in my fedora laptop. From the downloads page, it has binary packages for Ubuntu and CentOS 6 and CentOS 7. Which one should I be installing in fedora(release 21) ...
0
votes
0answers
69 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 ...
1
vote
2answers
98 views

Extracting Source RPMs in debian

I have a source RPM from which I would like to extract the source as closely as possible to "apt-get source PACKAGE". What are the available methods to do this?
0
votes
0answers
40 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 ...
2
votes
2answers
82 views

Clone Python from one linux machine to another

I want to run some of my python scripts on my new Linux (Centos 6.5) machine that I developed on another Linux machine (also Centos 6.5). But my problem is that my new machine is not having internet ...
1
vote
1answer
75 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
96 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
83 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
68 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
89 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
49 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
129 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
125 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
42 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
35 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
147 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 ...