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

learn more… | top users | synonyms

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 ...
2
votes
2answers
92 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 ...
16
votes
6answers
912 views

What's .deb and .rpm and how is it different from .msi?

What are these file formats and how do they differ from the .msi format in Windows? Also what are the pros and cons of these package management schemes?
1
vote
0answers
28 views

rpmbuild library register for 'requires'

Big Picture: I am building an in-house rpm for a customized php. I build an rpm which works, but generate library requirements that I can't seem to meet without using 'nodeps', which I want to avoid ...
0
votes
1answer
125 views

How to rebuild /etc/cron.d on CentOS?

I installed an RPM on a CentOS machine that was supposed to merge its own files contained in a /etc/cron.d structure with the current /etc/cron.d. However it replaced the current contents. I believe ...
0
votes
1answer
300 views

Centos 6.4. building rpm for cups 1.7

I try to build rpm from source by running rpmbuild -ta cups-1.7.0-source.tar.gz --without dbus but get Processing files: cups-1.7.0-1.x86_64 error: File not found: ...
0
votes
0answers
27 views

How do I patch an rpm in SLES and automatically rebuild it when updates are available?

I applied a patch to a source RPM, built it and installed the resulting package. All good. But now every time the package gets updated, it gets overwritten with the unpatched version from the official ...
3
votes
1answer
104 views

TexLive and RHEL 6 — can I install 2011 *in addition* to 2007?

Our environment is Red Hat Enterprise Linux 6. By default, RHEL 6 comes with a version of TexLive from 2007. A user would like one of the extensions to TexLive ("PDFTex") to be updated. From ...
1
vote
1answer
198 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
253 views

Installing mono on open suse

I'm trying to install mono on my open suse linux. I downloaded the latest rpm packages from the mono page and tried to install the mono-core package with the --test attribute rpm -ivh --test ...
1
vote
1answer
91 views

Upgrading Red Hat 9 (Shrike) kernel manually

I am following the instructions here on how to manually perform a kernel upgrade in Red Hat. The current Kernel RPM's are: kernel-2.4.20-8 kernel-headers is not installed kernel-ibcs is not ...
1
vote
1answer
112 views

setting up yum in stripped down linux

I have a box that contains minimal binaries needed to run Scientific Linux. What I want to do is to install additional programs. I could get rpm installed and tried to install yum but resolving those ...
1
vote
1answer
281 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, ...
2
votes
1answer
74 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 ...
1
vote
2answers
65 views

CentOS 6 and Fedora Repositories

I did a Google search and couldn't find the specific answer to my questions. I know CentOS and Fedora are extremely similar. Would a Fedora repository (i.e. ...
5
votes
2answers
3k views

Is it stable to use epel and rpmforge in the same time?

So after a fresh Scientific Linux 6.3 Desktop install, I: yum install rpmforge-release && yum update and yum install epel-release.noarch then: yum install wine gparted cups-pdf ...
7
votes
3answers
780 views

Download ALL rpms for a product

I have two CentOS machines, one 6.3 box (A), and another CentOS 6.1. (B) 6.3 box is with internet connection, 6.1 box is without internet connection. I want to download ALL dependencies of a product ...
3
votes
1answer
48 views

RedHat RPM file collision

Let's assume I have two RPM packages named 1.rpm and 2.rpm. Both of them want to put a file test into /usr/bin, but both of them use a different version of test. Of course I would like to have both ...
1
vote
1answer
405 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 ...
0
votes
1answer
386 views

Upgrading Python 2.6. libpython2.6.so.1.0 missing

I am upgrading python on an offline 64bit RHEL 6.4 box and am having to do it via RPM's rather than yum. I am trying to upgrade python from 2.4.3 to 2.6 so I can build nodejs from source. I am ...
1
vote
1answer
173 views

RPMDB broke after a yum update in fedora 19?

A sudo yum update operation got interrupted and after a yum-complete-transaction was tried again I got this message: Transaction check error: file /usr/libexec/sssd/sssd_pac from install of ...
4
votes
1answer
398 views

How can I build a rpm for i386 target on a x86-64 machine?

I am building an rpm using rpmbuild command as: rpmbuild -bb --root <DIRECTORY> --target i386 --define "_topdir <DIRECTORY>" <specfile>.spec When I use my SLED 10 SP3 x86 machine, ...
1
vote
1answer
410 views

Replacing libpng-devel (1.5.3) with libpng12-devel RPMs on CentOS

I have a CentOS 6.4 box with a lot of other RPMs. I want to replace libpng-devel with libpng12.devel. If I do an rpm -e libpng-devel I get the following: error: Failed dependencies: ...
2
votes
1answer
1k views

Meaning of the yum error “Package tuple (…) could not be found in rpmdb”

