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

learn more… | top users | synonyms

0
votes
0answers
26 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 ...
1
vote
1answer
38 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
1answer
4k 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 ...
4
votes
1answer
3k 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? ...
3
votes
1answer
68 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
223 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
35 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
2answers
1k views

RPM command stuck/FREEZE when installing RPM file

I want to install the following rpm from some reason RPM is stuck or freeze and not install the RPM package also I cant stop it by control C , please advice what could be the problem ? root]# rpm ...
2
votes
2answers
1k views

How do I find a package that provides a given file in OpenSuSE?

I am thinking on some like Contents-<arch>.gz on debian. A network service were also okay. Does it exists? Simple elaboration: For example, we need a binary named exampletool, which we know ...
0
votes
2answers
23 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?
4
votes
2answers
1k views

recommended procedure to create a user/group during RPM install

after trying hard to search for RPM best practices guides and finding virtually none, to my surprise, I resort to the community - I need to ensure that some users and groups exist after the ...
2
votes
1answer
148 views

Where can I find mailfromd RPM's for CentOS 6?

I have been trying to locate an RPM for GNU Mailfromd and it's dependencies and have been quite surprised to find it absolutely nowhere on the 'net. Only place I could find any RPM's were for ...
0
votes
1answer
477 views

Installing jre-8u51-linux-x64.rpm on SLES 11 SP3: Failed dependencies

I tried to update my Java installation on a SLES 11 SP3 system using rpm -i jre-8u51-linux-x64.rpm (for some reasons I want to run the original Java and not the IBM Java provided by SUSE) and I got ...
1
vote
1answer
49 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 ...
9
votes
2answers
26k views

why can't I install packages with rpm? I get “transaction lock”

I'm having problems with yum and I am trying to re-install it. I've download yum.3.2.0-40-el6.centos.noarch.rpm. When I try: $ rpm -ivh yum.3.2.0-40-el6.centos.noarch.rpm I get: error: can't ...
0
votes
0answers
28 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
24 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
65 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
77 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. ...
4
votes
1answer
4k 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
79 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
44 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
207 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
5k 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
134 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
52 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 ...
7
votes
1answer
139 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
495 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
9k 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
32 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
51 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
5k 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
53 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
75 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
31 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
154 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 > ...
1
vote
2answers
252 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
76 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
33 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
709 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
496 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
203 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
1answer
598 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
60 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
175 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
17 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
260 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
5k 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 ...