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

learn more… | top users | synonyms

0
votes
1answer
36 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 ...
0
votes
0answers
13 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
14 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)?
0
votes
2answers
94 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 ...
0
votes
2answers
95 views

CentOS 6, having hard time with yum, repos and installing packages

I'm having some hard time with yum and hoped to get some help. My end goal is to install the pymssql library for Python. It fails because it needs freetds install. yum install freetds fails with ...
0
votes
2answers
10 views

Emulating RHEL for apt get

I am constantly requiring the use of multiple packages for my work, but alas my work PC doesn't have an internet connection. Hence, I am always stuck on downloading the package on a separate PC which ...
1
vote
1answer
38 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 ...
3
votes
1answer
59 views

Find files not installed by RPM package manager

Is there some way to find out all the files on a given system that weren't installed via RPM? I understand that I can brute force this myself using something like rpmquery -f in a script that loops ...
1
vote
0answers
77 views

Remove or reinstall broken package installation

I tried to install "variety" manually via a downloaded rpm from http://www.rpmfind.net/linux/RPM/sourceforge/p/po/postinstaller/fedora/releases/23/x86_64/variety-0.5.5-1.fc23.noarch.html The ...
1
vote
0answers
131 views

Build CentOS RPM for current git release, unsuccessful rebuild with alternate prefix

I am stuck in an effort to provide an maintain an up-to-date git release for a collection of CentOS Linux servers. I was hoping to be able to create binary RPMs that I could just have published to a ...
1
vote
1answer
186 views

RPM dependency conflict between libX11 and libxcb

I have to install some packages for a vnc server on a CentOS 6.5 machine that has no access to repos (so I have to transfer the rpm packages I need using sftp). As I tried to install the package ...
0
votes
2answers
21 views

analyzing rpm -Kv output

I am getting this output from rpm -Kv on one of my experimental packages: clime@coprbox ~/v4tests $ rpm -Kv signed10.rpm signed10.rpm: Header V3 RSA/SHA1 Signature, key ID f67e1676: NOKEY ...
1
vote
2answers
44 views

In which case can I use the option nodeps of rpm command?

Pretty new to Linux, I heard that I should never use --nodeps option when I do a rpm -e command. Why does this option exist tho? Thanks.
2
votes
2answers
180 views

How to use yum to get all RPMs required, for offline use?

I have one server with net connectivity, where I can use "yum install $PACKAGE". I want some yum command, like yum cache-rpms $PACKAGE $DIRECTORY such that all required RPM files will be downloaded to ...
2
votes
3answers
359 views

Why does a yum package update replaces my yum-cron config files?

