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

learn more… | top users | synonyms

2
votes
1answer
161 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
1answer
88 views

Build bash (or alternate linux package) with custom binary/doc name

I am trying to build Bash 4.2 as an RPM package for use on Enterprise Linux 5 systems, which come by default with 3.2.25. This works successfully, however, I want both versions to co-exist on the ...
2
votes
1answer
164 views

What is the debian equivalent to this repoquery command?

What is the debian equivalent to this repoquery command? repoquery --repofrompath="abc,http://path/to/repo" --repoid=abc -q mypkg --qf ...
2
votes
1answer
69 views

Get Install File for Already Installed RPM

I would like to install this custom package, packageA, onto another Linux box. $yum list installed | grep packageA packageA.x86_64 But, I don't have access to the installation file, i.e. packageA ...
2
votes
2answers
9k 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 ...
2
votes
1answer
90 views

Running a program without the assistance of the system administrator

I have an rpm for a program called KDirStat that I would like to run on a machine where I am not the system administrator. My questions are: Can I install this rpm package without the assistance of ...
2
votes
1answer
467 views

How to migrate from CentOS to RHEL?

What packages do I need to install to migrate my CentOS 5.7 server to identical version of RHEL. I have RHN subscription but I don't want to create a fresh install and move files.
2
votes
1answer
451 views

Fedora 16 dependency hell

There's a package libvpx-0.9.7 which is required by empathy application. Now I want to install another application which requires libvpx-1.0... Update is not allowed because some applications depend ...
2
votes
1answer
5k views

Getting “cpio: Bad magic” when trying to rpm install into a mounted Logical Volume

I need some help with this. I am trying to follow the Xen guide to provision a domU using package installation of the Fedora 15 release (the dom0 is CentOS 5.6). Ive run the rpm install command with ...
2
votes
2answers
5k views

How does rpm resolve library dependencies?

I try to make a package of a program which is linked to such library (output from ldd): libwx_baseu-2.8.so.0 => /usr/lib64/wx-2.8-wxcontainer/libwx_baseu-2.8.so.0 Pretty straightforward, ...
2
votes
2answers
380 views

Install from RPM, then files change. How can I see the differences?

This is a RedHat Enterprise 5.5 system. I ran a verification check against an RPM, and it looks like two files have changed: # rpm --verify shadow-utils S.5....T c /etc/default/useradd S.5....T c ...
2
votes
2answers
249 views

Error while trying to create RPM for java app

I'm new to RPM packaging and I got stuck for quite a long time and cannot find root cause of the problem. I'm not quite sure I fully understand the concept of BuildRoot in the spec file. My RPM ...
2
votes
3answers
746 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 ...
2
votes
1answer
295 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 ...
2
votes
2answers
746 views

How to solve a file path as a failed dependancy when installing a RPM?

I have a RHEL 6 server without any internet access that is missing a cron installation. I am tyring to install crontabs like this but i get this error: [root@netsrvr01 cron.d]# rpm -ivh ...
2
votes
1answer
246 views

Obtaining/Packaging RPM dependencies for Fedora/RHEL linux application — no network access

I currently have an RPM file with 2-3 dependencies specified in the 'Requires' section. When this application is installed using yum, it works fine and the dependencies are installed if they are ...
2
votes
1answer
999 views

Problems with YUM/Scientifix Linux 6.3 (inconsistent rpm database?..)

Recently I saw this: [root@NOTEBOOK /etc/yum.repos.d] yum update Loaded plugins: fastestmirror, presto, security Loading mirror speeds from cached hostfile epel/metalink ...
2
votes
1answer
249 views

Delta rpms and presto with yum

When you use delta rpm's with presto or without even, do they rely on you having the original rpm on hand, or do they download both the original and the difference between the original and then ...
2
votes
1answer
340 views

Generic RPM that can install on any os - error: RPM is for a different operating system

How can I make a rpm from a spec file that can be installed on any host? Currently I have a spec file but when installing the rpm on other hosts I get this: package my_software-1.0-1dist is for a ...
2
votes
1answer
664 views

Can rpm handle an install of another OS into another Logical Volume?

I am trying to install fedora as a domU under a CentOS dom0 using the method outlined in The Book of Xen. I have asked another question regarding a consistent error message of cpio: Bad magic when I ...
2
votes
1answer
35 views

rpm temp file question (rpm-tmp)

