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

learn more… | top users | synonyms

1
vote
0answers
7 views

rpmbuild different path for sysconfdir

I am building rpm for opensips and i want to install this package in /opt/opensips path instead of default system path I have define following in my SPEC file %define _prefix /opt/opensips ...
1
vote
4answers
47 views

Cannot use “firefox” command to run latest firefox

I have download firefox version 34 from Mozilla website. Next, I extracted the tar archive, and moved it to the Desktop. Now, when I run the following command: Desktop/firefox/firefox the version ...
0
votes
0answers
12 views

Multiple prefix tags in rpm spec file

I have an rpm that builds two packages. I tried to add separate Prefix tags in the preamble each of the packages. However, as there is one prep section, I am not able to address the prefix each of ...
0
votes
0answers
8 views

Adding files to %files section of SPEC file from another file

Is there a way to use a text file to add files into a package. This is what I intend to know: I have a text file that contains a list of files to be packaged. Is there some way to use that list in ...
0
votes
0answers
31 views

completely clean re-install of mysql on CentOS 7

I have encountered problems with a mysql installation on CentOS 7. All the data is backed up, so I just want to completely erase every remnant of mysql on the machine and then do a clean install. My ...
1
vote
1answer
28 views

/sys: cpio: chown failed - Read-only file system (Building Passenger RPM using Docker)

While I'm trying to build rpm using Docker for Phusion Passenger 4.0.53 (https://github.com/phusion/passenger_rpm_automation), I get the following error. Any help is most appreciated. $ ./build -p ...
0
votes
1answer
26 views

removing virtualmin and webmin from remote CentOS 7 server

Webmin and Virtualmin were recently installed using rpm packages on a remote CentOS 7 server. How do I uninstall them? I have googled this, but all the results are either so old as to be obsolete ...
2
votes
1answer
26 views

Buildiing RPM to behave differently while Install & Upgrade?

I have an RPM package with nearly 4000 files, and the installation of this takes considerable time. However, of those 4000 files, only a fixed list of 25 files change for each release. My query: Is ...
0
votes
1answer
26 views

How can I upgrade libxml2 package on CentOS 6?

On CentOS 6.5, when I am trying to upgrade the libxml2 package with: yum localinstall libxml2-2.9.1-99.1.src.rpm I am receiving the following output: Examining libxml2-2.9.1-99.1.src.rpm: ...
0
votes
0answers
13 views

Mapping between RPM file names and metadata names generated by maven

We have a Sonatype Nexus repo, where we publish RPMs with the Maven RPM plugin. Snapshots and release versions are available. The issue here is around the mapping between versions. First, I obtain a ...
0
votes
2answers
34 views

How to install Couchbase on ArchLinux

Is it possible to install CouchBase in ArchLinux? This database looks so promising, but they only provide .deb, .rpm, windows, and mac version. http://www.couchbase.com/nosql-databases/downloads
0
votes
1answer
39 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
60 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
12 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
57 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
45 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 ...
2
votes
2answers
36 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
1answer
212 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
38 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
156 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
45 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
35 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
43 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
20 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
33 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
10 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
27 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
70 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
63 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
138 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
79 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
361 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
53 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
31 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
815 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
69 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
51 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
547 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
30 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
26 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
41 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
46 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
36 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
159 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
279 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 ...