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
23 views

yum : Could not contact CDS load balancer in AWS

I have an old EC2 instance with RedHat 6.5 installed. When I want to yum check-update, it show following error: $ yum check-update Loaded plugins: amazon-id, rhui-lb, security Could not contact CDS ...
0
votes
1answer
14 views

Version of rpm before update?

Some days ago a rpm package was updated. In my case openssh. Today I wanted to now: "What was the version before the update?" Up to now I found not way to answer this question. Does RPM, in my case ...
6
votes
1answer
207 views

What does the “1:” before the package name mean in yum.log

I would be very glad if someone could explain what the 1: before the package name signifies.
0
votes
0answers
18 views

Script from RPM %post does not interact with user

I'm building an RPM which needs to run a bash script as root. Below, in the spec's %post stanza the script %{installscript} does not interact with the user (as it does when run from the shell), but ...
0
votes
1answer
38 views

what's the diff between rpm -U and rpm -F

Bit confused. what's the diff between rpm -U and rpm -F man pages say -U upgrade package -F, --freshen=+ upgrade package(s) if already installed
1
vote
0answers
30 views

Installing libreoffice on SuSE Linux Enterprise Server 12

I have a server with a newly installed SuSE Linux Enterprise Server 12. It appears that the libreoffice related RPM's are missing, and instead are part of SuSE Linux Enterprise Desktop. What's the ...
1
vote
1answer
37 views

Yum update complains about dependency (architecture mismatch)

I created a meta RPM package (say metapkg) that pulls all the dependencies I need on my system (CentOS 7). This package specifies the exact versions of its dependencies (without the architecture ...
0
votes
1answer
1k views

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 ...
-2
votes
1answer
148 views

How to add a repo to YUM on Ubuntu?

I am working a Ruby project and I have to install this gem xmlparser. It asks me a lot of dependencies that must be resolved before installing the gem. One of them is the expat and some guys on the ...
0
votes
0answers
97 views

yum install fails with key error

This install fails: yum install osad ... warning: /var/cache/yum/x86_64/7/spacewalk-client/packages/osad- 5.11.57-1.el7.noarch.rpm: Header V4 RSA/SHA1 Signature, key ID 066e5810: NOKEY Public key ...
1
vote
1answer
71 views

yum “Transaction Check Error” pointing to files that do not exist

I am trying to install a boost148 package. This is a separate package from the boost, which I have installed and is version 1.41. yum install boost Loaded plugins: refresh-packagekit, security ...
0
votes
0answers
27 views

Yum dependency resolution choosing older version than requested

I have an RPM I am installing. Here's what deplist gives: $ yum deplist path/to/my/rpm .... dependency: jre*headless >= 1:1.8.0 provider: java-1.8.0-openjdk-headless.i686 1:1.8.0.45-40.b14.fc20 ...
0
votes
0answers
19 views

pulp unexpected error when uploading own rpm

I have been using pulp 2.6 on CentOS and was able to clone and serve the amzn repo. Now I created an internal repo and I tried to upload my own rpms in it but it fails with an unexpected error. When I ...
1
vote
1answer
91 views

yum - install package forcing replacing files

I want to install one package with yum and not using rpm but with the same behavior like --replacefiles in rpm. I have one package that have file conflicts with other and I need to install forcing ...
0
votes
0answers
18 views

yum - Fail installing one depencency of metapackage

I have created one metapackage with 3 dependencies inside. I'm wondering if one of this dependencies fails (for example due to bad inet connection), what is the state of installation? 2 dependencies ...
1
vote
2answers
38 views

rpm spec file build requires packageX or packageY [closed]

Is there a way in the rpm spec file to specify as build requirement packageX or packageY. Current nodejs 4.1 requires g++>=4.8 or clang++>=3.4 to be able to build the package. This is only a ...
1
vote
1answer
59 views

rpm spec file buildrequires with more than one criteria

Is it possible to specify in a rpm spec file that to be able to build you need a version of a package greater than and at the same time lower than something? For example I would like to specify ...
0
votes
0answers
15 views

Checking which files have changed since installed [duplicate]

Is there a way to find out which files have been changed/added from an RPM? Specifically, I have an application which has a giant tree of configuration files which I need to replicate/document on a ...
0
votes
1answer
30 views

What to do if /usr/lib/python*/site-packages is accidentally deleted?

I have accidentally deleted my site-packages folder for python2.7.5 under /usr/lib/ . I have seen that if this problem happens i need to install python again. So, i took an rpm and tried rpm -i ...
1
vote
3answers
370 views

Linux's /etc/init.d - symlink, hard link, or actual file?

I have a Debian and an RPM package that requires a start/stop script to be added to the /etc/init.d directory. Recently, I was informed by a remote developer that "those in the know" know that "best ...
0
votes
0answers
95 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
76 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
36 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 ...
5
votes
2answers
3k 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
38 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
57 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
82 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
28 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
242 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
24 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
240 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 ...
4
votes
2answers
112 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
198 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
42 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
98 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
253 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
193 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
329 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
206 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 ...
4
votes
1answer
322 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
2k 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
78 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
66 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
124 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
81 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
55 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
235 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
1answer
157 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
104 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
24 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 ...