When installing an RPM on CentOS, I receive the following error message: /var/tmp/rpm-tmp.44492: line 578: [: too many arguments The trouble I'm having is that /var/tmp/rpm-tmp.xxxxx file is always ...
2
votes
1answer
68 views

Rebuilt kmod package not updating via `YUM` but is via `rpm`

I have built a package with the following version: kmod-dahdi-linux 10:2.9.1.1-75_shmz65.1.11.2.6.32_431.el6.i686 Which should be an upgrade of the one installed on the system: kmod-dahdi-linux ...
2
votes
1answer
810 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
1answer
70 views

How to pass parameters from %prep to %build?

I have the following problem: In the %prep, I run a command that returns a value. I want to be able to use this value in the %build. I was not able to do it with macros, because %global gets its ...
2
votes
0answers
38 views

Best way to release an RPM that includes an independently version module

I work on a server software that is targeted for RHEL/CentOS and is currently distributed via a standard RPM file. What brings me here is that it includes a downloadable client engine that users can ...
2
votes
2answers
242 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 ...
2
votes
2answers
260 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 ...
2
votes
2answers
156 views

RPM skipping files on install

I am installing an rpm package and it appears to be skipping certain files without giving me any notice as to what the issue is. When I execute rpm -ivh package_name.rpm the rpm provides me with ...
2
votes
0answers
71 views

Install packages in $HOME/usr

I'm looking to script use of rpm --relocate. How to change the default location packages are installed to - from user/local to $HOME/usr? Do I need to do it all manually (removing and reinstaling to ...
2
votes
1answer
299 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 ...
2
votes
1answer
1k views

Unpacking kernel-source rpm off-system (OpenSuse)?

I'm using OpenSuse 11.2 from a LiveUSB USB flash/stick, which arguably has not much place on it. I need to get the Linux sources for this version of OpenSuse, as they are needed to build a driver for ...
1
vote
3answers
2k 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
156 views

Is rpm the only file extension for repositories

I've noticed that repositories in CentOS have the .rpm extension. Are there other extensions? Is .rpm specific to the operating system? i.e. do other linux operating systems have other extensions? ...
1
vote
2answers
139 views

Benefits of rpm over deb in the context of a server? [closed]

This related question What are the pros/cons of deb vs. rpm? seems to be more focused on personal computers, but in the context of a server, why do most of the servers run either RedHat / CentOS or ...
1
vote
1answer
871 views

Why am I gettting errors about unpackaged files while trying to build an rpm?

Trying to package up wget-1.13.tar.gz into a rpm (I am re-learning this process) and I'm running into these errors when I do a dry run. error: Installed (but unpackaged) file(s) found: /etc/wgetrc ...
1
vote
1answer
25 views

Is there an all-in-one command for RPM to downgrade a package to an older version?

I want to downgrade a couple RPMs. Is there a switch combination for that? For example, when upgrading, I usually run rpm -Uvh foo.rpm but my understanding is that the -U switch means that it only ...
1
vote
2answers
116 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 ...
1
vote
2answers
57 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 ...
1
vote
1answer
234 views

CentOS installation rpms 5.5 vs. 6.4

I am migrating from CentOS 5.5 to 6.4 and have a custom installation that installs specific RPMs. The problem I running into is that some RPMs from CentOS 5.5 are no longer in the 6.4 distribution, ...
1
vote
1answer
84 views

Software distribution

I have a set of servers with Red Hat on board and an internal software (it is set of many files with configs and so on) that is in permanent development. There are several types of servers: ...
1
vote
2answers
8k 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
3answers
877 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 ...
1
vote
1answer
2k views

Problems with RPM (JRE)

I'm trying to install a JRE on Ubuntu 10.04, but I failed: oneat@oneat-desktop:~/Downloads$ sudo rpm -i --force-debian jre-6u21-linux-i586.rpm error: Failed dependencies: /bin/basename is needed ...
1
vote
4answers
35 views

Detecting RHEL/RPM based distros

I'm trying to write a script to detect if it's being run on RHEL/RPM based distros. I've faced some odd systems configured such that both dpkg and rpm are installed, so doing a which rpm isn't a ...
1
vote
2answers
42 views

What does this regular expression do?

I have been provided a %post script inside a spec file to edit a config file (called foo). I have ben tasked with writing another, almost identical script to edit a file called 'bar'. While my ...
1
vote
3answers
111 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
33 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: ...
1
vote
1answer
601 views

RPM: failed jre dependency, even though that JRE version is installed

I am trying to install a package, and it fails reporting a missing dependency: # rpm -ivh * error: Failed dependencies: jre >= 1.7.0 is needed by Tomcat-7.0.37-1.noarch At the same time, ...
1
vote
1answer
771 views

Yum user temp files (/var/tmp/yum*) fills up with repo data

On my rhel6 system, non-sudo users can do yum check-update. Files are then placed in /var/tmp/yum[user]*/ . The repodata there gets quite large. Can I: Configure the location? Configure yum so it ...
1
vote
1answer
906 views

How does RPM handle file locations?

I am trying to create a .spec file for creating mapserver as an rpm package. I am building on an RHEL6 64-bit server. I am a bit new to the whole concept, so bear with me if I am not seeing something ...