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

learn more… | top users | synonyms

3
votes
0answers
33 views

Is is possible to override an RPM's service user account during installation?

While doing an installation of an RPM using either rpm or yum is it possible to override the default user account that's typically defined in the RPM .spec file? I'm specifically dealing with an RPM ...
0
votes
0answers
19 views

option conflicts between FPM and ./configure

Short version- trying to use FPM to make an RPM and the --python-blahblahblah flags seem to not be working. I think they are being overwritten by something else and I'm hoping someone who understands ...
0
votes
0answers
26 views

yum + how to know to which site yum download the packages? [duplicate]

when I am installing rpm by yum (VIA Red Hat Network) as the following example down how to know to which site (URL ADDRESS) yum refer to? for example https://rhn.redhat.com or https://...
1
vote
0answers
19 views

RPM Spec file seeing single command as two?

I'm having an odd issue with my spec file. I realize that my spec file is entirely improper but I am not here for a lecture. Within it, I have the following line: sudo docker exec -d tomcat cp /opt/...
3
votes
1answer
36 views

Proper way to use repository-packages

My task is "find set of installed packages that belong to a repository". I try to do: sudo dnf repository-packages REPO info installed So I can determine if I need to disable it or not. But ...
-5
votes
1answer
35 views

Why Centos RPM can not be done by the root user

In CentOS wiki says that can not be done rpm-packages under the root user, because it may damage the system. Why? I do not understand what exactly it can do harm. The documentation RPM nothing found. ...
0
votes
2answers
20 views

How can I get a dependency of “default-jre” to work for .rpm packages?

After asking the question Can I indicate that a .deb package depends on Java, but not specify what implementation (e.g. OpenJDK, IcedTea, Oracle)?, I was helpfully informed that I could include a ...
0
votes
1answer
45 views

Does repo's Nvidia disable Nouveau

Yes, it has many Q&A about the Nouveau x Nvidia drivers concerning Fedora 24. However, I didn't find one detail I need to know. I entered the guide to look for, As nouveau is enabled by ...
-1
votes
1answer
36 views

How to convert RHEL rpm to CentOS

My team receives software in a RHEL format from another team. RHEL requires licensing to use and deliver their media. Our team converts the operating system to CentOS which is based on RHEL but does ...
0
votes
0answers
117 views

yum install error nothing to do (MYSQL, CentOS 7)

I'm trying to install MYSQL instead of MariaDB on my VPS CentOS 7. I used this command: wget http://repo.mysql.com/mysql-community-release-el7-5.noarch.rpm yum install http://dev.mysql.com/get/mysql-...
0
votes
1answer
36 views

What's the fastest way to install Postgresql on Wind River 7.0?

I'm new to bare-bones Linux systems and need to install postgres on a wind river Linux distribution. My plan was to install yum and then use yum to install the postgres rpm. I've tried to install ...
1
vote
1answer
26 views

Enable SCL python27 so other RPMs can see it

Trying to create an RPM that uses Python 2.7 on a RHEL 6 machine. I'm using SCL to enable Python2.7 and building the RPM with it fine. However, when I try to install that RPM on a different system ...
1
vote
0answers
77 views

Reinstaling NSS library on CentOS (Amazon AMI)

I had a problem during updating of the packages on CentOS AMI from Amazon (S3). I got a bunch of duplicated packages. Among them: nss-softokn-freebl-3.16.2.3-14.2.38.amzn1.x86_64 is a duplicate with ...
0
votes
2answers
38 views

rpm -Vf doesn't report a changed file

I'm trying to write a puppet module that writes a templated config out but onlyif it's the stock config from the RPM (so as to not screw with any formatting they have going on). The rest of config ...
0
votes
1answer
62 views

I installed python 2.7 on RHEL6 server, want to go back to 2.6

I am on RHEL6 and I installed python27 using these commands: sudo sh -c 'wget -qO- http://people.redhat.com/bkabrda/scl_python27.repo >> /etc/yum.repos.d/scl.repo' sudo yum install python27 ...
0
votes
0answers
39 views

Fedora 20: Chrome can't install from repository, version conflicts

I previously had Chrome installed via downloading an rpm package and just installing, but I'm trying to install the latest version of Chrome from a repository so I can keep it updated. I uninstalled ...
1
vote
1answer
45 views

Self updating application

I'm writing an application (say, example_1.0.rpm) that is hosted externally (on example.com) and this app tries to update itself on every launch whenever new version is available. My approach: ...
12
votes
2answers
866 views

