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

learn more… | top users | synonyms

13
votes
4answers
1k views

How to know what name to type to launch a program after installing it with yum/rpm?

I just installed a rpm using the following command: yum localinstall ./FoxitReader-1.1-0.fc9.i386.rpm Now, this did the trick and I could launch the app using: FoxitReader & What if ...
0
votes
0answers
10 views

yum/rpm: exclude a file (by path) from being installed

Is there any way to make yum/rpm never install a particular file path, but to otherwise install any packages which contain that file path, and for verification to act as if that file exists? For ...
0
votes
1answer
17 views

How can I list the patches of an installed package in SUSE?

Let's say that I am using a program called "hello" which I have downloaded using the zypper. The question is how can I see if a specific .patch is included into this hello package? Basically, what I ...
0
votes
0answers
5 views

How to stop meta-rpm transaction if a precondition fails?

I currently have a meta-package rpm which contains a list of dependencies on other rpm packages. I want to stop the update/install transaction of the meta-package (and all subsequent packages) if the ...
3
votes
3answers
392 views

How to “rpm -i” a package only when an older version does not exist?

I wish to install some RPM packages from a shell script. I want to ensure that each package is indeed installed, but I do not want to update a package that would already have an older version ...
1
vote
1answer
3k views

“Linux kernel source code directory” requested in Cisco VPN client install

I'm trying to install Cisco's vpn client, and it requests that I provide the directory containing linux kernel source code. Specifically, it reads: In order to build the VPN kernel module, you ...
2
votes
2answers
962 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
2answers
325 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 ...
1
vote
3answers
23 views

Is RPM able to control the files in home folder without confirmation?

RPM extension file can be run by double clicking no matter what's inside the package, and then it asks for the root password in order to install something to your system, but if I don't give it, will ...
0
votes
0answers
16 views

Why can't an rpm use xterm?

I made an RPM package that uses Xterm during its install. Whenever I installed the package that I made prior to packing into the RPM, the Xterm part of the install worked correctly. I am curious to ...
1
vote
4answers
2k views

“The GPG keys listed for the ”atomicrocketturtle.com“ repository are already installed but they are not correct for this package.”

When running this on CentOS 6: yum update I accept the transaction summary that it presents and am then immediately presented with this: Downloading Packages: warning: rpmts_HdrFromFdno: Header V3 ...
0
votes
0answers
5 views

rpm :deptype flags explained

On Fedora 20 (Heisenbug) I issed the following command … rpm --query --queryformat="%{REQUIREFLAGS:deptype}\n" --all | sort --unique --dictionary-order … to get all possible :deptype ...
18
votes
4answers
21k views

Remove unused packages

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 ...
0
votes
1answer
1k 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): ...
1
vote
1answer
56 views

rpm + where RPM installed the files/scripts PATH

I installed the following RPM file rpm -Uvh --repackage /var/tmp/bash-3.2-33.el5_11.4.i386.rpm warning: /var/tmp/bash-3.2-33.el5_11.4.i386.rpm: Header V3 DSA signature: NOKEY, key ID 37017186 ...
1
vote
1answer
416 views

“Requires: perl(:MODULE_COMPAT_5.8.8)”

I use CentOS 6.5 for my server with below repository: IUS epel ces-standard-* base/upgrade/extras When I tried to update today (it's been a while I haven't updated this server), I got the ...
0
votes
1answer
935 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 ...
1
vote
1answer
31 views

When using createrepo can I place rpms in multiple directories?

When I use the createrepo command can I place RPMs (within the base dir) in multiple directories (think hierarchical) and still have yum recursively look at all the RPMs the directories within the ...
1
vote
1answer
37 views

How to replace one package with another using yum? [duplicate]