I just want to install two packages in my Fedora 15 but I am getting some weird error. Command: yum install @development-tools Error: Loaded plugins: langpacks, presto, refresh-packagekit ...
1
vote
1answer
90 views

Public key for git-…rpm is not installed

When attempting to install git (and probably other packages), I get this error: $ sudo yum -y install git Installing: git x86_64 1.7.11.3-1.el6.rfx ...
1
vote
1answer
361 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 ...
1
vote
1answer
605 views

is there a “xdotool” rpm available for Centos Linux?

It seems to be extremely difficult to install xdotool on CentOS because of it's requirements. such as yum groupinstall 'Development Tools' -y yum install libXi-devel libXtst-devel libXinerama-devel ...
0
votes
2answers
98 views

Installer packages: .bin, -rpm.bin, tar, tar.z

Is it correct that most of Unix&Linux software supports x-copy deployment? If I download the installation package and uncompress the files into a particular directory - would that be enough to ...
1
vote
1answer
655 views

Installing developer libraries for Fedora 19 without internet connection

I am trying to use Fedora 19 on my Lenovo yoga 13. A common issue with this setup is that the laptop's wifi does not work out of the box on any linux distribution yet. This question and also this ...
8
votes
2answers
4k views

CentOS: List the installed RPMs by date of installation/update?

I'm on a CentOS 4 machine. I updated and installed some packages a few weeks back, but I don't remember the name of every package or the names of every dependency. I used yum. Can I list the packages ...
2
votes
1answer
55 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 ...
4
votes
2answers
101 views

Where can I find updated TAR.rpm for Oracle VM Server?

I'm using tar for my incremental backup script on Oracle VM Server 3.2.2 and it comes with tar 1.15.1 I need this command: tar -cf drive-C.full.tar --no-check-device \ ...
2
votes
1answer
182 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 ...
4
votes
1answer
145 views

RPM fails to uninstall using sudo rpm -e

I have encountered a strange and annoying problem when trying to uninstall certain in-house generated rpm packages using sudo. When I do the following: sudo rpm -e mypackage rpm -qa | grep ...
1
vote
1answer
2k views

How do I force yum to install without prompting the user, using bash?

I'm writing a bash script to install php5.4 and I'd like to automate this for a test VM. The rpm command I have is: rpm -Uvh http://mirror.webtatic.com/yum/el5/latest.rpm yum install php54w Now, in ...
0
votes
1answer
33 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 ...
8
votes
3answers
13k views

Remove unused packages - Fedora

I have installed some rpm package on my fedora 17. Some packages had a lot of dependencies. I have removed some packages but I forgot remove unused dependencies with yum remove. How can I do that ...
2
votes
2answers
1k views

How to unpack, modify, rebuild and install a SRPM

I would like to modify a Fedora 15 package (gnome-shell-extensions-alternative-status-menu). It's a small modification (reverting this commit). Using yumdownloader I'm able to download a SRPM ...
1
vote
1answer
84 views

How should I compile a dev package from source? [duplicate]

I need to use a package X. X depends on Y so I need the dev package of Y (Y-dev). I also have Y's source. How may I compile Y-dev from Y's source? If this question is incoherent please point me in ...
0
votes
2answers
695 views

How to install MySql on Red Hat 6.1?

I am trying to install MySQL-server-5.6.12-1.el6.i686.rpm on a Red Hat Enterprise 6.1 server. I receive the following error: rpm -Uvh MySQL-server-5.6.12-1.el6.i686.rpm error: Failed dependencies: ...
1
vote
2answers
86 views

Download the Complete Linux Kernel Collection

I am wanting to download EVERY version of the Linux kernel as source code, Debian files, and RPM files. Where can I find a single site where I can download them all at once? If that is not possible, I ...
0
votes
0answers
123 views

How to install newer version of packages on scientific linux ? (besides source)

I just installed the newest SL6.4. I use c++11 and I tried to install the latest gcc (4.8.1) using gsrc (gsrc automates install). the problem that i faced is that SL's zlib was too old. Meaning, zlib ...
2
votes
2answers
509 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 ...
3
votes
2answers
491 views

Where do installed RPMs go?

I download and install packages on my Red Hat Enterprise Linux Server 6 machine using YUM package manager in command-line mode. When I install apk files on my Android phone, they go to /data/app ...
1
vote
2answers
125 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 ...
2
votes
0answers
36 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
1answer
119 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 ...
9
votes
1answer
142 views

What happens to RPM transaction when it is interrupted in the middle?

Let's imagine that I'm installing with RPM packages A, B and C. They are installed in the same order. And suddenly in the middle of installing B there is a power cut. 1) regarding state after turning ...
2
votes
1answer
65 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 ...
1
vote
2answers
171 views

How to make an application run automatically?

I am trying to run my application when a user logs in. So I've added a script in ~/.bash_profile as follows: # for Buluttdepo /usr/bin/myapp > /dev/null 2>&1 & export ...