Tagged Questions

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

learn more… | top users | synonyms

0
votes
1answer
29 views

Where can I download the software RPM for Redhat?

I try to download some software RPMs(such as gcc, gdb, etc.) for Redhat enterprise version. But after googling, I only find this website:https://access.redhat.com/downloads. This site doesn't seem to ...
2
votes
3answers
48 views

How to list packages with files in a particular directory?

I'm switching to CentOS from another distribution, and I'm not used to working with yum. I'd like to know if there's a way to know which installed packages have files in a directory. For example I'd ...
1
vote
1answer
10 views

Check which RPMs depend on this package

I want to get a list of packages which depend on requested package. For example, I want to get all packages, which depend on telnet. I came up with this script: for i in `rpm -qa | sort`; do rpm ...
2
votes
1answer
40 views

RPM alternative to dpkg-divert

I'm trying to port some scripts from Ubuntu to Centos6 (for docker) Now I'm having trouble trying to replicate this in Centos (which I am not very familiar with) dpkg-divert --local --rename --add ...
1
vote
0answers
32 views

Learning differences between Fedora and Redhat [closed]

Background: I have a fairly decent background in linux and am currently using Arch as my primary OS. However, I am going to start working at a new job that requires using and administrating Redhat ...
-1
votes
0answers
22 views

How can I review the patches for a package? [duplicate]

I need to verify that some certain patches (changes in the source code) have been applied on a specific package. Which is the best practice to do that? Normally, I need the source RPM. Then, extract ...
2
votes
2answers
30 views

How to Fix Accidental Deletion of librpm.so.3

I was dealing with a series of duplicates in my Fedora 20 installation, and was deleting them 10 at a time. It seems however that I've deleted librpm.so.3 and now I get the following message with ...
2
votes
0answers
90 views

Unable to use yum repos whether with baseurl or mirrorlist in CentOS 6.5

Since a couple of days, I'm unable to retrieve repositories data with Yum, in my CentOS 6.5 server. I did yum clean all a dozen of times, it emptied all but didn't solved the problem. I tried to ...
0
votes
1answer
35 views

Updating Java on Linux

My machine currently has: [support@turndownForWhat sbin]$ java -version java version "1.5.0_10" I would like to know if there is any way possible to install/extract java 1.7 to a specific directory ...
2
votes
1answer
56 views

Is there an equivalent of Synaptic (graphical UI) for Fedora?

I use Ubuntu for many years and I like to use Synaptic to manage packages. I'm testing Fedora (version 20) and I'm a little bit lost. Is there an equivalent of Synaptic (a graphical tool) for Fedora? ...
2
votes
1answer
36 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
2answers
13 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 cant stop it by control C , please advice what could be the problem ? root]# rpm ...
0
votes
0answers
19 views

RPM command stuck/FREEZE when installing RPM file [duplicate]

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
31 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 ...
15
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
14 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
26 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
6 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
27 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
21 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
6 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
65 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
45 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 ...
2
votes
1answer
70 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
76 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 ...
-1
votes
1answer
347 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
35 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
28 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
311 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
59 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
32 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
35 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
3answers
324 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
28 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
19 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
39 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
38 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
32 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
106 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
133 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
39 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
89 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
30 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
37 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
432 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
130 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
118 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
184 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 ...