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

learn more… | top users | synonyms

0
votes
0answers
39 views

Problem Installing fping rpm package for Fedora 19

I have an issue installing fping in my Fedora 19 operating system. The Problem is raising issues like below:- sudo: apt-get: command not found [wruser@wrhost ~]$ sudo yum install fping Loaded ...
3
votes
1answer
4k views

Where are RPM postinstall scripts located?

I have found a bug in an RPM that I have been provided. rpm -qp --scripts foo.rpm > /tmp/badscript cat /tmp/badscript postinstall scriptlet (using /bin/sh): ... if [ 'some bug' == true ].... I ...
0
votes
0answers
43 views

How to modify default install directory for rpmbuild command?

On Suse Linux Enterprise Server 11, I use rpmbuild to install a source rpm: linux-a21w:/usr/src/packages/SPECS # rpmbuild -v -bi zlib.spec By default, it installs into /var/tmp/zlib-1.2.7-build ...
5
votes
1answer
5k 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
0answers
81 views

Have Makefile create rpm spec file

I have a makefile to build my program then a makefile to build my rpm package in addition to an rpm spec file to create the rpm. Right now the spec file is manually maintained. However for future ...
1
vote
1answer
186 views

how do I manage dependencies for this manually installed rpm file?

How do I manage the dependencies while manually downloading and installing these rpm files? Googling the names of the rpm files results in differently-named rpm files. I cannot use yum install ...
1
vote
1answer
41 views

How to stop automatic upgrade of postgres,mongodb and RHE7 itself?

I have installed Postgeresql, mongodb using yum in RHEL 7.0 few days back, but now they are automatically upgrading. I don't want it to happen. How can I prevent the automatic upgrades?
1
vote
1answer
292 views

Build RPM on Windows with Cygwin but install on Linux

I am trying to figure out an issue that I have with installing an RPM file on openSUSE which I build on Windows (using Cygwin/rpmbuild). When I try to install the RPM on Linux I get an error saying ...
2
votes
2answers
727 views

Bash script to verify that an rpm is at least at a given version

I need to write a script to verify that an RPM is at least a given version in Linux. QUESTION 1: How can I get the RPM version in a variable $RPM_VERSION, so that it contains the version all the way ...
0
votes
2answers
41 views

CentOS 6.4 rpm requires el5 but available is only el6

I want to install lipXp-devel-1.0.0-8.1.el5.i386.rpm and get the error message: Package: lipXp-devel-1.0.0-8.1.el5.i386 Requires: libXp = 1.0.0-8.1.el5 Installed: libXp-1.0.0-15.1.el6.i686 ...
0
votes
0answers
54 views

Deleting of whole symbolic link folder when rpm -e is ran

I am currently building an rpm for RHEL 6.6. The installation of the rpm goes great the the command rpm -Uvh foo.rpm. However I run into a problem when I do the rpm -e foo command. The problem is ...
0
votes
0answers
23 views

Config folder for a service

Context When running the Deluge daemon (deluged) as a service, you can specify an option to where the config folder will be created. The deluge-user I've created, is a system account, and therefore ...
1
vote
1answer
29 views

Maintain 32 and 64 bits version of rpm

let me explain this a little bit, I am in charge of update part of our company product from 32 to 64 bits. At the end, we should have a 64bits kernel + 32bits applications + some 64bits ...
2
votes
2answers
510 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 ...
5
votes
5answers
15k 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
vote
2answers
494 views

Extract the spec file out of an RPM

I have an RPM that I built. And I am looking to figure out how to extract the Spec file out of it. I have tried: rpm --scripts -qp sampleBuild.rpm That didn't work. Does anyone know the proper ...
0
votes
1answer
382 views

Installing Octave Dependencies on CentOS 6 using yum

I am trying to install Octave 4.0.0 (from source) locally in my home directory on a CentOS 6 cluster. This is a rather extensive install (see list of dependencies). I have several issues : From ...
0
votes
0answers
46 views