I must be missing something obvious here. If there are two equally versioned RPM packages of the same software product, with one of them installed on one of my rigs (with a metric tonne of packages as ...
0
votes
2answers
25 views

How do I find a package that provides a given file in OpenSuSE?

I am thinking on some like Contents-<arch>.gz on debian. A network service were also okay. Does it exists? Simple elaboration: For example, we need a binary named exampletool, which we know ...
0
votes
1answer
309 views

CentOS, Can I install 5.10 rpm into 5.8?

I heard that bash-3.2-33.el5_10.4 is a CVE-7169 patch for CentOS 5. So I found an announcement from CentOS website below. http://lists.centos.org/pipermail/centos-announce/2014-September/020594.html ...
0
votes
1answer
71 views

What if I install redhat rpms into CentOS? Everything is fine?

I heard that there is a patch for CVE-6271, CVE-7169 - To redhat 5, bash-3.2-33.el5_11.4 - To centos 5, bash-3.2-33.el5_10.4 Now I'm wondering if I install redhat rpm into centos or vice versa. Is ...
3
votes
1answer
357 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 ...
3
votes
1answer
1k views

How can I downgrade a glibc version?

I upgraded glibc for a reason that isn't arround anymore so i want to downgrade it again. The stupid thing is a lot of programms rely on glibc at the moment. I still have the 2.4 version on the system ...
0
votes
2answers
24 views

Unable to locate an installed package

I just created an RPM and scp'd it to one of my servers at work. I have went forward and done: sudo rpm --install supportScripts-0.1-1.noarch.rpm Everything installed fine. But when I go to locate ...
2
votes
1answer
50 views

Why does mysql server packages have perl dependencies in linux distros?

I'm trying to clean out some unneeded packages from one of my gentoo boxes with emerge --depclean, and I thought I had a few perl modules installed that none of my wanted packages should require. So, ...
0
votes
2answers
157 views

an application required libstdc++ for GLIBCXX_3_4_9 library on RHEL 5 64bit system

I need to have libstdc++ which contains GLIBCXX_3_4_9 library for 64 bit platform on redhat 5 system. This is required by an application. I tried to install following rpms from RHEL 6 repository but ...
1
vote
2answers
27 views

Does installing a .deb or .rpm package always add a repository to one's system?

Installing Google's .deb or .rpm Chrome package adds the Google repository to one's system for automatic updates. Does installing a .deb or .rpm package always add a repository to one's system? If ...
1
vote
1answer
66 views

Difference between yum update vs yum install

While working with the rpm command I noticed that if I installed some-package-1.0 and then performed another rpm -ivh some-package-1.1 both packages will be listed when I do a rpm -qa | grep ...
2
votes
0answers
13 views

Can capabilities for files be specified via cmake/cpack?

Since RPM 4.7, there has been the ability to specify that a file in an RPM package should be installed with capabilities set (via %caps). Is there a way to specify something like this via cmake/cpack ...
0
votes
1answer
233 views

Saxon rpm build fails due to “ant: command not found”

Hopefully this is a question I can ask this community. I'm currently working on building zookeeper-3.4.5-13 for a CentOS 5 environment. During this process I've been going down a long list of required ...
3
votes
1answer
27 views

How to merge config files interactively after “yum update”

After system packages are updated with "yum update", config files which could not be overwritten are not replaced, but we can find *.rpmnew files near by. By design system administrator must merge ...
0
votes
1answer
38 views

libmpg123 bugging up yum

I had to manually install some dependencies in my fumbling attempts to get netflix working yesterday with pipelight, and ultimately failed. I uninstalled everything I installed during that process, ...
2
votes
1answer
76 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 ...
1
vote
1answer
52 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
19 views

make RPM recognize dependency built from source

I am trying to emulate an enviroment that has centos5 and tomcat6 (for some reason), which is a problem because there are no RPMs for tomcat6 which are compatible with centos5 available to me. I do ...
3
votes
4answers
447 views

Can I use grep matches to execute command?

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 ...
0
votes
2answers
36 views

How can i recreate the YAST GUI in text file

I am new to Linux, have an OpenSUSE vm and want to list the applications installed. I know i can do a RPM cmd and ls {PATH//: /} seems to return a long list although it is full of non-application ...
2
votes
1answer
303 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 ...
4
votes
2answers
19k views

How do I get UUENCODE to work?

I have a server that I have inherited that has an older version of Redhat installed due to software requirements and now there is a need to use UUENCODE to allow email attachments. The uuencode and ...
1
vote
1answer
30 views

Specify unpack location in RPM spec file

I have looked all over the Internet for an answer on this and am unable to get anything for it. I am building my own RPM and I need it to unpack certain files to specific directories. These ...
0
votes
0answers
25 views

“Suggest” to RPM install the UID of a user that is going to be created?

In an RPM it's possible to create a system account; is it possible to suggest the UID to use? For example; during the normal install say that the UID in use was going to be 100; but I want it to use ...
2
votes
1answer
67 views

Install Passenger on Scientific Linux 6.5 via RPM

According to this documentation passenger is a native yum package since RHEL6. Linux version and type [vagrant@localhost ~]$ cat /etc/*release Scientific Linux release 6.5 (Carbon) Scientific Linux ...
1
vote
1answer
23 views

What's the simplest way to build a binary RPM from a source code checkout with a .spec file

I have a checkout of a source code tree (https://github.com/hautreux/slurm-spank-x11, for the curious) that contains a .spec file for building a RPM package. My question is, what's the simplest way of ...
2
votes
1answer
61 views

RPM build errors

I am trying to build an RPM but when I use this command to build it: [root@vmdb SPEC]# rpmbuild -v -bb SPEC/supportScripts.spec I always get this error: Executing(%prep): /bin/sh -e ...
1
vote
1answer
69 views

What is the default behavior of %install?

I am attempting to build an RPM using the -bb flag (%prep %build %install %check package). This is the output of the %install step: Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.2kgeNY + umask 022 ...
1
vote
2answers
374 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
1answer
28 views

How to verify one file of a package, not the RPM itself

For instance, can I somehow use rpm to verify that /etc/pam.d/system-auth is unchanged since it was installed on the system? I know I can do this with an entire RPM, but I want to know if I can do ...
0
votes
1answer
29 views

Unable to uninstall an rpm on RHEL6

I'm trying to remove a package from a system I am responsible for. Everytime I try it fails, though. The error it give is Error in PREUN scriptlet in rpm package vmware-open-vm-tools-xorg-utilities ...
2
votes
3answers
1k 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 ...