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

learn more… | top users | synonyms

3
votes
2answers
181 views

Can't install man pages on minimal Centos Docker container

I have a minimal Centos 7 Docker image, and I'm trying to get some man pages on it to help in debugging my Dockerfile. Out of the box, it doesn't have much: # man ls No manual entry for ls Per this ...
0
votes
0answers
103 views

Cannot connect to any host (including localhost) using PAC Manager on CentOS 7

I'm using following system: $ cat /etc/redhat-release CentOS Linux release 7.2.1511 (Core) $ uname -a Linux X 3.10.0-327.4.4.el7.x86_64 #1 SMP Tue Jan 5 16:07:00 UTC 2016 x86_64 x86_64 x86_64 GNU/...
0
votes
0answers
52 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 it,...
0
votes
1answer
97 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 ...
6
votes
2answers
212 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 symlink:...
1
vote
2answers
582 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 ...
1
vote
1answer
61 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 ...
3
votes
1answer
68 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 libmfx-...
1
vote
1answer
35 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: ...
1
vote
1answer
25 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
45 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
52 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 ...
0
votes
1answer
446 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 ...
3
votes
2answers
205 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: /...
3
votes
3answers
399 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 ...
0
votes
1answer
183 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
65 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 ...
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 ...
1
vote
2answers
78 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
3k 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 ...
5
votes
2answers
214 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
1answer
2k views

Install Locally using dnf in Fedora without using internet connection

I am trying to locally install an rpm package without using the internet. I tried the following: sudo rpm -u kernel-devel-4.2.7-200.fc22.x86_64.rpm and I got: error: kernel-devel-4.2.7-200.fc22....
1
vote
0answers
51 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. ...
0
votes
1answer
204 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
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
70 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
45 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
56 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 ...
2
votes
2answers
7k 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 ...
2
votes
1answer
232 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 -...
2
votes
2answers
683 views

How to download an RPM package and install it in one line?

I was wondering whether using wget it was possible to download an RPM and then pipe it through sudo rpm -i to install it, in a single line? I realize I could just run: wget -c <URL> sudo rpm -i ...
0
votes
1answer
40 views

How to install cetoys on Linux Mint 17.2 Cinnamon 64

I am trying to install cetoys. The main Source Forge page provides a .src.rpm file. I downloaded it and ran: sudo alien -i cetoys-0-r4.src.rpm It produced the following output: (Reading database ......
1
vote
1answer
97 views

How to query which RPM package provides a specific version

RPM SPEC files know about package versions in both Requires: and Provides: tags, so inside a SPEC file it's easy to build proper dependency even with mangled names (e.g. to avoid conflicts and allow ...
0
votes
0answers
44 views

How do I add self-signed certificate to trusted list in Mageia

I am trying to add self signed certificate for my repository into trusted list in Mageia 5. But when I execute sudo urpmi.addmedia name repo_link I get ...retrieving failed: curl failed: exited with ...
1
vote
2answers
26 views

rpm: what determines whether a package updates a previous one or gets installed in addition

Is it simply the installation path? If that is the case then any package that has version in the name/path will never update another, so that cannot be it. I don;t see a mention of this in the ...
1
vote
3answers
123 views

yum remove is not idempotent

On some Centos VMs, I have a few MySQL packages to remove (via yum) and then install MariaDB (via rpm), all in a shell script. I use yum for removal : yum remove -y mysql-community-client yum ...
2
votes
1answer
232 views

how to create a on-demand rpm mirror

i would like to create a rpm repository for fedora packages on my local network. due to storage limitations i want the repository to be empty initially and download packages once they are accessed. ...
0
votes
1answer
119 views

Creating arbitrary directory in kickstart before %post

One of the non-OS packages that I need to install via kickstart config requires a pre-existing (non-standard) directory, is there a way to create arbitrary directory before %post in kickstart? ...
1
vote
1answer
86 views

What does Requires: Python(package) do for RHEL spec files?

I'm packaging some Python packages currently without RPMs, and some of those depend on others that I'm packaging. While packaging I noticed a format where people do: Require: python(pkg-name), but I'...
0
votes
2answers
37 views

Spec rpm: I want make gmake -j3

On my .spec file I want to pass alias make=gmake -j3, using a bash script I did alias make="gmake -j3" how to do in a .spec file?
0
votes
1answer
33 views

How to connect to DSL in rpm-based distro

I need to connect to Internet using terminal. Using Ubuntu I could do it by using "pppoeconf" (it asked me only login and password). How can I do that in rpm-based distros ? What info should I provide ...
1
vote
1answer
37 views

How to list all commands contained in a specific rpm package?

I found this exact question for Debian here: List all commands of a specific Debian package But it seems no one has ever asked this for RHEL/CentOS (or OpenSUSE for that matter). For instance, I can ...
2
votes
4answers
2k views

How to change from existing DEB files to Centos RPM

I'm moving a product from Ubuntu 12.04 to Centos 6.6. I have ~500 deb files. (for example 'dpkg -i libaio1_0.3.109-2ubuntu1_amd64.deb'). I need these debs on Centos . Is there a viable way to ...
0
votes
3answers
375 views

Problem with removing rpm package

I'm trying to install one package on CentOS 6.7 yum install varnish but I'm getting that I have a package which doesn't belongs there (is for CentOS 7) ---> Package varnish.x86_64 0:4.1.0-1.el7 ...
0
votes
2answers
438 views

RPM and ISO , package installation

I am trying this option first time not sure is it correct way, please bear me. I am tying to install package rpm -ivh binutils-2.23.52.0.1-12.el7.x86_64, I mounted the ISO image mount -t iso9660 -o ...
1
vote
2answers
36 views

The easiest way to update package above release RHEL

I have to install the krb5-devel package in a version at least 1.12 on a RHEL 6.6. Unfortunately the RHEL 6.6 repositories contains the package in a version 1.10. What would be the easiest way to ...
1
vote
1answer
20 views

Re-setting perms on RPM's does not seem to work

I am using RPM for file verification. What I do is run rpm -Va to get a list of files that have been changed. Then I run rpm -qf to get the package name the file belongs to. Finally I run ...
1
vote
2answers
47 views

Is there a standard way of locating a package's config files?

Just curious if there is a standard way of locating where a package puts the config files for a program (assuming the documentation for the package doesn't include this information). The reason way I ...
0
votes
2answers
76 views

yum --download for CentOS with ubuntu?

I have an enterprise network, people seems not willing to download rpm and dependancies for CentOS. How can I yum --download pkg_name --directory my_repo in a system which do not use yum as ...
0
votes
1answer
118 views

Does using spacewalk require RHEL subscription?

Planning to use spacewalk for patch management on RHEL Linux servers built in amazon web services. Can someone clarify if it requires a direct subscription from RHEL for downloading packages from ...