Could not find files when creating mono package with rpmbuild

I'm trying to create rpm package from official mono-4.0.3.20.tar.bz2 archive on Centos 6.5. I suspect the original spec file might be corrupted. When I try build with rpmbuild ...
25
votes
6answers
22k views

Open a RPM on a Mac?

I am on a MacBook Pro running Apple Leopard (Mac OS X 10.5.8). I would like to unpackage a RPM and view the files contained within the wget-1.11.4-2.el5_4.1.src.rpm . I don't need to install the ...
6
votes
5answers
18k views

How to check available package versions in rpm systems?

If I want to check available versions of a package in Debian, I run apt-cache policy pkgname which in the case of wajig gives: wajig: Installed: 2.01 Candidate: 2.01 Version table: *** 2.01 0 ...
0
votes
0answers
124 views

Upgrade python from 2.4 to 2.6 on RHEL 5.7

Currently We have 2.4.3-56.el5 version of python installed on RHEL 5.7. Need to install nodejs for which the python version should be upgraded to python26. I have downloaded the below rpms: ...
2
votes
1answer
80 views

Make a rpm package from the cpan compatible tree?

I always make my perl module following the CPAN-complient tree. I would like to use this tree to create a rpm file I could install on a hundreth servers. Is it possible to make a rpm package with ...
1
vote
2answers
543 views

Reinstalling packages with missing/corrupt files

