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

learn more… | top users | synonyms

0
votes
0answers
29 views

RPM copy multiple files

I am trying to build an RPM which will copy some directories which files in them, however, I am getting an error message saying that the directory doesn't exist. My code is as follows: Version: 1 ...
0
votes
1answer
22 views

How to make executable find libraries after relocation?

I am attempting to build a RPM for GNU libiconv I have no problem compiling the source, but when I install to a temporary location the full temporary path of the shared library gets hard-coded into ...
0
votes
0answers
20 views

How do I safely remove a path string from a compiled library without corrupting the library?

My RPM build process is complaining about the buildroot path string appearing inside several .so files. I've tried using both sed and perl to do a regex replacement of that string with '', but while ...
3
votes
2answers
648 views

CentOS 6.6 (Final) - yum kernel upgrade troubles

Well-being everybody, I'm a SysAdmin Junior managing 3 CentOS Virtual (Web)Servers, this morning I'm facing some troubles with package manager yum. As usual operation, this morning I've run the ...
0
votes
0answers
16 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 ...
1
vote
1answer
34 views

RPM built on same Guest OS, segfaults on another host (Asterisk)

I have built an RPM for Asterisk 13 for Centos 7 using a build VM running on OSX (MacBook, using Parallels). This is with the intention of using this RPM on both our QA and production systems. ...
1
vote
0answers
16 views

We have multiple repos having same package. IF we do yum install package, install from stable repo and yum install package-version install other repo

We've got multiple custom-added yum repositories (on CentOS 6), We have a package that is available on multiple repositories. It's named the exact same thing on two different repositories, call them ...
1
vote
1answer
20 views

When does rpm -V not verify md5sums?

I've got an older system (Fedora Core 6, it's an isolated system used to do builds for older devices). I'm trying to build a matching VM, and I've noticed a difference I can't explain. Both systems ...
0
votes
1answer
53 views

RHEL6 installed wrong version of rpmforge

I installed the wrong version of rpmforge for el7. Then I ran an update which installed this package on my system python-crypto-2.6.1-1.el7.rf.x86_64 Notice the el7 but I am on rhel6. I then ...
0
votes
0answers
13 views

rpm complaining about dependencies that are present

I'm trying to install an rpm provided by IBM: deadf1sh@server:~/ibm/i386> sudo rpm -i ibm-iaccess-1.1.0.2-1.0.i386.rpm error: Failed dependencies: libodbcinst.so.2 is needed by ...
0
votes
1answer
28 views

Logs during rpm installation

I'm able to obtain logs in /var/log/message while installing a package using yum, but I'm not able to find logs when a package is installed using rpm. Is there any option to log rpm ...
3
votes
1answer
72 views

rpm2cpio skips files from RPM

These steps are from a box running CentOS 6.5. I merely tried converting a RPM package to a CPIO archive and was surprised to find files listed in the RPM but absent from the archive. Here are the ...
0
votes
0answers
33 views

install boost 1.51 package on centos 7

I'm trying to compile a program which requires boost 1.51, but the only available boost package via yum on my system is boost 1.53. I would prefer to install boost using the system's package manager, ...
0
votes
1answer
20 views

how to “reset” the whole /etc/apache2/ to factory defaults in SLES 11?

i got a SLES 11 sp3 Server where the whole /etc/apache2 seems to be messed up. If like to reset the whole thing to what i call "SuSE's factory defaults" so i can start over. Any quick tip ?
0
votes
1answer
30 views

RedHat 6.2 - Find the right place to download packages (RPM)

During a server install a custom script required the specific packages missing in my server: • sssd.x86_64 • sssd-client.x86_64 • cyrus-sasl-gssapi.x86_64 • c-ares.x86_64 • libtdb.x86_64 • ...
0
votes
0answers
74 views

libgcc multilib version - unable to install any package with yum

System: Red Hat 6.5 I have a problem with libgcc, which is apparently installed in 2 different versions on my machine. Anyway, when I try to install literally anything, I am unable to do so, because ...
3
votes
1answer
65 views

Automatically remove a %preun broken RPM?

We have an error in the %preun script of an RPM we distributed in the past. This has been corrected, but, now, upgrading to the newer version is failing because the previous version is not ...
0
votes
0answers
88 views

