.rpm is the file-format used by the RPM Package Manager (originally the Red Hat Package Manager), found primarily in Red Hat Linux and its derivatives.

learn more… | top users | synonyms

3
votes
5answers
3k views

Output from rpm -qa, how to extract only the name of the package?

The output format from the command rpm -qa looks like the following: abrt-1.1.14-1.fc14.x86_64 abrt-addon-ccpp-1.1.14-1.fc14.x86_64 abrt-addon-kerneloops-1.1.14-1.fc14.x86_64 ...
5
votes
1answer
5k views

Managing service accounts in an RPM spec

I've been given a partially-complete RPM spec for a service we're writing. It gets as far as making the required directories, copying files, setting permissions, etc., but it doesn't make the ...
0
votes
3answers
10k views

How to install rpm file along with its all dependencies?

I am trying to install HPCC on RHEL based machine. I have one .rpm file and to install this rpm, I am using following command : sudo rpm -Uvh hpccsystems-platform_community-4.0.0-9.el6.x86_64.rpm I ...
0
votes
1answer
57 views

Install Rpm Package on Kali Linux

I need to install .rpm package in Kali linux. But shows command not found error. i tried using with sudo but didn't help. Does kali supports .rpm files? How can i install .rpm on Kali linux?
0
votes
1answer
12 views

Configuring Grub2 on a second raid 1 hard drive on Fedora

Im trying to reconfigure grub to install on both /dev/sda and /dev/sdb, but the only command I have been able to find is dpkg-reconfigure grub-pc, which isnt really helpful since I am using rpm. Is ...
24
votes
7answers
28k views

How to Install gcc 4.7.x/4.8.x on CentOS

What would be the easiest way to install gcc 4.7.x/4.8.x on a system with CentOS 6.2+? The default RPM package contains an older version of gcc.
0
votes
1answer
31 views

Why does the alien package converter need root permissions?

When trying to convert a .deb package to .rpm using alien, I use this command: $ alien -r foo.rpm but it complains thusly: > Warning: alien is not running as root! > Warning: Ownerships of ...
0
votes
1answer
23 views

How to write dependency rules in rpm .spec file for RHEL OS

I need to build one rpm package, that should be dependent on the installation of another rpm package. On my PC, the dependent package has been installed, with a name like abcd-1425-a.x86_64. I wrote ...
1
vote
1answer
2k views

Why do I get Files Listed Twice when building my RPM?

My understanding is that if I specify the %dir directive under the %files list, RPM will not list any files under that directory. Doing this can allow you to set specific permissions for the directory ...
0
votes
1answer
38 views

Yum does not install specific RPM version with custom repo

We use RPMS for our packaging and yum to update our environments. We have an rpm package-5.1.1-3 installed in our production server and in our yum repository we have 2 newer versions such as ...
0
votes
1answer
37 views

yum erase tells me pkg not installed. yum install tells me package is already installed

Erase complains package is not installed : yum erase libstdc++-4.1.2-52.el5_8.1.x86_64 Setting up Remove Process No Match for argument: libstdc++-4.1.2-52.el5_8.1.x86_64 Package(s) ...
0
votes
0answers
275 views

package-cleanup --cleandupes fails to remove duplicates

I have an issue with duplicate packages installed on my Fedora machine: # package-cleanup --dupes Loaded plugins: langpacks, refresh-packagekit audit-2.3.3-1.fc20.x86_64 audit-2.3.2-1.fc20.x86_64 ...
8
votes
5answers
10k views

How do I get yum to see updates to a local repo without cleaning cache?

I have set up a local yum repository which I use to install test builds. For the testing purposes, my packages are versioned by <svn version number>.<date>.<time> (e.g. ...
1
vote
2answers
133 views

Installing from rpm gives weird dependency error

I'm trying to install mysql from rpm file and this is what is get. libaio.so.1 is needed by MySQL-server-5.6.14-1.el6.i686 libaio.so.1(LIBAIO_0.1) is needed by MySQL-server-5.6.14-1.el6.i686 ...
-1
votes
1answer
282 views

how to enable java in Browser on Centos 6.5

i already install Java (jdk 6u45 and jre 6u45) in a Centos 6.5 Server, but i don't know why in my browser appears to enable java plugin, these are steps to install java in my machine: rpm -ivh ...
0
votes
2answers
54 views

RPM triggers - differentiate between package install and trigger activation

I'm creating an RPM package (let's call it package A). I need to react if another package (package B) is reinstalled or updated. So I created a trigger inside package B specfile: %triggerin -- B ...
0
votes
1answer
17 views