Usually, when applying package updates via yum update, rpm is 'intelligent' enough to respect my changes to configuration files under /etc. (It basically looks at the mtime, compares it and depending ...
3
votes
3answers
2k views

read only TMOUT variable – workaround to disable automatically exit shell when there is no activity

We have here a read only Bash variable. I am not allowed to unset that variable. $ echo $TMOUT 1800 As a workaround I wrote those lines (that my session don't exit) #!/usr/bin/perl $|++; while ...
0
votes
0answers
47 views

Does RPM automatically retry failed download attempts?

My particular situation isn't on a Linux box, rather an IBM i. But I'm running RPM within a BASH shell and attempted to download and install nano using RPM - it failed. I didn't think anything of ...
0
votes
1answer
78 views

source RPM doesn't seem to install on CentOS with no errors

My experience with CentOS and RPM's is limited so I might be missing something obvious, but I can't seem to figure this out... I'm trying to install Sphinx into CentOS 6 in a Docker image using the ...
0
votes
2answers
445 views

Installing (html) tidy conflicts with filesystem package

I'm on CentOS 7 trying to install tidy. Since there is no package provided by the usual suspects, I've downloaded the tidy-5.1.25-64bit.rpm RPM from http://binaries.html-tidy.org/. When I install this ...
6
votes
2answers
211 views

Why are .so packages provided by the devel packages?

I've seen an interesting pattern in RPM packaging. The main library package will include the shared library itself: /usr/lib64/libavcodec.so.54 The -devel package will provide headers and a ...
1
vote
1answer
59 views

Bash - Running a bash script from within a ksh script

I am on RHEL 6.7 and have a korn shell script that does check pre-reqs, prepares the system for rpm install's (creating directories if they are not already that are required by the product), stops ...
0
votes
1answer
620 views

unpack and patch source rpm (rpmbuild -bp) safely

I want to unpack source RPM and apply patches to the upstream source. What is almost OK for me is rpm -i mypkg-*.src.rpm cd ~/rpmbuild rpmbuild -bp SPECS/mypkg.spec # frolic in BUILD/mypkg My ...
0
votes
1answer
264 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 ...
3
votes
1answer
60 views

Automated RPM builds

I'm making my own personal RPM repository. So far, I've built the following packages: x264 libx264 libx264-devel x265 libx265 libx265-devel lame libmp3lame libmp3lame-devel libmfx ...
1
vote
1answer
30 views

Subpackage with an empty requires section?

I have an RPM build which looks like this: Summary: LAME Ain't an MP3 Encoder. Name: lame Version: 3.99.5 Release: 1 License: LGPL Vendor: The LAME Project Packager: Naftuli Tzvi Kay <---> URL: ...
0
votes
1answer
47 views

%pre section of my.rpm is no longer executed on RHEL 6.7

There is a .spec file to build an rpm package for our software. In the %pre section of the .spec file there is a check if a previous major version of our software is installed. If yes, the ...
9
votes
1answer
11k views

Local installation of .rpms using YUM

I'm asking this question cautiously because I don't want to get this wrong. I have a program_name.rpm file saved locally on my server (CentOS 6.5). I have installed it previously just by navigating ...
1
vote
1answer
22 views

Packaging only a certain subset of built files

I'm attempting to package libmp3lame and libmp3lame-devel much the same way that Debian packages it: they have libmp3lame as a package providing the libmp3lame.so shared library, libmp3lame-dev ...
0
votes
0answers
42 views

Failing to build nvidia kmod : mockbuild does not exist

I'm trying to build nvidia drivers on fedora 23 (installed on a qubes virtual machine if that matters) and as you'll be able to see in a second I'm confronted with a major problem that prevents me ...
0
votes
1answer
350 views

Unable to get rid of repo on Centos 7

I have a Centos 7 machine on which I am trying to install PHP 5.6 and associated binaries. For this purpose, I installed the epel and the remi repos. I also installed the webtatic repo which now is ...
0
votes
2answers
26 views

Linux offline installation

I am working on building a Linux server offline with no internet connection. However, every time I try to install an app RH wants to check online for items and fails the installation. How do you ...
2
votes
2answers
8k views

RHEL6 + Error: xz compression not available

When installing packages via yum on a RHEL Server 6.6 system, I get the following error: $ sudo yum install foo Loaded plugins: product-id, rhnplugin, security, subscription-manager This system is ...
2
votes
2answers
5k views

Where is the wireless configuration on Fedora 23?

I am entirely new to Linux as I just installed the dual boot of Windows 10 and Fedora. And the problem I ran into is that in the network setting, there is no option for WiFi? I did intensive Google ...
9
votes
3answers
17k views

How to install packages to a custom location in centos6

I have a shared location, let me call it /tp I want to install all my libraries and packages in this location just like the default install. Reason to do this is: I want all the users in the network ...
3
votes
2answers
189 views

dnf - how to show which mirror url has been chosen?

Below is the part of bash log, the full log can be achieved at https://gist.github.com/limkokhole/f2a423112aa005f10862: [xiaobai@xiaobai hello]$ dnf --verbose download --source readline cachedir: ...
0
votes
1answer
150 views

How can I install the Atom RPM package on Android?

I am relatively new to the Linux world, and I have the understanding that RPM is a package standard among Linux dependencies. I have been wanting to install Atom editor on my favorite tablet, which ...
1
vote
0answers
52 views

problem while using “ yum groups ”

When i am trying to use yum groups commands in RHEL 7 it is giving me following output. #yum groups list There is no installed groups file. Maybe run: yum groups mark convert (see man yum) I have ...
5
votes
2answers
206 views

Yum update error - Requires: python26-ordereddict

Today I tried to update our Amazon Linux servers and got the following error message: $ sudo yum update ---> Package python26-ordereddict.noarch 0:1.1-2.5.amzn1 will be obsoleted --> Processing ...
1
vote
2answers
72 views

How to find and install the GNU Smalltalk on CentOS or Fedora / RedHat?

On GNU Smalltalk's webpage, it says: Binary distributions We do not provide pre-compiled binaries for GNU Smalltalk. However, most GNU/Linux distributions (Ubuntu, Debian, Fedora) ...
2
votes
1answer
2k views

Install PostgreSQL client (psql) only on CentOS

Simple question, but no resources found about this. Is there any way to install only a PostgreSQL client, the terminal-based one, psql, on a CentOS7 system, without installing the complete PostgreSQL ...
0
votes
1answer
169 views

How to install Python module dependencies from my RPM?

I have an application that I am packaging as an RPM and installing on CentOS 7. When I install the RPM I want it to install some compiled binaries as well as some Python modules with their ...
1
vote
0answers
47 views

Remove package with yum but leave libraries in place?

During setup on a specific set of servers, I need gcc-c++ installed to compile some of the software I am setting up. After install is complete I need to remove the compiler for security reasons. ...
5
votes
3answers
668 views

How to build a cross-distro binary RPM package?

I'm trying to build a cross-distro binary RPM package that works under Fedora and openSUSE. I'm using a Require: tag to set the dependencies package names. The problem is that the package names are ...
1
vote
0answers
20 views

Virtualbox Guest Additions packages?

As I move to look at virtualbox for the small/medium business where I've used vmware previously, I'm interested in a proper kickstart for my RHEL5/6/7 hosts. I'm used to using proper vmware guest ...
0
votes
1answer
64 views

How to force repoquery to resolve to the latest available release of a package?

I am attempting to download RPM dependencies using repoquery and yumdownloader, but I am getting inconsistent results. How can I force repoquery to always return the latest compatible package that is ...
0
votes
0answers
42 views

How to rebuild a Centos base application iso?

I have a centos6.5 based application iso file which I want to change one of the RPM file and change some configuration in post kickstart file (there is a post kickstart file is in separate folder)and ...
0
votes
1answer
54 views

Make spec file OS-version-specific

Ok, you may read the title and thought "this is nonsense" because a spec file IS by nature OS/Arch independant, but let me explain. The subpackage "yum-plugin-post-transaction-action" from yum-utils ...
3
votes
1answer
5k 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 ...
5
votes
1answer
4k 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
182 views

libssh2.so.1.0.1 conflict in libssh2 install

I'm trying to install ssh2 for PHP in RHEL. But it required libssh2-1.4.2-2.el6.x86_64.rpm and libssh2-devel-1.4.2-2.el6.x86_64.rpm. So I downloaded and tried to install, I got below errors # rpm ...