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

learn more… | top users | synonyms

1
vote
1answer
12 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
58 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 ...
2
votes
1answer
15 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 ...
2
votes
2answers
968 views

Requires: perl(Compress::Raw::Zlib) = 2.052

Im trying to run a yum update but getting stopped by dependencies. I have installed rpmforge el6 which i need for other packages. Error: Package: perl-IO-Compress-2.052-1.el6.rfx.noarch ...
2
votes
4answers
159 views

Can I use grep matches to execute command? CentOS

I need to upgrade php from 5.3 to 5.4. I've installed it with rpm. I want clean install: delete all 5.3 packages, and install all necessary 5.4. Here is the command to see all installed packages: rpm ...
1
vote
1answer
283 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 ...
3
votes
1answer
239 views

How to override anaconda/kickstart package ordering?

I am building a bootable ISO to be used to install a Linux image (Oracle Linux, 5.8). This is using anaconda with a kickstart file to select the packages to be loaded. Some of these packages are ...
2
votes
1answer
217 views

How do I create an RPM package that would fail a YUM transaction if certain creteria are met

I'm trying to package a product consisting of many packages. I'm successful with writing all the spec files, the dependencies between the packages and so on. They're all installed and work fine. The ...
1
vote
1answer
26 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 => ...
2
votes
3answers
246 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
549 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 ...
1
vote
1answer
100 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
174 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
36 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
27 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 ...
0
votes
1answer
645 views

How to install RPM based Packages on OpenFiler

We bought One SuperMicro Server that will be used for Storage purposes and then we install the openfiler on it. The thing is that we need to install RAID controller and Im not familiar with OpenFiler ...
2
votes
1answer
230 views

Missing dependency during rpm install

When I install CodeAnalsyt, i get a failed dependency on libbfd-2.20.51 on Centos 6.3. Binutils is installed on my system and the failed dependency does exists at ...
1
vote
2answers
30 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
131 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
44 views

RPM: Installed (but unpackaged) file(s) found on Centos 6 with CUPS 1.7.1

Trying to install CUPS 1.7.1 on Centos 6.5 via RPM, I use: # rpmbuild -ta cups-1.7.1-source.tar.bz2 --without dbus --without libusb1 but stops with below error: Checking for unpackaged file(s): ...
0
votes
1answer
14 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
44 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
26 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
27 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 ...
4
votes
3answers
5k views

getting error “Can't create transaction lock” with rpm

I am slowly making progress on installing Fedora into a Logical Volume for a DomU using Package Management. I have (with the help of the wonderful people at Unix & Linux) resolved a number of ...
1
vote
1answer
76 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
45 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
24 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
115 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
745 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
284 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 ...
0
votes
2answers
437 views

Install RPM file on Arch Linux?

I want to install sqldeveloper from Oracle on Arch Linux. The only Linux download option is RPM. I am not interested in using arch repositories to install sqldeveloper. I can only use what the vendor ...
1
vote
1answer
71 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
2answers
47 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 ...
1
vote
2answers
52 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 ...
2
votes
1answer
80 views

Using zypper, how can I remove all packages installed from a specific repository?

Say I've added a repository using zypper ar. Then, I've gone and installed multiple packages from that repository, but now I want to remove all of them. Is there a command that allows me to remove ...
0
votes
3answers
52 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
48 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
55 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
185 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
44 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
21 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
75 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 ...
2
votes
4answers
2k 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
71 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
43 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
189 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
27 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
7k 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 ...