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

learn more… | top users | synonyms

0
votes
2answers
33 views

Why I can't update the source rpm?

I have following 2 packages installed on a Redhat Enterprise 7.0 instance bind-license-9.9.4-14.el7_0.1.noarch bind-libs-lite-9.9.4-14.el7_0.1.x86_64 The "repoquery -i" command tells me that the ...
3
votes
1answer
503 views

Make RPM Satisfy Dependency Requirements of Other Installed Packages

So, I am installing a java app that I wrote which uses jnetpcap. This requires libpcap of at least v1.0.0. My CentOS 5.8 only has libpcap 0.9.4, which is required by other installed packages. I've ...
0
votes
0answers
16 views

RPM SPEC file issue causing file deletion [on hold]

Some weeks ago I accidentally add this line to the %pre section of a custom spec file: %pre /bin/rm -rf /opt/apache-tomcat/webapps/${name} When installed the rpm created from this spec file with ...
1
vote
1answer
22 views

Package file without .rpm or .tar.gz… What to do?

I'm busy installing ELK package on a few RHEL6 servers, but we have two mail servers which are still RHEL5 i386 servers. So I go to https://www.elastic.co/downloads/logstash and downloaded the Linux ...
2
votes
1answer
2k 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 ...
5
votes
1answer
2k views

How can I downgrade a glibc version?

I upgraded glibc for a reason that isn't around anymore so I want to downgrade it. The stupid thing is a lot of programs rely on glibc at the moment. I still have the 2.4 version on the system as the ...
1
vote
1answer
107 views

Bash script problem in RPM postinstall

I created an rpm package that extract a Node.js project into a specific folder and then I created a postinstall script that cd into that folder and perform an "npm install --production" #!/bin/bash ...
0
votes
1answer
11 views

Changing manifest values in RPM built with FPM

I'm using the delightfully–named Effing Package Manager (FPM) to build RPMs and DEBs for a project. After publishing the generated RPM with createrepo, I noted the following lines in the generated ...
-1
votes
0answers
15 views

creating an RPM with parameter from source code

How do I build an RPM from the following source code: http://wiki.nginx.org/Fcgiwrap#Manual_Install Is it like in this link: http://kwave.sourceforge.net/doc/en/building_rpm_from_git.html Do I need to ...
0
votes
2answers
202 views

Is it ok to install CentOS rpm in fedora?

I want to try gitlab community edition in my fedora laptop. From the downloads page, it has binary packages for Ubuntu and CentOS 6 and CentOS 7. Which one should I be installing in fedora(release 21) ...
0
votes
1answer
39 views

RPM install add yum repository

Is it possible to add a yum repository as part of the Requires field on an RPM spec file? For instance: Requires: my_custom.repo, software.xyz (only available in my_custom.repo) If not what is the ...
0
votes
1answer
30 views

Dependencies problems installing VNC Server in Red Hat Enterprise Linux Server release 6.5

I'm triying to install VNC Server in a Red Hat Enterprise Linux Server release 6.5. I have the .rpm of VNC Server, but it has a depedency with xterm, which I have the .rpm too. Trying to install xterm ...
4
votes
3answers
3k views

What RPMs do I need for timeconfig?

I've got setuptools set up and have read through the list of what's in /etc/setuptools.d I'm interested in installing timeconfig as well, but I only need the TUI version (no GUI). Which RPMs do I ...
0
votes
0answers
41 views

How to install rpm

I have CentOS-6 and rpm and yum installed on it. The problem is that I had make utility on my system, but somehow it got uninstalled. Now, i want to install make with 'yum install', then I get ...
10
votes
5answers
644 views

Why using rpm if there's yum?

As we know yum is a package management system which was built on top of rpm. It's also a command line utility which is a(rudely speaking) broader version of rpm, it resolves many problems(the main is ...
2
votes
2answers
67 views

Clone Python from one linux machine to another

I want to run some of my python scripts on my new Linux (Centos 6.5) machine that I developed on another Linux machine (also Centos 6.5). But my problem is that my new machine is not having internet ...
2
votes
2answers
2k 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 ...
1
vote
2answers
62 views

Extracting Source RPMs in debian

I have a source RPM from which I would like to extract the source as closely as possible to "apt-get source PACKAGE". What are the available methods to do this?
0
votes
0answers
35 views

Repackage RPM with kernel

I am tinkering with CentOS 5.4 and upgrading the kernel to the latest 2.6.18 build 402. What I need to do is to rebuild the initrd to include a modified init script, then repackage it all into an RPM ...
4
votes
2answers
2k views

Meaning of the yum error “Package tuple (…) could not be found in rpmdb”

I just want to install two packages in my Fedora 15 but I am getting some weird error. Command: yum install @development-tools Error: Loaded plugins: langpacks, presto, refresh-packagekit ...
1
vote
1answer
23 views

Why doesn't yum-builddep install all dependencies?

What worked for other packages, doesn't work for kernel. Why? First, sync: [git@dioptase SRPMS]$ ssh root@localhost yum-builddep /home/git/rpmbuild/SRPMS/kernel-2.6.32-431.el6.src.rpm Getting ...
1
vote
2answers
1k 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 ...
1
vote
1answer
2k 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 ...
8
votes
3answers
3k views

How do I tell which GPG key an RPM package was signed with?

The cryptographic signature of an RPM can be verified with the rpm -K command. This returns a string containing gpg (or pgp) and ending in OK if the signature is in RPM's database and is valid. If ...
2
votes
3answers
46 views