Package compatibility

I have a home server running Oracle Linux 6, which is very similar to Red Hat and runs a RHEL compatible kernel. My question is, to what extent would packages originally made for other rpm-based ...
0
votes
1answer
70 views

Redhat Enterprise Linux 5.9: Yum Updates Not Working: TypeError 'NoneType'

We have a RHEL 5.9 which is refusing to apply updates. For example, if I do a command like: yum update then I get an error like in this thread: https://bugzilla.redhat.com/show_bug.cgi?id=824663 [I ...
41
votes
2answers
26k views

What is the difference between yum, apt-get, rpm, ./configure && make install?

I am new to Linux and am running CentOS. I have come across four ways to update or install software. So far, I've seen: yum install [program] apt-get install [program] rpm -i [program].rpm wget ...
14
votes
2answers
20k views

How to get list of dependencies of non-installed RPM package?

apt-cache show <package> shows also it's dependencies. yum info <package> does not show dependencies, but it obviously know them. How to ask yum for dependencies of specified package?
0
votes
1answer
21 views

how to stop yum from asking for pdate directory

I used createrepo -update ... by mistake when I meant --update. Now, yum complains all the time about pdate directory not being there. Even though I checked that string is not in yum.conf nor in ...
0
votes
1answer
24 views

How to create rpm without building anything?

I have a pile of already compiled binaries, placed under proper locations - how can I automagically create an RPM package from that with a proper meta-information, i.e. version, packager, package ...
0
votes
1answer
43 views

Custom kernel 2.6.18 compile in centos ends on fail

I'm compiling from RPM source. The same compile worked in the past but not this time. May be you can help me to solve this issue? make[2]: Leaving directory ...
0
votes
2answers
171 views

How do I turn off the perl-specific parts of find-requires when building an RPM?

rpmbuild will scan Perl modules to find Perl dependencies, but it doesn't understand optional modules and its generated Perl module requirement list will often be wrong. How can I turn this feature ...
0
votes
1answer
18 views

Can we add rpm and deb packages in a single linux distro?

Can we add RPM and dpkg package management onto a single linux os while creating a linux distro using LFS?
0
votes
1answer
35 views

Is an RPM already installed? Binary compare

At my current place of work we sometimes receive a bundle of RPMs and are told to update our environment. The entity providing us the updates is very slack with their processes and sometimes make ...
1
vote
3answers
5k views

How to downgrade a kernel?

I need to downgrade the kernel from 2.6.32-358.6.2.el6.centos.plus.x86_64 to 2.6.32-220.el6.x86_64 I am unable to install the older version using Yum/rpm as it gives the following error ...
0
votes
0answers
31 views

Using package managers create and rollback system state

I have a server which is meant to test multiple deployment scenarios all driven by packages installed over RPMs. Is there a way to abstract the RPMs in a system so that i can switch rpm context? ...
0
votes
0answers
12 views

Supported versions of Linux for AIX RPMs

I am trying NIMOL which comes with AIX and helps in handling os installation over network. First we need to install RPM from the AIX disc on the supported Linux machine. I have AIX 7.1 disc. I want ...
1
vote
0answers
25 views

rpm/yum: require minimum version of optional package

I have two packages, python-modules and python-modules-foo. python-modules-foo does not require python-modules to be installed, but if python-modules is installed, it must be at least version X. In ...
0
votes
2answers
48 views

Format “yum provides” output

I am writing a little program that packages configuration files as rpm, and it puts a series of %triggers to handle installation/upgrade of the packages that bring a copy/version of the same file. I ...
3
votes
3answers
7k views

How can I install an RPM without being root?

How can I install an RPM on a machine where I don't have root permissions? I want to install a package for my use only in a personal work directory. I'm running SuSe SLES10. Please don't flame me ...
0
votes
0answers
13 views

How to get yum to see rpms I have placed into cache?

