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

learn more… | top users | synonyms

1
vote
1answer
69 views

Install NCDU on Scientific from EPEL

Introduction The commands specified in the answers to this question and this documentation have been applied to install NCDU on Scientific using EPEL without success. According to this documentation ...
1
vote
2answers
10k views

How to install/remove/upgrade .rpm packages on Red Hat?

I am new to linux, and at the university we are using this distribution to mount servers on VM, but I need to install a package that is missing in my virtual machine that is running Red Hat, but how ...
1
vote
2answers
244 views

How to automatically accept epel gpg key

The very first time that I install a package from epel, I am prompted if I want to import a GPG key. Notice how there are 2 'Is this ok' prompts when installing redis? [root@us-devops-build02 ...
2
votes
3answers
1k views

How to link Requires to BuildRequires in rpm spec?

Let's say I have such Requires entries: Requires: a Requires: b Requires: c and now I would like to state, that: BuildRequires: <<Requires>> meaning, that for build I require ...
0
votes
1answer
150 views

How do you create RPM from .spec file?

I'm attempting to create an RPM from a spec file that was provided here: http://sauron.jyu.fi/docs/manual/x191.html Having not used rpm much, I assume that I execute the command rpmbuild and point ...
2
votes
2answers
993 views

check if latest openssh patch provided by RHEL is installed

We have encountered a security threat in one of our RHEL servers which says the SSH server is configured to use Cipher Block Chaining. As far as I know, the RHEL systems provide security updates ...
104
votes
12answers
38k views

What are the pros/cons of deb vs. rpm?

For whatever reasons, I've always used RPM based distros (Fedora, Centos and currently openSUSE). I have often heard it stated that deb is better than rpm, but when asked why, have never been able to ...
2
votes
1answer
90 views

What do all the letters and numbers in a Red Hat RPM version number mean e.g. openssl-devel-0.9.8e-27.el5_10.1?

What do all the letters and numbers in the rpm name openssl-devel-0.9.8e-27.el5_10.1 mean? I recognize the openssl-devel-0.9.8e part because that's the same number applied by the developement team at ...
0
votes
1answer
360 views

How to install mysql-server 5.6 on RHEL 5.8 (when MySQL-server 5.0 is already installed)

I want to install mysql-server 5.6 on RHEL 5.8, but when trying rpm -i or rpm -Uvh it complains that I already have version 5.0 on there. I am happy to replace, upgrade or install another instance. ...
1
vote
1answer
49 views

Pre-compiled Finale substitute for Fedora 20?

I recently lost my dual-booted HDD (with both Linux and Windows). It did some weird stuff and started changing all files to read-only on every start-up. So, I bought a new HDD and put Fedora 20 on it. ...
2
votes
3answers
946 views

Editing Spec file in RPM

I'm trying to edit a spec file which always fails when I try to install it on other computer using RPM. I'm using CentOS. Here is the error. error: Failed dependencies: perl(ActsUtil) is needed by ...
1
vote
1answer
108 views

What causes a csh script to sometimes not source /etc/csh.cshrc?

I have a csh post-installation script that is executed from an rpm %post with its interpreter line set to #!/bin/csh (without the -f option). This should cause the file /etc/csh.cshrc to be read ...
1
vote
3answers
143 views

Installing ack on cpanel

I need to install ack on an instance of whm/cpanel (I have root access as it is a VPS) but I have not found any information on how to do that. I tried to install it using the WHM RPM manager, but the ...
3
votes
1answer
3k views

why can't I install packages with rpm? I get “transaction lock”

I'm having problems with yum and I am trying to re-install it. I've download yum.3.2.0-40-el6.centos.noarch.rpm. When I try: $ rpm -ivh yum.3.2.0-40-el6.centos.noarch.rpm I get: error: can't ...
1
vote
2answers
125 views

yum translation of rpm -Uvh

I'm trying to understand what yum version of rpm -Uvh is. I found this question about that command and yum, but it doesn't have what I'm looking for. Looking at --help, would this be the equivalent of ...
3
votes
2answers
62 views

Why is “dir-or-file-in-usr-local” an error rather than a warning?

I'm building some rpm packages and checking for standards and style conformance using rpmlint. The packages are specific to systems at my place of work and they won't get pushed upstream. Our ...
1
vote
1answer
755 views

Public key problem when installing ovirt on aws

I started an instance on AWS with centos 6.4. I ran the following two commands: $ yum localinstall http://resources.ovirt.org/releases/ovirt-release.noarch.rpm $ yum -y install ovirt-engine I got ...
4
votes
2answers
129 views

How do you separate /bin and /sbin when making an RPM?

I'm trying to make a redis RPM using fpm When I run the following commands, all binaries are installed to /tmp/installdir/usr/local/bin cd /tmp/redis2-8 PREFIX=/tmp/installdir/usr/local/ make ...
1
vote
1answer
117 views

How to decide what to mention in .spec file 'Requires: ' filed

I am new in building rpm package.For Creating RPM for my binary I have following dependancies: [tejas@target]$ ldd exe linux-vdso.so.1 => (0x00007fff85bff000) libQtWebKit.so.4 => ...
1
vote
1answer
610 views

Linux Fedora 20: how do I deal with “ import read failed(2)”?

I have been struggling to get yum to work when trying to install emacs in my recent installation of Fedora 20, and posted the question, on this site. "How can I get yum and the internet browser to ...
2
votes
2answers
283 views

AIX apache rpm dependencies

I am evaluating the Crowd SSO by Atlassian. Now to get apache to use CROWD for authentication, there is a connector available by the vendor. Problem Unfortunately they do not provide anything for ...
0
votes
0answers
87 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
1answer
393 views

Where are RPM postinstall scripts located?

I have found a bug in an RPM that I have been provided. rpm -qp --scripts foo.rpm > /tmp/badscript cat /tmp/badscript postinstall scriptlet (using /bin/sh): ... if [ 'some bug' == true ].... I ...
1
vote
2answers
58 views

RPM specfile for C/C++ project: how do I know how to fill in Requires and BuildRequires fields?

I have several C/C++ projects with sources and makefiles and I'm trying to pack them into rpms. Defining the dependencies for the created packages has become a problem for me. Concretely I need to ...
3
votes
2answers
245 views

reposync exclude subdirs from mirror

Is there a way to make the reposync command ignore a subdir of a public repo when mirroring it ? It seems to only want to sync on the url that has the /repodata/ & /repoview/ dirs, but i'm ...
0
votes
1answer
29 views

rpm query does not give complete provided capabilities (commands)

For example, I know /usr/sbin/agetty is provided by the util-linux package with the following command: $ rpm -q --whatprovides /usr/sbin/agetty util-linux-2.24.1-1.fc20.x86_64 Then I would like to ...
0
votes
1answer
121 views

Can I Install packages on live linux os?

I want to install some more software on sabayon live and they should be remained in USB for later use. Can I install packages on live Linux OS?
0
votes
1answer
232 views

Always getting “not a symbolic link” message, while installing any package

When I am installing any package in my centos 6.0 system, by yum or rpm, I always getting /sbin/ldconfig: /usr/lib64/libreadXMLnew.so.1 is not a symbolic link message. There is never a problem in ...
0
votes
1answer
77 views

unpack and patch source rpm (rpmbuild -bp) safely

I want to unpack source RPM and apply patches to the upstream source. What is almost OK for me is rpm -i mypkg-*.src.rpm cd ~/rpmbuild rpmbuild -bp SPECS/mypkg.spec # frolic in BUILD/mypkg My ...
1
vote
1answer
230 views

sbt running but can't see on port 9000 centos 6.5

After downloading the sbt.rpm (version 0.13.1) and installing with yum it appears to be running successfully but when I go to http://mysite.com:9000 it's not found. Here is some of the output after ...
0
votes
1answer
647 views

Issue with yum - error in importing one of the python modules

I am trying to install rpm package on CentOS 6 using yum install command, but getting folowing error There was a problem importing one of the Python modules required to run yum. The error leading to ...
0
votes
2answers
278 views

specify PREFIX location when running make

I need to install redis 2.8.x into a specific directory so I can later use fpm to create an rpm. From my research, it seems that this should be possible by using make PREFIX= mkdir /tmp/installdir ...
0
votes
1answer
1k views

Depsolving for php-pecl-zip

I'm having trouble getting rid of my depsolving errors, and I've been left to figure this one out on my own. It all started when I wanted to upgrade from PHP 5.2 to PHP 5.3 (heaven forbid), and I was ...
1
vote
3answers
942 views

Backup installed RPM

Last night I did rm -Rf /tmp as root. I wasn't drunk. But I definitely feel I was dumb to do so. Now X doesn't work. I read few days back that after doing rm, one can't recover the lost data. I ...
4
votes
1answer
326 views

Prelink warning in output of rpm -Va

I have run the following as root on a RHEL 4 box to get a list of the modified files: rpm -Va The output includes lines such as: prelink: /tmp/#prelink#.60m2Jq: Recorded 2 dependencies, now seeing ...
1
vote
1answer
593 views

Error: requested datatype primary not available

By the error I can't install any packages. And also I can't update to the latest version. I don't know what to do now. Any help much appreciated. Error: requested datatype primary not available ...
0
votes
3answers
137 views

Why does `make install` not produce an rpm?

A little Preface: I'm unable to copy+paste between my Windows PC and a Linux machine that I'm viewing through VNC Viewer and yes the Share Clipboard option is enabled in VNC Settings. Thus I came ...
1
vote
1answer
98 views

What problems should I expect when adding a CentOS yum repository to RHEL?

I've added the CentOS 6 Updates yum repository to my RHEL 6.4 machine. That's because RHEL doesn't ship with the php-snmp package - and the easiest one to find is on the CentOS site. Anyways, this ...
1
vote
2answers
125 views

How can I find out where an RPM came from?

I have an RPM that is sitting on a server I inherited. On the server is an RPM that is needed for one of the applications that it runs. xmlrpc-epi-0.54.2-1.x86_64.rpm Rather than using this ...
1
vote
1answer
6k views

Uninstall JDK rpm to reinstall

Where do I find the JDK install to uninstall? @terdon had explained using an rpm type download so it would be easier to uninstall, but I cannot find it.
0
votes
1answer
52 views

Rebuilding RPM results in “invalid numeric value”

I am attempting to add some config changes to Bash and repackage it as an RPM in CentOS x86. This is not something I've done before, so I'm at the mercy of info I've found around the internet. I am ...
0
votes
0answers
29 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?
2
votes
1answer
191 views

What does rpm -H do?

I came across someone's RPM command that wrote: rpm -ivH .... and then noticed that option -H is not documented anywhere. Command rpm -H no longer works with newer version of rpm, however it runs ...
3
votes
4answers
4k views

How to check available package versions in rpm systems?

If I want to check available versions of a package in Debian, I run apt-cache policy pkgname which in the case of wajig gives: wajig: Installed: 2.01 Candidate: 2.01 Version table: *** 2.01 0 ...
5
votes
3answers
2k views

How to keep the content of the BuildRoot?

The good old rpm while building package in steps simply kept the content of the BuildRoot -- it was very useful for me, because if some piece of software was difficult to create, I could check ...
2
votes
3answers
93 views

How do I find out which RPM was used to install PHP?

I have PHP installed on a server and I'd like to know which RPM it was build off of (webtatic or remi). How do I find this out. Also, how would I find out if and when that changed?
1
vote
2answers
63 views

What does the line $(rpm -E %fedora) mean?

I'm trying to add a new repository to my Fedora and was asked to introduce the following command: su -c 'yum localinstall --nogpgcheck ...
0
votes
0answers
280 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?
1
vote
2answers
35 views

Looking for the path of a particular file provided by a particular rpm in a spec

I want to know the path of apxs provided by httpd-devel, on a machine that might have other copies of apxs, that would be resolved by which first. I can be reasonably confident this command will work: ...
2
votes
2answers
10k views

Error on application install: /lib/ld-linux.so.2: bad ELF interpreter: No such file or directory

When I executed a command to install an application, the following error occurred /lib/ld-linux.so.2: bad ELF interpreter: No such file or directory I was not aware on how to fix this problem. I ...