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

learn more… | top users | synonyms

2
votes
2answers
26 views

Where is the RHEL7 kernel source code installed?

I install the Linux kernel source code RPM: [root@localhost ~]# rpm -ivh kernel-3.10.0-229.el7.src.rpm warning: kernel-3.10.0-229.el7.src.rpm: Header V3 RSA/SHA256 Signature, key ID f4a80eb5: NOKEY ...
0
votes
1answer
24 views

Upgrading `popt` requires to upgrade too many packages

I am currently in the process of upgrading syslog-ng using rpm. In the upgrade process, I found out that syslog-ng has a dependency with rpm-libs which have a dependency with popt. The dependency tree ...
0
votes
1answer
7 views

How to get ALL kinds of reverse package dependencies: reverse-depends pendant for non-Ubuntu distributions

I would like to find all possible reverse dependencies (no need for recursive reverse dependencies) of a certain package p, that is, I want to find all packages which depend on p. This shall include ...
0
votes
1answer
20 views

How to install Goldendict on CentOS 7

I've tried to install goldendict on my laptop which runs CentOS 7 on different ways: 1- I've tried to convert .deb package to .rpm with alien 2- I've tried to build from source (with error or qt4 ...
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
2answers
2k views

How To Locate Dependencies Needed by RPM Packages

I am trying to deal with keeping our RHEL 5 server patched up, but also dealing with our security constraints. This particular server is not allowed to talk to the Internet. So yum isn't really an ...
0
votes
0answers
16 views

Can an rpm package install dependencies in sequence?

I have a custom rpm package being installed in CentOS which has a dependency which is not included in the default repo. This needs to be able to spin up on demand in Jenkins and the way the process is ...
0
votes
1answer
19 views

looking for a way to download a list of packages with yum

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 ...
0
votes
0answers
20 views

How to update my local repo that i am using to serve local machines?

I have created a local repo with 618 packages and made it available for my local servers.So that they dont fetch updates directly from RHEL repo. Here are some info about my local repo: ...
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 ...
1
vote
0answers
27 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 ...
3
votes
1answer
572 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 ...
0
votes
1answer
38 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 ...
5
votes
2answers
3k 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 ...
0
votes
1answer
11 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
17 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
38 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
30 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 ...
1
vote
2answers
25 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 ...
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
2answers
28 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]) ...
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 ...
1
vote
2answers
140 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 ...
2
votes
2answers
2k views

Why does yum continue to complain about a missing dependency that is already installed?

I have a self-created rpm for mapserver 6.2.1 that I want to support Oracle, but I am having a lot of difficulties getting it all to work. I have installed the ...
2
votes
2answers
55 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
36 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
83 views

How to upgrade Magic Box?

I'm running Magic Box on Virtualbox. Magic Box is a portuguese Linux System, based off of SuSE. At least, that's what it said on the Linux Family Tree. The version I have is V.12. There's the most ...
2
votes
1answer
2k views

Is there an equivalent of Synaptic (graphical UI) for Fedora?

I use Ubuntu for many years and I like to use Synaptic to manage packages. I'm testing Fedora (version 20) and I'm a little bit lost. Is there an equivalent of Synaptic (a graphical tool) for Fedora? ...
0
votes
1answer
47 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
37 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
46 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
46 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
39 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
73 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 ...
0
votes
0answers
188 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 ...
1
vote
1answer
101 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
1answer
24 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 ...
1
vote
2answers
3k views

Can't installing RPM package intltool?

I want to install on my Linux Red Hat machine (6.3 64 bit) the rpm - intltool-0.41.0-1.1.el6.src.rpm. For some unclear reason I get this: /var/tmp]# rpm -i intltool-0.41.0-1.1.el6.src.rpm ...
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
35 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 ...
0
votes
2answers
44 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 ...
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 ...
1
vote
1answer
153 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 ...
0
votes
1answer
26 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
2answers
281 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
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 ...