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

learn more… | top users | synonyms

1
vote
1answer
775 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 ...
128
votes
12answers
65k views

What are the pros/cons of deb vs. rpm?

For whatever reasons, I've always used RPM based distros (Fedora, Centos and currently openSUSE). I have often heard it stated that deb is better than rpm, but when asked why, have never been able to ...
2
votes
1answer
4k views

Unable to use yum repos whether with baseurl or mirrorlist in CentOS 6.5

Since a couple of days, I'm unable to retrieve repositories data with Yum, in my CentOS 6.5 server. I did yum clean all a dozen of times, it emptied all but didn't solved the problem. I tried to ...
2
votes
1answer
260 views

can not install mysql-server on centos 6.7 32bit . Error: need rpm?

when I try to install mysql-server on centos with this command: yum install mysql-server server replies: Loaded plugins: fastestmirror, security Setting up Install Process Loading mirror speeds ...
7
votes
2answers
11k views

How does createrepo work. How does yum understand parse its files. A conceptual explanation

I am not looking for a how-to on creating a repo (createrepo) or using yum. I want to understand how they work together. I want to know what files yum looks at and why, what those files contain. I ...
10
votes
5answers
17k views

List all RPM packages installed from repo “X”

How can I get a list of all of the RPM packages that have been installed on my system from a particular repo (e.g., "epel")?
2
votes
2answers
3k views

Why does yum continue to complain about a missing dependency that is already installed?

I have a self-created rpm for mapserver 6.2.1 that I want to support Oracle, but I am having a lot of difficulties getting it all to work. I have installed the ...
0
votes
1answer
1k views

PHP Startup: Unable to load dynamic library '/usr/lib64/php/modules/php_mysql.so'

I am running PHP 5.6 on Linux. When I try to load a PHP page, I'm getting the following PHP error. PHP Startup: Unable to load dynamic library /usr/lib64/php/modules/php_mysql.so' When I look ...
5
votes
2answers
7k 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 ...
0
votes
1answer
29 views

Having problems updating after esx host problem

So I have a VM that had to be hard shutdown. I can't get the error to stop. CentOS 7.x latest [user@asm-dmz01 ~]$ sudo yum-complete-transaction --cleanup-only Loaded plugins: fastestmirror Loading ...
1
vote
1answer
1k views

Can I Install packages on live linux os?

I want to install some more software on sabayon live and they should be remained in USB for later use. Can I install packages on live Linux OS?
0
votes
1answer
30 views

How to verify if an rpm was installed from scratch or upgraded?

Today, we installed the following rpm's via yum on redhat version 5 # rpm -qa --last | head -10 kernel-headers-2.6.18-408.el5 Wed May 18 13:33:59 2016 ...
0
votes
1answer
803 views

Big trouble : rpm empty db, install V3 RSA/SHA1 Signature, key BAD, YumRepo Error

I'm little tired because I have spent hours solving problems, and can't find a solution on Centos 6.6. I have many troubles: rpm db is empty: try googling, find restore process, but always empty ...
0
votes
1answer
21 views

Circular dependencies that cannot be fulfilled. PHP packages on CentOS 7 to support Drupal 8

I am trying to install Drupal 8.0.5 on Apache 2.4.6 on CentOS 7, with PHP 5.6.19. I get an error that PHP extensions are disabled. The detail I get is that it pertains to "gd." I have installed, ...
0
votes
3answers
26 views

rpm is installed / rpm is not installed issue

I've run into a bit of an issue with rpm on an Oracle Linux 6.5 box. I installed an RPM, and it appears to have installed successfully. However, now I am trying to remove it, but rpm says it's ...
0
votes
0answers
74 views

unable to update HTTPD, mod_jk dependency error

While trying to update httpd in RHEL6, getting some dependency error as below: Unsatisfied dependencies for mod_jk-ap20-1.2.31-1.x86_64: httpd = 2.2.3 is needed by mod_jk-ap20-1.2.31-1.x86_64 I am ...
0
votes
4answers
64 views

yum + how to remove unused rpm/patch on linux redhat

