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

learn more… | top users | synonyms

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
486 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
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
16 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
18 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
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
921 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?
2
votes
0answers
925 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
33 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
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 ...
0
votes
0answers
68 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
72 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
1answer
791 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 ...
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 ...
0
votes
0answers
57 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
49 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
26 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
1answer
16 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
58 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 ...
3
votes
2answers
8k 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 ...
2
votes
1answer
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
3answers
71 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
33 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
4k 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
580 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
99 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
72 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
40 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
80 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
23 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
34 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
196 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 ...
0
votes
1answer
31 views

redhat satellite + falback procedure - how

I used the RHN - red-hat satellite version 5.x in order to install errata patch: ( on linux version 6.x ) glibc-2.12-1.166.el6_7.7.x86_64 while the curent patch on my linux was ...
0
votes
0answers
12 views

How do I debug packages that I've made?

I've created a number of packages using mock and rpmbuild to form my own software repository. As a part of the build, RPM will extract debug symbols and source files and install them in a debuginfo ...
0
votes
0answers
13 views

What is the role of these RPM packages( kernel-debuginfo and kernel-debuginfo-common RPMs, and the kernel-devel RPM)?

I want to know what the role of these RPM packages( kernel-debuginfo and kernel-debuginfo-common RPMs, and the kernel-devel RPM)?
0
votes
2answers
61 views

PECL - Installing PThreads offline

I am not familiar with pecl command but is it possible to convert the command below to an offline version? pecl install channel://pecl.php.net/pthreads-0.0.44 I want to install PThreads on CentOS ...
0
votes
2answers
73 views

CentOS 6, having hard time with yum, repos and installing packages

I'm having some hard time with yum and hoped to get some help. My end goal is to install the pymssql library for Python. It fails because it needs freetds install. yum install freetds fails with ...
0
votes
2answers
10 views

Emulating RHEL for apt get

I am constantly requiring the use of multiple packages for my work, but alas my work PC doesn't have an internet connection. Hence, I am always stuck on downloading the package on a separate PC which ...
1
vote
1answer
31 views

How to refer to any files or scripts packaged inside RPM from %pre %post scriptlets

I am building an RPM package that packages the various files that includes properties files, config files, scripts, JARs etc. Now when writing the %pre, %post, %preun and %postun scritptlets, I need ...
3
votes
1answer
54 views

Find files not installed by RPM package manager

Is there some way to find out all the files on a given system that weren't installed via RPM? I understand that I can brute force this myself using something like rpmquery -f in a script that loops ...
1
vote
0answers
56 views

Remove or reinstall broken package installation

I tried to install "variety" manually via a downloaded rpm from http://www.rpmfind.net/linux/RPM/sourceforge/p/po/postinstaller/fedora/releases/23/x86_64/variety-0.5.5-1.fc23.noarch.html The ...
1
vote
0answers
113 views

Build CentOS RPM for current git release, unsuccessful rebuild with alternate prefix

I am stuck in an effort to provide an maintain an up-to-date git release for a collection of CentOS Linux servers. I was hoping to be able to create binary RPMs that I could just have published to a ...
1
vote
1answer
141 views

RPM dependency conflict between libX11 and libxcb

I have to install some packages for a vnc server on a CentOS 6.5 machine that has no access to repos (so I have to transfer the rpm packages I need using sftp). As I tried to install the package ...
0
votes
2answers
19 views

analyzing rpm -Kv output

I am getting this output from rpm -Kv on one of my experimental packages: clime@coprbox ~/v4tests $ rpm -Kv signed10.rpm signed10.rpm: Header V3 RSA/SHA1 Signature, key ID f67e1676: NOKEY ...
1
vote
2answers
40 views

In which case can I use the option nodeps of rpm command?

Pretty new to Linux, I heard that I should never use --nodeps option when I do a rpm -e command. Why does this option exist tho? Thanks.
2
votes
2answers
132 views

How to use yum to get all RPMs required, for offline use?

I have one server with net connectivity, where I can use "yum install $PACKAGE". I want some yum command, like yum cache-rpms $PACKAGE $DIRECTORY such that all required RPM files will be downloaded to ...
2
votes
3answers
313 views

Why does a yum package update replaces my yum-cron config files?

Usually, when applying package updates via yum update, rpm is 'intelligent' enough to respect my changes to configuration files under /etc. (It basically looks at the mtime, compares it and depending ...