Yum dependency issue with newer release version

I'm having an issue installing some software with yum, it shows a dependency issue even though all the packages are installed. I'm trying to install the redhead-lsb package. I get the following ...
1
vote
0answers
85 views

CentOS 5.11: yum installs, but packages remain missing

I'm trying to figure out a very strange problem with yum on a fairly old CentOS 5.11 VPS using DirectAdmin. Executing the following command suggests the telnet package is installed: # yum install ...
2
votes
1answer
74 views

What are the consequences of installing some el6 packages on Centos 7?

I'm responsible for administration of a Centos 7 box at my contract job. I'm really more of a developer and not much of a Linux admin, so please bear with me and maybe try to explain this to me like ...
1
vote
1answer
339 views

yum repo responding with [Errno 14] HTTP Error 403 - Forbidden

I am trying to set up a YUM repository containing some RPM packages from our nightly Jenkins build. The YUM repo resides on the Jenkins server in a repository folder [path to ...
0
votes
0answers
36 views

Is the lmdb-devel package necessary for installing the cfengine on RHEL v.7 via an RPM .spec file?

I have a problem when I try to build from my spec file. I run this: rpmbuild -ba newpackage.spec I see a great deal of output. It ends with these lines: configure: error: Cannot find ...
1
vote
1answer
38 views

How do I get a basic spec file to work with rpmbuild?

I installed rpmlint and rpmdevtools. I used rpmdevtools to create a template of a .spec file. I modified the spec file so it will install cfengine. I ran rpmlint on the spec file, and I saw no ...
1
vote
0answers
90 views

RHEL yum broken

I have RHEL which is deployed from Amazon AMI, and yum is somehow broken. I must use that AMI because of corporate software installed on it. There is no way to rollback to previous state. This is the ...
1
vote
1answer
41 views

install libxml2 without internet connection so that nokigiri can be installed

I am trying to install libxml2 on a redhat box which cannot connect to the internet. So i downloaded and scped the following rpms: libxml2-2.7.6-1.x86_64.rpm libxml2-devel-2.7.6-1.x86_64.rpm ...
0
votes
0answers
52 views

Building a stack of SRPMs in build-dependency order

If I have a stack of SRPMs that I'd like to build, leading to a final product binary RPM. Many of the SRPMs require the built RPMs of other SRPMs to build. These requirements are expressed in the ...
1
vote
0answers
136 views

rpmbuild spec file: how to have files only used during install

How do I specify in a .spec files that are only used during install of the rpm (such as .sql scripts that I feed into the database), but I specifically don't want to persist post-install? I can't omit ...
0
votes
0answers
45 views

RPM Dist Tag not behaving as documented

According to the Fedora documentation the %{?dist} tag when building an RPM on CentOS 7 I should get .el7. but currently I get .el7.centos. The line from my .spec: Release: 1%{?_buildid}%{?dist} I ...
1
vote
0answers
64 views

Library Dependency is different when checked via yum vs. rpm

I'm new here and am debugging something I've never seen before, so I'm hoping someone can show me where I'm going wrong. I've created a local yum repo for all my servers. The idea is to distribute ...
1
vote
0answers
11 views

libexecdir in systemd .service file?

I'm deploying something to machines (internally, not for public consumption) using RPMs. Now, in RPM .spec files there's the %_libexecdir variable. The package deploys a service binary in that ...
2
votes
1answer
49 views

rpm - how to execute a php file in %post rpm

I'm creating an rpm installer for a php web application. One of the requirement is to run a php script, an entry script that will update the source, database and execute fix scripts. To accomplish ...
0
votes
0answers
47 views

rpm spec file is not executed on rpm install

I am creating an rpm installer for my web applications. On the spec file, i got this on %prep and %install %prep #will create and cd to the named directory before doing the untar. %setup -c -n ...
0
votes
0answers
62 views

Solved but Confused: Fedora 19 to 20 - “Protected multilib versions: chkconfig”

Initial Problem When upgrading from Fedora 19 to 20 using this command: yum --releasever=20 --setopt=deltarpm=0 distro-sync I get the following error Error: Multilib version problems found. This ...
0
votes
0answers
67 views

yum list available - not showing all packages

I have a strange problem with yum, working on one server and not working on another server that should be identical. The symptom is that after running createrepo on a directory containing RPMs (and ...
1
vote
0answers
152 views

When debuginfo rpm is generated?

I have a series of RPM spec files and no debuginfo directive set in them. When I run rpmbuild, some packages generate a debuginfo rpm, some do not. What is the criteria used by rpm to decide if a ...
1
vote
0answers
85 views

Cannot install mysql server - Error in PREIN scriptlet in rpm package mysql55-mysql-server-5.5.32-3.el5.x86_64

I am trying to install mysql server 5.5 (or any 5.x versions) on Redhat 5.5 and am having some trouble. I can install the other mysql components but when I try to install mysql-server (or ...
0
votes
0answers
63 views

Can FPM make one RPM package that acts differently if systemd is being used?

I build an RPM using fpm for EL6 hosts. It installs a /etc/init.d script. However if that package is installed on an EL7 host, I want it to install a file in /usr/lib/systemd/system instead. Is ...
0
votes
0answers
173 views

RPM build errors File listed twice

I'm trying to build an rpm of the latest stable php (5.6.7) under CentOS 7. And when I try to build it, I'm getting the following errors: [bluethundr@repo SPECS]$ rpmbuild -ba php.spec Processing ...
0
votes
1answer
218 views

RPM or YUM equivalent of apt-get install libgraphicsmagick1-dev

I was using Ubuntu for development and one of the dependencies needs apt-get libgraphicsmagick1-dev now I need to deploy to a AWS EC2 which runs AMI and only support YUM or RPM, what the the ...
0
votes
1answer
21 views

Yum installs dependency after main package

I have 3 packages A, B and C. C depends on B, B depends on A. I've created a repo of these 3 packages. When I run yum install C, it installs B first, then A, and then C. How do I make sure it installs ...
2
votes
1answer
175 views

replace or remove GPG signature on RPM

Is there a way to remove or replace an existing GPG signature on an RPM? I am placing a few obscure RPMs on an internal repo we use for supplementary rhel/centos packages. A few of those RPMs are ...
1
vote
1answer
57 views

fedora packages for enterprise linux

There are a number of packages available on fedora that I would like to install on RHEL v6.x. These packages do not appear to be available from RHEL (release, release-optional, or supplementary ...
2
votes
1answer
112 views

.rpmnew file not created on package upgrade?

I'm currently testing installing a RPM with a config file using the config(noreplace) directive. As per using config(noreplace) my spec file marks a single file as a config file: %config(noreplace) ...
0
votes
1answer
120 views

Spec file with fpm tool for creating rpms

How to create a Spec File with fpm tool for rpm packages? (or) all files installed through rpm are root-owned and is there a way that i can set the ownership to some other user? i can use %files (or) ...
0
votes
2answers
255 views

Automate NetBackup agent installation via RPM

We have an automated process of deploying new RHEL VMs. However, there's still an annoying manual step to install a NetBackup agent on the machine. This requires coyping a large archive (~ 1 GB) to ...
2
votes
2answers
337 views

Can't uninstall RPM package

I was trying to install and uninstall postgres 9.3. After performing a variety of steps, I found that I have deleted something manually and now I am not been able to proceed further. What I am trying ...
1
vote
3answers
91 views

Yum the same version as in a repository (automatic upgrades/downgrades)

In our infrastrcture, we have servers installed and managed by puppet. All our software is then installed from rpm. On each server is a small script that performs yum update if there is some change in ...
0
votes
1answer
154 views

signing yum repository doesn't help passing the gpg check upon 'yum install'

I've created yum repository, to which I've uploaded an unsigned rpm file. I've indexed and signed the repo itself, by creating a repodata directory with the following files: filelists.xml.gz, ...
0
votes
5answers
1k views

Error: Nothing to do trying to install local RPM

I'm trying to install this RPM locally via yum and am greeted with just a "Error: Nothing to do" message. Full stdout Loaded plugins: fastestmirror, priorities Setting up Install Process Examining ...
-2
votes
1answer
2k views

YUM Update Error

I am receiving the following errors when running yum update. I began receiving these errors after I had installed the incorrect EPEL package (epel-release-6-8.noarch). I have since removed and ...