I am using yum to install a patch update on my RedHat Linux machine, Is it possible to use yum on different way in order to uninstall unused rpms/patches? My goal is to remove the unnecessary ...
0
votes
1answer
17 views

Binary file got corrupted after packaging

A quick overview, what I'm doing is bundling a nodejs application using enclose.js into a single binary, then using rpmbuild to turn the whole project with config files into a single package. ...
1
vote
1answer
3k views

“Requires: perl(:MODULE_COMPAT_5.8.8)”

I use CentOS 6.5 for my server with below repository: IUS epel ces-standard-* base/upgrade/extras When I tried to update today (it's been a while I haven't updated this server), I got the ...
2
votes
1answer
33 views

How can I install a local RPM using only the local dependency RPM files?

In my CentOS machine (VirtualBox VM, altough I assume this shouldn't matter), I have a directory including an RPM file and all of its dependency RPM files. I want to install the RPM along with all of ...
2
votes
2answers
1k views

rpm temp file question (rpm-tmp)

When installing an RPM on CentOS, I receive the following error message: /var/tmp/rpm-tmp.44492: line 578: [: too many arguments The trouble I'm having is that /var/tmp/rpm-tmp.xxxxx file is always ...
0
votes
1answer
28 views

compiling rpm 4.11 for RHEL5

I am trying to compile rpm 4.11.2 on RHEL 5 machine. When I do ./configure it gives error . . checking for nspr.h... yes checking nss.h usability... yes checking nss.h ...
1
vote
1answer
1k 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: ...
3
votes
2answers
9k views

How To Locate Dependencies Needed by RPM Packages

I am trying to deal with keeping our RHEL 5 server patched up, but also dealing with our security constraints. This particular server is not allowed to talk to the Internet. So yum isn't really an ...
5
votes
1answer
5k views

How can I build a rpm for i386 target on a x86-64 machine?

I am building an rpm using rpmbuild command as: rpmbuild -bb --root <DIRECTORY> --target i386 --define "_topdir <DIRECTORY>" <specfile>.spec When I use my SLED 10 SP3 x86 machine, ...
0
votes
1answer
498 views

Error when tryhing to rebuild an RPM

I just use Linux for a LAMP server. I'm currently installing Apache 2.4 on CentOS 6.4 (x64). How do I resolve this error below? rpmbuild: arguments to --root (-r) must begin with a / ...
3
votes
1answer
3k views

force zypper to install a specific version

i have my own personal repo with older versions of rpms in it. If i want to install boost-license version 1.36.0.11.17 i do the following zypper install boost-license=1.36.0-11.17 this seems to be ...
2
votes
1answer
27 views

How do I specify a requirement for a minimum version of openssl in RPM spec file?

The rpm spec file for my package looks like this - Requires:mysql-server >= 5.5.30, java >= 1.6, p7zip, openssl >= 1.0.2g I have an RHEL system where the openssl version is this: ...
3
votes
1answer
35 views

Do I need to do something about “Delta RPMs disabled”?

While updating packages on our CentOS server I got the following message: Downloading packages: Delta RPMs disabled because /usr/bin/applydeltarpm not installed. Do I need to do something about ...
2
votes
0answers
949 views

How to edit rpm's HEADER and NAME-VERSION-RELEASE

Is there's a way or a tool that can modify the HEADER and the NAME-VERSION-RELEASE for an existing rpm without installing/rebuilding it?
0
votes
1answer
46 views

I have installed rpm where does it installation log save in centos/redhat 6

I have installed rpm where does it installation log save in centos 6. I mean which file stores the logs for installation and removal of rpm and when we rum command rpm -qa --last from which file it ...
0
votes
0answers
85 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 ...
1
vote
0answers
129 views

yum update glibc - ERROR with rpm_check_debug vs depsolve:

I want to update my system with yum update but I get only errors starting with these two lines: Running rpm_check_debug ERROR with rpm_check_debug vs depsolve: Then, I tried only to update the ...
0
votes
0answers
97 views

Install GUI :Red Hat Enterprise Linux Server release 7.0 (Maipo)

I am trying to install GUI of Red Hat Enterprise Linux Server release 7.0 (Maipo) as i follow this web page install-gnome-gui-on-rhel-7-linux-server to install GUI but when i run first command ...
1
vote
0answers
55 views

identify all broken / conflicting rpm's and fix them *correctly* Fedora 23, persistent usb

Earlier today I installed Fedora 23 on a USB. After the installation was complete, I was doing the standard dnf upgrade, shell configurations, and ultimately preparations for installing the NVIDIA ...
0
votes
1answer
30 views

How to backup rpm dependencies downloaded by yum while installing?

I need to install git on a machine which doesn't have internet connection. I am wondering if there is any option to ask yum to keep a backup of rpm and dependencies it downloads. OS: CENTOS
0
votes
3answers
65 views

redhat + how to download rpm from red-hat site

I need to down load the following rpm from red-hat formal site kernel-debuginfo-3.10.0-327.10.1.el7.x86_64 is it possible to use the following rpm command for download ? rpm --import ...
0
votes
3answers
84 views

Using rpm/grep to check whether multiple services are installed - as one liner?

The following code is used to check whether a service (read from variable, can be empty or up to X services named) is installed or not and take appropriate action. ... if ! rpm -qa | grep -qw ...
0
votes
1answer
35 views

is it possible to list documentation via yum like RPM does

rpm has the function rpm -qd somepackage which will list all documentation files associated with the given package. does yum have such a feature? I am unable to find one.
2
votes
3answers
5k views

How to fix GPG key retrieval failed: [Errno 14]?

I'm using Centos 6.5 and when I want to install packages from yum I get this error: GPG key retrieval failed: [Errno 14] Could not open/read file:///etc/pki/rpm-gpg/RPM-GPG-KEY-puias How can I fix ...
0
votes
1answer
606 views

How to define the user and group for directories inside and RPM using FPM?

RPMs have been built using FPM. When the --rpm-user and --rpm-group parameters are used the %defattr(-,user,group,-) attribute is part of the %files, but not part of the %directory section. How to ...
3
votes
2answers
8k views

How does rpm resolve library dependencies?

I try to make a package of a program which is linked to such library (output from ldd): libwx_baseu-2.8.so.0 => /usr/lib64/wx-2.8-wxcontainer/libwx_baseu-2.8.so.0 Pretty straightforward, ...
3
votes
2answers
132 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 ...
3
votes
3answers
82 views

How to install packages for old version of Fedora?

I'm using a Fedora 13 VM, and I need to install some old rpms, but only have the source rpm files. I know that I can use rpmbuild --rebuild to build the binaries, but I for whatever reason, rpm-build ...
1
vote
1answer
51 views

Saving RPMs installed by dnf

I've got a question about yum. When I upgrade my system using dnf, it downloads packages from the Web. Can I set dnf configuration so that I could save rpm files for later use, with the same system ...
0
votes
2answers
93 views

yum/rpm inconsistencies

I'm using RHEL 5 (64-bit) and have come across an inconsistency with rpm/yum. When I attempt to install a 32-bit RPM, I'm told the RPM is already installed when only the 64-bit version exists on the ...
0
votes
1answer
35 views

Install Java 1.4.2 on recent Amazon Linux [duplicate]

I need Java 1.4.2 on a up-to-date Amazon Linux 2015.09 server. I've tried to install j2sdk-1_4_2_19-linux-ia64-rpm.bin. When I execute this file, I get an error message: line 442: ...
2
votes
3answers
35 views

Updating kernel but not packages

I need to update the kernel from version 2.6.30 to 2.6.37. I'm going to just compile the kernel and kernel modules for this architecture and boot it. But also there are a lot of packages installed, ...
0
votes
1answer
1k views

How do you create RPM from .spec file?

I'm attempting to create an RPM from a spec file that was provided here: http://sauron.jyu.fi/docs/manual/x191.html Having not used rpm much, I assume that I execute the command rpmbuild and point ...
0
votes
0answers
225 views

rpm file to deb Ubuntu 10.04.4 LTS

I would like to install .rpm file using alien sudo alien --scripts /root/Disk1/oracle-xe-11.2.0-1.0.x86_64.rpm error: incorrect format: unknown tag mkdir: cannot create directory ...