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

learn more… | top users | synonyms

5
votes
2answers
203 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
736 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: ...
1
vote
0answers
44 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
135 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
60 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
39 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
48 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
4k 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
149 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
422 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
39 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
79 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
40 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 ...
0
votes
3answers
97 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
163 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
88 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
70 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 ...
0
votes
2answers
30 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
32 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
35 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
3answers
1k 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
286 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
339 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
35 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
18 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
43 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
67 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
100 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 ...
0
votes
0answers
60 views

Problem Installing fping rpm package for Fedora 19

I have an issue installing fping in my Fedora 19 operating system. The Problem is raising issues like below:- sudo: apt-get: command not found [wruser@wrhost ~]$ sudo yum install fping Loaded ...
0
votes
0answers
59 views

How to modify default install directory for rpmbuild command?

On Suse Linux Enterprise Server 11, I use rpmbuild to install a source rpm: linux-a21w:/usr/src/packages/SPECS # rpmbuild -v -bi zlib.spec By default, it installs into /var/tmp/zlib-1.2.7-build ...
1
vote
0answers
92 views

Have Makefile create rpm spec file

I have a makefile to build my program then a makefile to build my rpm package in addition to an rpm spec file to create the rpm. Right now the spec file is manually maintained. However for future ...
1
vote
1answer
1k views

Where's rpmfusion? - CentOS7 as desktop/multimedia system

I am currently looking at Centos, because I am really getting fed up with having stuff changed or having to reinstall my system every 6 + 9 months or so, or running a system without any updates. Now ...
2
votes
1answer
548 views

Build RPM on Windows with Cygwin but install on Linux

I am trying to figure out an issue that I have with installing an RPM file on openSUSE which I build on Windows (using Cygwin/rpmbuild). When I try to install the RPM on Linux I get an error saying ...
1
vote
1answer
58 views

How to stop automatic upgrade of postgres,mongodb and RHE7 itself?

I have installed Postgeresql, mongodb using yum in RHEL 7.0 few days back, but now they are automatically upgrading. I don't want it to happen. How can I prevent the automatic upgrades?
1
vote
1answer
258 views

how do I manage dependencies for this manually installed rpm file?

How do I manage the dependencies while manually downloading and installing these rpm files? Googling the names of the rpm files results in differently-named rpm files. I cannot use yum install ...
0
votes
2answers
56 views

CentOS 6.4 rpm requires el5 but available is only el6

I want to install lipXp-devel-1.0.0-8.1.el5.i386.rpm and get the error message: Package: lipXp-devel-1.0.0-8.1.el5.i386 Requires: libXp = 1.0.0-8.1.el5 Installed: libXp-1.0.0-15.1.el6.i686 ...
0
votes
0answers
67 views

Deleting of whole symbolic link folder when rpm -e is ran

I am currently building an rpm for RHEL 6.6. The installation of the rpm goes great the the command rpm -Uvh foo.rpm. However I run into a problem when I do the rpm -e foo command. The problem is ...
0
votes
0answers
28 views

Config folder for a service

Context When running the Deluge daemon (deluged) as a service, you can specify an option to where the config folder will be created. The deluge-user I've created, is a system account, and therefore ...
1
vote
2answers
944 views

Extract the spec file out of an RPM

I have an RPM that I built. And I am looking to figure out how to extract the Spec file out of it. I have tried: rpm --scripts -qp sampleBuild.rpm That didn't work. Does anyone know the proper ...
1
vote
1answer
695 views

Installing Octave Dependencies on CentOS 6 using yum

I am trying to install Octave 4.0.0 (from source) locally in my home directory on a CentOS 6 cluster. This is a rather extensive install (see list of dependencies). I have several issues : From ...
1
vote
1answer
34 views

Maintain 32 and 64 bits version of rpm

let me explain this a little bit, I am in charge of update part of our company product from 32 to 64 bits. At the end, we should have a 64bits kernel + 32bits applications + some 64bits ...
0
votes
1answer
118 views

rpm and defattr

Why does %files ram %defattr(-,root,root,644) %dir %attr(755, root, root) /usr/lib/ram/postd /usr/lib/ram/postd/about /usr/lib/ram/postd/local.conf /usr/lib/ram/postd/local.init.conf ...
0
votes
0answers
56 views

Could not find files when creating mono package with rpmbuild

I'm trying to create rpm package from official mono-4.0.3.20.tar.bz2 archive on Centos 6.5. I suspect the original spec file might be corrupted. When I try build with rpmbuild ...
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 ...
0
votes
0answers
136 views

Upgrade python from 2.4 to 2.6 on RHEL 5.7

Currently We have 2.4.3-56.el5 version of python installed on RHEL 5.7. Need to install nodejs for which the python version should be upgraded to python26. I have downloaded the below rpms: ...
0
votes
2answers
501 views

trying to install chef-client package via local yum repo

I am trying to make chef-11.16.4-1.el6.x86_64.rpm available to our servers via a local yum repo that we've built. it is not available in RHEL Repos, so i had to manually download and save it in our ...
3
votes
3answers
1k 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 ...
5
votes
2answers
4k views

How to install dependencies of an rpm package without installing the package itself? (rhel/fedora)

I have a set of packages (*.rpm). For each package I can do rpm -qRp <package> to list requires, but I would like to install them (those requires) without installing the packages themselves. ...