Following an unclean shutdown and a colourful fsck, a whole bunch of files have gone missing. The output of 'rpm -Va' is several hundred lines long (mostly missing files but also some checksum and ...
0
votes
2answers
334 views

trying to install chef-client package via local yum repo

I am trying to make chef-11.16.4-1.el6.x86_64.rpm available to our servers via a local yum repo that we've built. it is not available in RHEL Repos, so i had to manually download and save it in our ...
4
votes
2answers
1k views

How to install dependencies of an rpm package without installing the package itself? (rhel/fedora)

I have a set of packages (*.rpm). For each package I can do rpm -qRp <package> to list requires, but I would like to install them (those requires) without installing the packages themselves. ...
0
votes
0answers
131 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 ...
26
votes
4answers
52k views

Remove unused packages

I have installed some rpm package on my Fedora 17. Some packages had a lot of dependencies. I have removed some packages but I forgot remove unused dependencies with yum remove. How can I do that ...
1
vote
1answer
75 views

yum:How can I instruct yum to install a specific version for X

I have to implement two yum repos, x and y which contains same packages with different versions. If a user do: yum install x - should install the latest packages of one branch yum install y - ...
0
votes
1answer
31 views

Is there any advantages of using rpm-based distro for Java development?

I'm using Arch Linux now and everything seems okay. But I'd like to try using some rpm-based linux distro like Fedora or OpenSUSE. It seems that most Java server machines use Red Hat, which is ...
1
vote
1answer
51 views

yum install http://www.example.com/package.rpm vs. rpm -ivh http://www.example.com/package.rpm

What's the difference between those commands? Are there any advantages to you yum or rpm for the same task? yum install ...
1
vote
2answers
3k views

How does RPM handle file locations?

I am trying to create a .spec file for creating mapserver as an rpm package. I am building on an RHEL6 64-bit server. I am a bit new to the whole concept, so bear with me if I am not seeing something ...
0
votes
1answer
79 views

How to install RHEL source code RPM in non-default directory?

The RHEL source code RPM package is installed in ~/rpmbuild by default. I want use --prefix option to change the installed directory: [root@nan nan]# rpm -ivvh --prefix=/home/nan ...
0
votes
0answers
100 views

Installation: signature key id -> nokey

I have a problem with installing CodeBlocks 13.12 on OpenSUSE 13.2. Yesterday I decided to uninstall CodeBlocks 13.12 using Yast, but after all locate showed me that there were still catalogues ...
4
votes
0answers
401 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: ...
0
votes
1answer
157 views

yum.conf and installonlypkgs option

We set up our CentOS 6.x system that we could have a different versions of our software by means of installonlypkgs option in yum.conf. For example <mycoolpackage>-1.0.0-0.el6 and ...
1
vote
1answer
94 views

can't access rpmfusion.org via HTTPS

I want to download the free and nonfree versions of rpmfusion, but, much to my surprise, the site runs only on HTTP. What can I do to make sure no third party has compromised the downloads? I've tried ...
0
votes
1answer
509 views

Kernel version not changing even though the new version is installed

Recently performed software update on a RHEL 6.6 (Santiago). Noticed that kernel version is not updated to latest one that was installed. kernel version before doing software update: [root@server01 ...
0
votes
0answers
35 views

Linux RPM installation - Who defines the rights?

I am new to Linux, and I am using rpm -i to install an RPM package successfully. However, I do realize that I have to use the root account to install the package every time. I have several users in ...
2
votes
2answers
1k views

Where is the RHEL7 kernel source code installed?

I install the Linux kernel source code RPM: [root@localhost ~]# rpm -ivh kernel-3.10.0-229.el7.src.rpm warning: kernel-3.10.0-229.el7.src.rpm: Header V3 RSA/SHA256 Signature, key ID f4a80eb5: NOKEY ...
0
votes
1answer
28 views

Upgrading `popt` requires to upgrade too many packages

I am currently in the process of upgrading syslog-ng using rpm. In the upgrade process, I found out that syslog-ng has a dependency with rpm-libs which have a dependency with popt. The dependency tree ...
0
votes
1answer
108 views

How to get ALL kinds of reverse package dependencies: reverse-depends pendant for non-Ubuntu distributions

I would like to find all possible reverse dependencies (no need for recursive reverse dependencies) of a certain package p, that is, I want to find all packages which depend on p. This shall include ...
0
votes
1answer
94 views

How to install Goldendict on CentOS 7

I've tried to install goldendict on my laptop which runs CentOS 7 on different ways: 1- I've tried to convert .deb package to .rpm with alien 2- I've tried to build from source (with error or qt4 ...
0
votes
0answers
54 views

Can an rpm package install dependencies in sequence?

I have a custom rpm package being installed in CentOS which has a dependency which is not included in the default repo. This needs to be able to spin up on demand in Jenkins and the way the process is ...
0
votes
1answer
34 views

looking for a way to download a list of packages with yum

We are trying to setup a local repo that contains all the base packages. So to get started we need to download around 3500+ packages and save it in a folder that will be used as a Repo storage. We ...
0
votes
0answers
32 views

How to update my local repo that i am using to serve local machines?

I have created a local repo with 618 packages and made it available for my local servers.So that they dont fetch updates directly from RHEL repo. Here are some info about my local repo: ...
1
vote
0answers
99 views

Installing Graphviz & Dependencies without Internet access

I am trying to install graphviz on AIX7.1 - I have NO internet access and I have downloaded a lot of rpm files. I want to know is there a way to install the graphviz-*.ppc.rpm packages so that the ...
0
votes
1answer
232 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 ...
0
votes
0answers
60 views

Can rpm call an external script stored somewhere in the package during installation?

I have a package which is being retooled for in house purposes. Mostly making changes to the configuration files. The files need to be somewhat dynamic so changing the config files at source isn't ...
0
votes
1answer
147 views

How to determine which Berkeley DB version is used for RPM's database?

I am attempting to read and write the RPM database located in /var/lib/rpm under CentOS 5, and eventually other system types (CentOS 6, RHEL, etc.) The problem is that I don't know what version of ...
0
votes
0answers
40 views

I want to trigger yum's RPM transaction myself by executing a rpm -ivh command. Which part of yum's source code do I change?

I would like to execute the rpm install command instead of letting YUM do it by changing its source code. Which part of the source code do I change ? I need this as I need to give additional options ...