I have been creating Fedora installations on virtual box for various purposes. It is a pain to download the same packages again and again, so I made the cache persistent in one installation. Now I ...
1
vote
1answer
52 views

Creating RPM and DEB manually

I am doing a project with my friends which integrates two opensource web applications into one. Both applications use a MySQL database. I want to merge the two into a single RPM or DEB file. So ...
0
votes
2answers
1k views

Fedora 16 is not retrieving the mirror list

I have Fedora 16 installed. It gives me some errors/warnings when updating, and installing software through yum. Could not retrieve mirrorlist ...
1
vote
0answers
86 views

Archey installs properly, but spits a runtime error

I installed the RPM listed here (archey-0.2.6-6.noarch.rpm) for Archey: When I run it, I get the following output: $ archey Traceback (most recent call last): File "/usr/bin/archey", line 290, in ...
0
votes
1answer
386 views

Building a simple RPM on Oracle Linux (RedHat) using rpm build

I want to make a RPM using a certain user, from a specified build directory location. The RPM contains multiple files or one gzip, and should copy those files to a preset location (so it should be ...
0
votes
0answers
87 views

Yum does not resolve depencies after a rpm -ivh installation

i use AWS EC2 instances. i wanted to setup a package versioned at 5.4.0 but the latest that yum search all --enablerepo epel offered was 5.0.0. i hence did wget and configure && make ...
2
votes
2answers
649 views

Converting .rpm file into .deb file using alien in Ubuntu

I have converted an i336 .rpm file into a .deb file in Ubuntu using alien successfully, but I am getting the following error while converting an i586.rpm file of the same application into a .deb file: ...
1
vote
1answer
155 views

Accidentally deleted a module needed by yum - how to reinstall it?

I have a problem when trying to update yum. It gives me an error: After running yum update There was a problem importing one of the Python modules required to run yum. The error leading to this ...
5
votes
5answers
16k views

install sun java 6 and sun java 7 side-by-side on linux (fedora 16) using rpm

This is what I would like to achieve, but I'm failing (I'm a newbie in Linux). I have a Fedora 16 box (64 bit) and would like to install multiple versions of oracle java (java 6 and java 7 for the ...
-1
votes
2answers
561 views

RPM should not be used directly install RPM packages (2)

At RPM should not be used directly install RPM packages, this problem seems to have been solved. Problem is, that working with Linux Mint, this answer shouldn't have appeared in my console, for I ...
0
votes
2answers
29 views

File types from rpm package file

Is there any way to get file types (or more exactly, list of binaries) from rpm package file without unpacking it? It's assumed that there is a rpm file which isn't installed and we need just to learn ...
1
vote
1answer
293 views

How to debug an RPM that will not uninstall

I've built an RPM using redline rpm library for java. When I try to uninstall the rpm it says it was removed but when I do a list it is still there and says it is still installed. Here is the ...
0
votes
0answers
47 views

Is there a way to determine what RPM --relocate was used to install the rpm package

After a rpm package is installed using --relocate, is there any way to find out what value was used with the --relocate option?
0
votes
0answers
102 views

YUM and RPM crash due to the liblua-5.1 library being missing

I've been playing around with a LiveUsb install of basic Fedora with persistence. I attempted to install moonscript, which requires Lua and LuaRocks. After installing Lua and discovering there were ...
1
vote
1answer
731 views

How to install php soap with rpm packages in centos 6.4 x86_64

I want to install php-soap, centos says: [root@LMS-Cent64 soap]# rpm -ivh php-soap-5.3.3-22.el6.x86_64.rpm error: Failed dependencies: php-common(x86-64) = 5.3.3-22.el6 is needed by ...
0
votes
0answers
46 views

Upgrading to newer version of Apache on CentOS

I have bought a webhotel running CentOS. By default Apache 2.2.3 was installed, and according to the release history that is from 2006. Do the CentOS people really believe that this is the most ...
0
votes
1answer
31 views

RPM User specific updates

I have packaged my software as rpm and everything is working just fine with software however there is one part of contents of rpm which I can't find proper way to update. Every user in system has ...
0
votes
1answer
1k views

Find where packages have been installed using rpm

CentOS 5.3 I have been installing some packages using rpm -ivh package However, I am just wondering what command I can use to find the path of where the packages are installed. Many thanks,