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

learn more… | top users | synonyms

2
votes
1answer
21 views

Bash script to verify that an rpm is at least at a given version

I need to write a script to verify that an RPM is at least a given version in Linux. QUESTION 1: How can I get the RPM version in a variable $RPM_VERSION, so that it contains the version all the way ...
0
votes
0answers
9 views

RPM command stuck/FREEZE when installing RPM file

I want to install the following rpm from some reason RPM is stuck or freeze and not install the RPM package also I can't stop it by control C, root]# rpm -Uvh --repackage ...
0
votes
2answers
15 views

Installing package why is rpm and yum used here - why not just one?

I am attempting to install VLC media player on my new Fedora 20 machine. On the VLC website it states that you could install it usign the following commands (which i still did not try) as I want to ...
14
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
11 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
18 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 ...
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 ...
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 ...
0
votes
1answer
57 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
32 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
41 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
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 ...
0
votes
1answer
311 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
2answers
26 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
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 ...
1
vote
1answer
69 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
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, ...
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 ...
3
votes
1answer
28 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
2answers
172 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 ...
0
votes
1answer
20 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 ...
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
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 ...
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
27 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
69 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 ...
2
votes
1answer
63 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
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 ...
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 ...
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
31 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
1answer
301 views

yum: RPM dependency tree

I'm going to install an RPM package and I can see that some of dependencies requires X server libraries to be installed as well. I'm absolutely sure that the package I need is a server software and ...
0
votes
0answers
84 views

bash script to verify rhel patching

we have several redhat servers which we patch from redhat satellite. To avoid confusion, I'll use the term "host" to denote the server which is being patched. We have a script, say, patch.sh, which ...
2
votes
1answer
83 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 ...
0
votes
0answers
16 views

facing issue while installing oracle Database 11g on rhel5 And SOA

While installing required rpms for both SOA and Oracle the below rpms are conflicting with each other glibc-devel-2.5-49.x86_64.rpm and glibc-devel-2.5-24.i386.rpm How can I fix it? one package gets ...
1
vote
1answer
86 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 ...
0
votes
0answers
13 views

package manager with staging

my goal is to configure mirror-repository for packages (rpm, deb) which will have some features: staging (developing,testing,production) capability to back/forward stage doesn't take so much space ...
3
votes
1answer
48 views

Common subroutines in RPM

I have some common code that I would like to execute in the %pre and %post section of my rpm spec file. When I place a subroutine in the %pre section, I need to add the same subroutine to the %post ...
3
votes
1answer
52 views

How to verify the RPM database?

I need to verify that the RPM database (not an RPM, the database in /var/lib/rpm) is not corrupt or inconsistent, in a manner suitable for scripting (i.e. will return exit code 0 if good and something ...
6
votes
1answer
119 views

How can I put some comment in yum installation list?

Lets say I made a List of installed packages by: rpm -qa > list I want to use this list to re-install those Packages on another System, For Example By: yum -y install $(cat list) But I need ...
1
vote
1answer
429 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 ...
3
votes
3answers
218 views

Centos rpm -qa vs yum list installed

I want to have server b to have exactly the same setup as server a. My plan is to have a list of all installed things on server a and install it by using the list on server b something like : yum ...
3
votes
1answer
114 views

rpm macros on CentOS 6.5

Trying to create a spec file for a CentOS 6.5 system. The rpm should check release to add specific Requires: lines based on the OS version....and it doesn't work at all: Spec file snippet: %if ...
1
vote
1answer
74 views

How to Resolve a .so Dependency

I have a package (.rpm) on CentOS 6.5 that requires a .so file, which I also have on my machine. When I attempt to install the package I get an error stating unresolved dependencies regarding the .so ...
2
votes
3answers
55 views

listing package dependents

I stupidly did "yum remove python" which also ended up removing all the packages that required python as well. Luckily, I have access to another Linux machine that is a near clone of this machine, ...
1
vote
1answer
35 views

How to know what packages I'm missing?

A while ago I made my own distro of Linux using SuseStudio and may have left out some important packages. Apps like gnome-software and gnome-music don't work The computer runs really high process ...
0
votes
2answers
82 views

Problems installing Chrome in SLED 11

I'm trying to install Google Chrome on my OS, but when I execute the .rpm, I got this error: google-chrome-stable-35.0.1916.153-1.x86_64 requires libX11.so.6 (64bit), but this requirement cannot be ...
0
votes
1answer
21 views

Does “rpm --test” verifies the dependencies too?

The manual only says "--test" only checks for conflicts: hostname:~/foo# rpm -ivh --test jdk-6u2-linux-i586.rpm Preparing... ################# [100%] hostname:~/foo # Our question: ...