get the apache document root using shell script

I am creating an RPM and in the pre stage, I want to determine apache's document root so I can copy the web application files there. First, I check if apache is installed. If apache is installed, ...
1
vote
0answers
25 views

get the apache document root using shell script [duplicate]

I am creating an RPM and in the pre stage, I want to determine apache's document root so I can copy the web application files there. First, I check if apache is installed. If apache is installed, the ...
0
votes
2answers
34 views

Install rpm file from a server

I understand how to install an rpm from a given url. Example: RUN yum -y install http://rpms.famillecollet.com/enterprise/remi-release-6.rpm So that is the easy part. My question is, how do I do the ...
0
votes
1answer
48 views

Conflicting answers regarding package from rpm, yum and repoquery

I have a few packages on a RHEL 6.5 system which exhibit the following puzzling behavior: The package is installed; rpm -q reports the package as installed; yum search shows that the package is ...
1
vote
0answers
47 views

32-bit package from a repo that should only contain the 64 bit packages

Trying to a do install of some packages and it seems that it is trying to pull a 32-bit package from a 64-bit repo. Installing for dependencies: cyrus-sasl-lib i686 ...
0
votes
1answer
48 views

How to fetch source iproute(2.6.32.130) not patches

I want to look at the source of below package. [root@ovs-1 ~]# rpm -qa | grep iproute iproute-2.6.32-130.el6ost.netns.3.x86_64 I tried to install the src rpm as below, it showing below error. ...
1
vote
1answer
29 views

createrepo fails with headerRead failed message

I execute createrepo -v --update epel-dir/ and at package number 14173, the process fails with a Python stack trace complaining that: headerRead failed: Header sanity check: OK So, I thought ...
4
votes
3answers
138 views

How to merge config files interactively after “yum update”

After system packages are updated with "yum update", config files which could not be overwritten are not replaced, but we can find *.rpmnew files near by. By design system administrator must merge ...
2
votes
1answer
45 views

What are gpg-pubkey* packages?

I compared the packages list reported by RPM and YUM on a CentOS 6 and 7. I noticed the lists were slightly different (same issue with RHEL). See Listing installed packages with yum and rpm mismatch ...
4
votes
4answers
6k 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")?
1
vote
1answer
29 views

how to find which repo does one rpm package belong to

How to know which repo does one rpm package belong to? I searched the yum manual, and I didn't find the option. And it is useless to use yum list installed.
0
votes
1answer
1k views

How to install RPM based Packages on OpenFiler

We bought One SuperMicro Server that will be used for Storage purposes and then we install the openfiler on it. The thing is that we need to install RAID controller and Im not familiar with OpenFiler ...
4
votes
0answers
149 views

Centos 7 boot up with custom kernel problem

I have installed centos 7 on virtualbox machine which has kernel-3.10.0-123.20.1.el7.x86_64. I am trying to build Linux kernel from kernel sources. I downloaded the kernel source files from: ...
5
votes
4answers
9k views

getting error “Can't create transaction lock” with rpm

I am slowly making progress on installing Fedora into a Logical Volume for a DomU using Package Management. I have (with the help of the wonderful people at Unix & Linux) resolved a number of ...
-1
votes
2answers
23 views

Where to find the RPM file of GIMP for installation?

I wanted to install GIMP just like installing it on Windows using the exe or msi file. Where can I find the RPM file so I can just issue the command rpm -ivh gimp-2.8.14-x86_64.rpm I like to ...
1
vote
0answers
58 views

writing systemd unit file and specfile for a python twistd application [closed]

I have given a task to write the systemd unit file for a python twistd application and create rpm of it. The application is open source and you can find it here: ...
0
votes
1answer
21 views

rpm -V inner workings

I have an rpm file that is used to install a package I made the package consists of java classes and shell scripts to run these java classes, in a .run file. So the rpm essentially only contains a ...
0
votes
1answer
56 views

Where does zypper source-install put the sources?

When using a command like zypper source-install kwrite where does zypper install the sources to?
1
vote
1answer
2k views

Error: requested datatype primary not available

By the error I can't install any packages. And also I can't update to the latest version. I don't know what to do now. Any help much appreciated. Error: requested datatype primary not available ...
113
votes
12answers
45k 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 ...
1
vote
1answer
57 views

force zypper to install a specific ersion

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 boost-license=1.36.0-11.17 this seems to be broken ...
0
votes
1answer
62 views

Can I install ALL required rpm to run wine without root permission?

I am logged in on a redhat linux computer, and I don't have root permissions. I have tried running/installing wine on a folder using ./configure , which outputs: configure: error: X 32-bit ...
1
vote
1answer
88 views

How to force rpm and yum to fail if a GPG signature is missing or cannot otherwise be verified?

How can I force rpm and yum to fail if a GPG signature is missing from a package or otherwise cannot be verified due to a missing key? For the example below, assume the RPM has been signed but the key ...
1
vote
1answer
33 views

Local installation of .rpms using YUM

I'm asking this question cautiously because I don't want to get this wrong. I have a program_name.rpm file saved locally on my server (CentOS 6.5). I have installed it previously just by navigating ...
2
votes
3answers
1k views

Error while trying to create RPM for java app

I'm new to RPM packaging and I got stuck for quite a long time and cannot find root cause of the problem. I'm not quite sure I fully understand the concept of BuildRoot in the spec file. My RPM ...
0
votes
1answer
396 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 ...