Questions tagged [rpm]

RPM Package Manager is a package management system used primarily for GNU/Linux operating systems. It used the .rpm file format.

RPM Package Manager is a package management system. "RPM" refers to the .rpm file format, files in this format, software packaged in such files, and the package manager itself. RPM was intended primarily for GNU/Linux distributions. The file format is the baseline package format of the Linux Standard Base.

711 questions
77
votes
6 answers

How to accurately check if package is installed in yum?

I keep getting answers like: yum list installed | grep bind or rpm -qa | grep bind But that is not accurate as I'm getting a list of few other bind packages like…
checksum
  • 945
  • 1
  • 10
  • 15
50
votes
2 answers

How do I downgrade an RPM on a machine without 'yum'?

On a machine without yum, I have version 3.2 of a package installed and I have downloaded version 2.4 manually, how do I install the older version?
Harley
  • 2,177
  • 6
  • 25
  • 29
44
votes
6 answers

tell yum to ignore a single dependency

I'm trying to install winswitch on CentOs 6. It requires nxagent. But in centos, the package name is nx. Is there a way to tell yum to skip checking the nxagent dependency (I installed nx already)? Specifying --skip-broken skips the whole thing.
IttayD
  • 1,037
  • 4
  • 11
  • 14
44
votes
3 answers

Disable the public key check for rpm installation

I want to make a DVD with some useful packages (for example php-common). The only problem is that if I try to install on a computer that's not connected to internet, I can't validate the public key. The scenario is like this: I download the RPMs,…
zozo
  • 753
  • 3
  • 11
  • 22
40
votes
5 answers

How to list RPM dependencies?

Our production server is running CentOS release 5.2 (Final). How do I see/get/list all the dependencies of an already installed RPM package? For example: SQLite v3.3.6 is already installed in the server. I want to see all the dependencies of this…
Gnanam
  • 1,439
  • 13
  • 26
  • 32
39
votes
5 answers

Can dpkg verify files from an installed package?

With rpm -qV openssh-server I will get a list of files that have changed compared to default. ~$ rpm -qV openssh-server S.?....T. c /etc/ssh/sshd_config ~$ Can dpkg on Ubuntu do the same?
Sandra
  • 9,973
  • 37
  • 104
  • 160
36
votes
6 answers

Install rpm package using Ansible

How do I install .rpm package on remote machine using Ansible? The obvious solution is to use command module, but that is a bit silly. Also I would like to avoid setting up a yum repository just for one package. Is there some more pragmatic approach…
NefariousOctopus
  • 559
  • 1
  • 5
  • 9
35
votes
5 answers

Can one require "this OR that" package in an RPM spec file?

Does anyone know how to (or whether one can) specify an alternate requirement or set of requirements in a spec file, as opposed to a single requirement? For example, say there are two packages available, conveniently named foo-bar and bar-foo. My…
Kevin Frost
  • 451
  • 1
  • 4
  • 4
31
votes
7 answers

How do I install an rpm that complains about rpmlib(FileDigests) <= 4.6.0-1?

Im trying to install an rpm file on CentOS 5 and Im not sure how to resolve this issues it brings up: $ rpm --install epel-release-6-5.noarch.rpm warning: epel-release-6-5.noarch.rpm: Header V3 RSA/SHA256 signature: NOKEY, key ID 0608b895 error:…
Jake
  • 443
  • 1
  • 4
  • 6
29
votes
2 answers

What's the difference between `yum install ` and `yum localinstall `

If I have an RPM located on a local disk - what is the diffrefence between the following yum commands? sudo yum install /tmp/rpm_name.rpm sudo yum localinstall /tmp/rpm_name.rpm Note: I use RedHat/CentOS 7.
boardrider
  • 889
  • 2
  • 15
  • 26
29
votes
4 answers

Do I need a RHEL subscription to install packages?

I'm new to RHEL. Trying to install software this morning and running into road blocks. Is it required to have a subscription to download packages via yum on RHEL? I'm coming across different sources on the net, some make it sound like yes, you need…
quickshiftin
  • 2,025
  • 5
  • 27
  • 41
27
votes
4 answers

Upgrade cURL to latest on CentOS

I need to upgrade cURL to the latest version on Centos 2.6.18-164.15.1.el5.centos.plusxen #1 SMP Wed Mar 17 20:32:20 EDT 2010 x86_64 x86_64 x86_64 GNU/Linux I'm unable to find any suitable packages to do so via yum or rpm. Is there a standard way…
Chris Henry
  • 1,512
  • 3
  • 15
  • 15
25
votes
4 answers

Solving multilib version problems

I use CentOS 6.4 When I tried to install libgcc with yum install libgcc.i686 I took following massages. Error: Multilib version problems found. This often means that the root cause is something else and multilib version checking is just …
user1345414
  • 357
  • 1
  • 4
  • 10
24
votes
3 answers

Installing Fedora RPMs in CentOS

How safe is it to install Fedora RPMs in CentOS 5? Does it depend on the version of the Fedora RPM or is it generally better to steer clear?
Lin
  • 2,869
  • 6
  • 26
  • 25
23
votes
2 answers

yum error in PREUN scriptlet when removing packages

Trying to uninstall zarafa mail server. I use yum list installed to view the already installed packages. After which I use yum erase zarafa* It picks up all the packages but returns: Error in PREUN scriptlet in rpm package zarafa-dagent Error in…
tread
  • 413
  • 2
  • 4
  • 21
1
2 3
47 48