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

learn more… | top users | synonyms

0
votes
1answer
515 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 / [root@...
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
31 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: [ag@...
3
votes
1answer
108 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
978 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
76 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
107 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 GNU/...
1
vote
0answers
214 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
141 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
77 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
33 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
81 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 http://......
0
votes
3answers
99 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
36 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
6k 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
646 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, right?...
3
votes
2answers
198 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
103 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
74 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
103 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
54 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: ./install.sfx.12314:...
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
267 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 `oracle-xe-11.2.0':...
0
votes
1answer
40 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 glibc-devel-2.12-...
0
votes
0answers
17 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
14 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
135 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 6....
0
votes
2answers
130 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
50 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
77 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
117 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
150 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 ...
2
votes
1answer
253 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
25 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
55 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
260 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 ...
3
votes
3answers
414 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 ...
3
votes
3answers
2k views

read only TMOUT variable – workaround to disable automatically exit shell when there is no activity

We have here a read only Bash variable. I am not allowed to unset that variable. $ echo $TMOUT 1800 As a workaround I wrote those lines (that my session don't exit) #!/usr/bin/perl $|++; while (1)...
0
votes
0answers
52 views

Does RPM automatically retry failed download attempts?

My particular situation isn't on a Linux box, rather an IBM i. But I'm running RPM within a BASH shell and attempted to download and install nano using RPM - it failed. I didn't think anything of it,...
0
votes
1answer
104 views

source RPM doesn't seem to install on CentOS with no errors

My experience with CentOS and RPM's is limited so I might be missing something obvious, but I can't seem to figure this out... I'm trying to install Sphinx into CentOS 6 in a Docker image using the ...
1
vote
2answers
605 views

Installing (html) tidy conflicts with filesystem package

I'm on CentOS 7 trying to install tidy. Since there is no package provided by the usual suspects, I've downloaded the tidy-5.1.25-64bit.rpm RPM from http://binaries.html-tidy.org/. When I install this ...
6
votes
2answers
212 views

Why are .so packages provided by the devel packages?

I've seen an interesting pattern in RPM packaging. The main library package will include the shared library itself: /usr/lib64/libavcodec.so.54 The -devel package will provide headers and a symlink:...
1
vote
1answer
61 views

Bash - Running a bash script from within a ksh script

I am on RHEL 6.7 and have a korn shell script that does check pre-reqs, prepares the system for rpm install's (creating directories if they are not already that are required by the product), stops ...
0
votes
1answer
660 views

unpack and patch source rpm (rpmbuild -bp) safely

I want to unpack source RPM and apply patches to the upstream source. What is almost OK for me is rpm -i mypkg-*.src.rpm cd ~/rpmbuild rpmbuild -bp SPECS/mypkg.spec # frolic in BUILD/mypkg My ...
0
votes
1answer
275 views

yum/rpm: exclude a file (by path) from being installed

Is there any way to make yum/rpm never install a particular file path, but to otherwise install any packages which contain that file path, and for verification to act as if that file exists? For ...
3
votes
1answer
70 views

Automated RPM builds

I'm making my own personal RPM repository. So far, I've built the following packages: x264 libx264 libx264-devel x265 libx265 libx265-devel lame libmp3lame libmp3lame-devel libmfx libmfx-...
1
vote
1answer
37 views

Subpackage with an empty requires section?

I have an RPM build which looks like this: Summary: LAME Ain't an MP3 Encoder. Name: lame Version: 3.99.5 Release: 1 License: LGPL Vendor: The LAME Project Packager: Naftuli Tzvi Kay <---> URL: ...