What is less doing with rpm, and how do I get that text without rpm

When I execute less package.rpm, less shows me all sorts of meta info about the package. What is less exactly doing - does it have built in code to be able to extract meta info, or is an rpm ...
1
vote
0answers
16 views

Package additional in-tree modules

Targeting an up to date Fedora whose kernel unfortunately lacks a module: Is it possible to package the module (using kmod or whatever existing infrastructure), so that the module package has the ...
1
vote
2answers
22 views

Build an RPM for a specific minor version of RH

I need an RPM built for a specific minor version of RH, so that it only installs on that minor version (ex RHEL 6.4) and not on other minor versions like RHEL 6.6. Also when rpm/yum installs this pkg ...
0
votes
1answer
93 views

Can I build centos 7 (el7) rpm package on centos 6 (el6) server?

There are some documents teaching me on how to build rpm by myself in centos with rpm-build or mock. I am fine to build them for el6 rpm package. My question is, can I build a rpm package for centos ...
0
votes
1answer
64 views

Having problems updating after esx host problem

So I have a VM that had to be hard shutdown. I can't get the error to stop. CentOS 7.x latest [user@asm-dmz01 ~]$ sudo yum-complete-transaction --cleanup-only Loaded plugins: fastestmirror Loading ...
0
votes
1answer
35 views

How to verify if an rpm was installed from scratch or upgraded?

Today, we installed the following rpm's via yum on redhat version 5 # rpm -qa --last | head -10 kernel-headers-2.6.18-408.el5 Wed May 18 13:33:59 2016 bind-utils-9.3.6-25.P1....
0
votes
3answers
39 views

rpm is installed / rpm is not installed issue

I've run into a bit of an issue with rpm on an Oracle Linux 6.5 box. I installed an RPM, and it appears to have installed successfully. However, now I am trying to remove it, but rpm says it's ...
0
votes
4answers
132 views

yum + how to remove unused rpm/patch on linux redhat

I am using yum to install a patch update on my RedHat Linux machine, Is it possible to use yum on different way in order to uninstall unused rpms/patches? My goal is to remove the unnecessary rpm/...
1
vote
1answer
23 views

Binary file got corrupted after packaging

A quick overview, what I'm doing is bundling a nodejs application using enclose.js into a single binary, then using rpmbuild to turn the whole project with config files into a single package. ...
2
votes
1answer
67 views

How can I install a local RPM using only the local dependency RPM files?

