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

learn more… | top users | synonyms

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
98 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 ...
8
votes
2answers
1k views

How to create a list of all applications which were manually installed?

I use Fedora and I'd like to have all the package names in a list, but only the ones I installed myself, not the default ones.
2
votes
1answer
166 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. ...
5
votes
1answer
6k views

What does EL5 and EL6 means in term of packages?

I am new to CentOS and I am using it because Citrix XenServer is running on it. [root@xen01 shm]# uname -a Linux xen01 2.6.32.43-0.4.1.xs1.8.0.855.170800xen #1 SMP Mon Jul 21 05:12:35 EDT 2014 i686 ...
1
vote
1answer
85 views

Package file without .rpm or .tar.gz… What to do?

I'm busy installing ELK package on a few RHEL6 servers, but we have two mail servers which are still RHEL5 i386 servers. So I go to https://www.elastic.co/downloads/logstash and downloaded the Linux ...
0
votes
1answer
52 views

the following packages is nedded for installing audacity in fedora linux redhat 6

I want to install audacity in my machine (red hat 6 fedora), when I try to install the following error shows. How to fix this? flac-devel is needed by audacity-2.1.0-2.el6.i686 ...
0
votes
1answer
229 views

Can I install ALL required rpm to run wine without root permission?

I am logged in on a redhat linux computer, and I don't have root permissions. I have tried running/installing wine on a folder using ./configure , which outputs: configure: error: X 32-bit ...
3
votes
2answers
6k views

How to automatically accept epel gpg key

The very first time that I install a package from epel, I am prompted if I want to import a GPG key. Notice how there are 2 'Is this ok' prompts when installing redis? [root@us-devops-build02 ...
2
votes
3answers
148 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 ...
0
votes
0answers
62 views

How does rpmbuild see files that need to be installed

I am trying to use an rpm package to build a package that does little more than install custom configs. I made a blank rpmbuild package, added another package as a dependency, this package installs ...
8
votes
1answer
142 views

How can I put some comment in yum installation list?

Lets say I made a List of installed packages by: rpm -qa > list I want to use this list to re-install those Packages on another System, For Example By: yum -y install $(cat list) But I need ...
1
vote
1answer
514 views

Installing RHEL6.5 by swapping RPMs

BACKGROUND So I've been tasked with updating a system from RHEL6.0 to RHEL6.5 via a bootable USB. Due to size limitation, I've stripped (using the rpm -e command to prevent dependency errors) ...
19
votes
6answers
10k views

What's .deb and .rpm and how is it different from .msi?

What are these file formats and how do they differ from the .msi format in Windows? Also what are the pros and cons of these package management schemes?
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 ...
0
votes
1answer
89 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? ...
9
votes
4answers
6k views

How do I tell which GPG key an RPM package was signed with?

The cryptographic signature of an RPM can be verified with the rpm -K command. This returns a string containing gpg (or pgp) and ending in OK if the signature is in RPM's database and is valid. If ...
1
vote
1answer
71 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 ...
2
votes
1answer
80 views

Create an RPM to distribute a custom SELinux policy

I have created two custom SELinux Policy modules to allow rsyslog to parse audit.log. Can I create an RPM of these two policies to distribute to 300+ clients? Is there a better way to go about this? ...
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
0answers
197 views

Centos 7 - Can't download RPM (Trying to connect with IPV6)

I am normally an Debian/Ubuntu guy, but I wanted to test the foreman on CentOS 7, but I am having some trouble with the rpm command. I have tried to disable IPV6 with echo 1 > ...
2
votes
2answers
343 views

RPM build check-rpaths error 0x0001

While building my custom rpm package using the below mentioned command rpmbuild -v -bb test.specs I get the below error, + /usr/lib/rpm/check-rpaths /usr/lib/rpm/check-buildroot ...
0
votes
1answer
122 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 ...
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 ...
4
votes
1answer
775 views

Make RPM Satisfy Dependency Requirements of Other Installed Packages

So, I am installing a java app that I wrote which uses jnetpcap. This requires libpcap of at least v1.0.0. My CentOS 5.8 only has libpcap 0.9.4, which is required by other installed packages. I've ...
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
290 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 ...
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 ...
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
2answers
352 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
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
275 views

Problems installing Chrome in SLED 11

I'm trying to install Google Chrome on my OS, but when I execute the .rpm, I got this error: google-chrome-stable-35.0.1916.153-1.x86_64 requires libX11.so.6 (64bit), but this requirement cannot be ...
0
votes
0answers
7k 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 ...
6
votes
4answers
4k views

How to keep the content of the BuildRoot?

The good old rpm while building package in steps simply kept the content of the BuildRoot -- it was very useful for me, because if some piece of software was difficult to create, I could check ...
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
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 ...
3
votes
1answer
4k views

Where are RPM postinstall scripts located?

I have found a bug in an RPM that I have been provided. rpm -qp --scripts foo.rpm > /tmp/badscript cat /tmp/badscript postinstall scriptlet (using /bin/sh): ... if [ 'some bug' == true ].... I ...
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 ...
5
votes
1answer
6k views

How can I downgrade a glibc version?

I upgraded glibc for a reason that isn't around anymore so I want to downgrade it. The stupid thing is a lot of programs rely on glibc at the moment. I still have the 2.4 version on the system as the ...
1
vote
0answers
93 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
262 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 ...
1
vote
1answer
59 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?
2
votes
1answer
554 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 ...
2
votes
2answers
1k 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
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
69 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
30 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
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 ...
3
votes
2answers
669 views

How to force rpm and yum to fail if a GPG signature is missing or cannot otherwise be verified?

How can I force rpm and yum to fail if a GPG signature is missing from a package or otherwise cannot be verified due to a missing key? For the example below, assume the RPM has been signed but the key ...