In my CentOS machine (VirtualBox VM, altough I assume this shouldn't matter), I have a directory including an RPM file and all of its dependency RPM files. I want to install the RPM along with all of ...
0
votes
1answer
34 views

compiling rpm 4.11 for RHEL5

I am trying to compile rpm 4.11.2 on RHEL 5 machine. When I do ./configure it gives error . . checking for nspr.h... yes checking nss.h usability... yes checking nss.h presence......
2
votes
1answer
773 views

can not install mysql-server on centos 6.7 32bit . Error: need rpm?

when I try to install mysql-server on centos with this command: yum install mysql-server server replies: Loaded plugins: fastestmirror, security Setting up Install Process Loading mirror speeds ...
2
votes
1answer
45 views

How do I specify a requirement for a minimum version of openssl in RPM spec file?

The rpm spec file for my package looks like this - Requires:mysql-server >= 5.5.30, java >= 1.6, p7zip, openssl >= 1.0.2g I have an RHEL system where the openssl version is this: [ag@...
3
votes
1answer
246 views

Do I need to do something about “Delta RPMs disabled”?

While updating packages on our CentOS server I got the following message: Downloading packages: Delta RPMs disabled because /usr/bin/applydeltarpm not installed. Do I need to do something about ...
0
votes
0answers
170 views

Install GUI :Red Hat Enterprise Linux Server release 7.0 (Maipo)

I am trying to install GUI of Red Hat Enterprise Linux Server release 7.0 (Maipo) as i follow this web page install-gnome-gui-on-rhel-7-linux-server to install GUI but when i run first command ...
1
vote
0answers
89 views

identify all broken / conflicting rpm's and fix them *correctly* Fedora 23, persistent usb

Earlier today I installed Fedora 23 on a USB. After the installation was complete, I was doing the standard dnf upgrade, shell configurations, and ultimately preparations for installing the NVIDIA ...
0
votes
1answer
40 views

How to backup rpm dependencies downloaded by yum while installing?

I need to install git on a machine which doesn't have internet connection. I am wondering if there is any option to ask yum to keep a backup of rpm and dependencies it downloads. OS: CENTOS
0
votes
1answer
28 views

Circular dependencies that cannot be fulfilled. PHP packages on CentOS 7 to support Drupal 8

I am trying to install Drupal 8.0.5 on Apache 2.4.6 on CentOS 7, with PHP 5.6.19. I get an error that PHP extensions are disabled. The detail I get is that it pertains to "gd." I have installed, ...
0
votes
3answers
85 views

redhat + how to download rpm from red-hat site

I need to down load the following rpm from red-hat formal site kernel-debuginfo-3.10.0-327.10.1.el7.x86_64 is it possible to use the following rpm command for download ? rpm --import http://......
1
vote
0answers
262 views

yum update glibc - ERROR with rpm_check_debug vs depsolve:

I want to update my system with yum update but I get only errors starting with these two lines: Running rpm_check_debug ERROR with rpm_check_debug vs depsolve: Then, I tried only to update the ...
0
votes
3answers
112 views

Using rpm/grep to check whether multiple services are installed - as one liner?

The following code is used to check whether a service (read from variable, can be empty or up to X services named) is installed or not and take appropriate action. ... if ! rpm -qa | grep -qw $...
0
votes
1answer
109 views

I have installed rpm where does it installation log save in centos/redhat 6

I have installed rpm where does it installation log save in centos 6. I mean which file stores the logs for installation and removal of rpm and when we rum command rpm -qa --last from which file it ...
1
vote
1answer
84 views

Saving RPMs installed by dnf

I've got a question about yum. When I upgrade my system using dnf, it downloads packages from the Web. Can I set dnf configuration so that I could save rpm files for later use, with the same system ...
0
votes
1answer
38 views

is it possible to list documentation via yum like RPM does

rpm has the function rpm -qd somepackage which will list all documentation files associated with the given package. does yum have such a feature? I am unable to find one.
3
votes
3answers
120 views

How to install packages for old version of Fedora?

I'm using a Fedora 13 VM, and I need to install some old rpms, but only have the source rpm files. I know that I can use rpmbuild --rebuild to build the binaries, but I for whatever reason, rpm-build ...
0
votes
1answer
69 views

Install Java 1.4.2 on recent Amazon Linux [duplicate]

I need Java 1.4.2 on a up-to-date Amazon Linux 2015.09 server. I've tried to install j2sdk-1_4_2_19-linux-ia64-rpm.bin. When I execute this file, I get an error message: line 442: ./install.sfx.12314:...
2
votes
3answers
39 views

Updating kernel but not packages

I need to update the kernel from version 2.6.30 to 2.6.37. I'm going to just compile the kernel and kernel modules for this architecture and boot it. But also there are a lot of packages installed, ...
0
votes
1answer
41 views

redhat satellite + falback procedure - how

I used the RHN - red-hat satellite version 5.x in order to install errata patch: ( on linux version 6.x ) glibc-2.12-1.166.el6_7.7.x86_64 while the curent patch on my linux was glibc-devel-2.12-...
0
votes
2answers
112 views

yum/rpm inconsistencies

I'm using RHEL 5 (64-bit) and have come across an inconsistency with rpm/yum. When I attempt to install a 32-bit RPM, I'm told the RPM is already installed when only the 64-bit version exists on the ...
0
votes
0answers
17 views

How do I debug packages that I've made?

I've created a number of packages using mock and rpmbuild to form my own software repository. As a part of the build, RPM will extract debug symbols and source files and install them in a debuginfo ...
0
votes
0answers
19 views

What is the role of these RPM packages( kernel-debuginfo and kernel-debuginfo-common RPMs, and the kernel-devel RPM)?

I want to know what the role of these RPM packages( kernel-debuginfo and kernel-debuginfo-common RPMs, and the kernel-devel RPM)?
1
vote
1answer
59 views

How to refer to any files or scripts packaged inside RPM from %pre %post scriptlets

I am building an RPM package that packages the various files that includes properties files, config files, scripts, JARs etc. Now when writing the %pre, %post, %preun and %postun scritptlets, I need ...
0
votes
2answers
176 views

PECL - Installing PThreads offline

I am not familiar with pecl command but is it possible to convert the command below to an offline version? pecl install channel://pecl.php.net/pthreads-0.0.44 I want to install PThreads on CentOS 6....