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

learn more… | top users | synonyms

0
votes
2answers
16 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
30 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 ...
1
vote
1answer
21 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 ...
0
votes
1answer
22 views

rpm and deffattr

Why does %files ram %defattr(-,root,root,644) %dir %attr(755, root, root) /usr/lib/ram/postd /usr/lib/ram/postd/about /usr/lib/ram/postd/local.conf /usr/lib/ram/postd/local.init.conf ...
0
votes
0answers
7 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 ...
1
vote
1answer
63 views

RHEL6 + Error: xz compression not available

When installing packages via yum on a RHEL Server 6.6 system, I get the following error: $ sudo yum install foo Loaded plugins: product-id, rhnplugin, security, subscription-manager This system is ...
0
votes
0answers
19 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: ...
0
votes
2answers
47 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 ...
3
votes
2answers
64 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 ...
4
votes
2answers
63 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
221 views

Installing jre-8u51-linux-x64.rpm on SLES 11 SP3: Failed dependencies

I tried to update my Java installation on a SLES 11 SP3 system (for some reasons I want to run the original Java and not the IBM Java provided by SUSE) and I got the following error message: error: ...
0
votes
0answers
45 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
32 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
24 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
22 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 ...
0
votes
1answer
23 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 ...
1
vote
0answers
50 views

Centos 7 - Cant download RPM (Trying to connect with IPV6)

i am normaly an debian/ubuntu guy but i wanted to test the foreman on Centos 7. but I am having some trouble with the RMP command. I have tried to disable IPV6 with echo 1 > ...
0
votes
0answers
39 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 ...
0
votes
1answer
215 views

PHP Startup: Unable to load dynamic library '/usr/lib64/php/modules/php_mysql.so'

I am running PHP 5.6 on Linux. When I try to load a PHP page, I'm getting the following PHP error. PHP Startup: Unable to load dynamic library /usr/lib64/php/modules/php_mysql.so' When I look ...
1
vote
2answers
56 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 ...
1
vote
1answer
55 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
112 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 ...
0
votes
0answers
28 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 ...
0
votes
1answer
130 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 ...
2
votes
2answers
252 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
26 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
37 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
47 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
28 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
0answers
24 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: ...
0
votes
0answers
20 views

How does rpmbuild see files that need to be installed

I am trying to use an rpm package to build a package that does little more than install custom configs. I made a blank rpmbuild package, added another package as a dependency, this package installs ...
0
votes
1answer
25 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 ...
1
vote
0answers
40 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
112 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
26 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
30 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
25 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 ...
0
votes
1answer
44 views

How to pass options to RPM through YUM CLI?

I would like to pass the --excludepath option to RPM through YUM since YUM doesn't provide an option like that. The --excludepath option tells the rpm command to exclude all files that start with the ...
0
votes
1answer
47 views

Installed from source code, but when checking installed-version, it's showing old-version. How to reslove?

OS: Fedora 12, x86_64 [root@earth]# rpm -qa cmake cmake-2.6.4-5.fc12.x86_64 But I installed cmake-3.2.3 from source code. How to check installed version that is installed from source code? How to ...
0
votes
1answer
37 views

RPM installation %post macro works on terminal but not on GUI

I have created my own .rpm file. The installation works prefect on the command line but doesn't work properly when i am doing it from the GUI. The only thing that doesn't work from the GUI is the ...
0
votes
1answer
13 views

RPM to invoke browser post installation

I am creating an RPM installer for centos 6.5, After installation i want the RPM to invoke the browser and show the installation report. This installation report shows the details of how the ...
0
votes
2answers
57 views

YUM failing install; not recognizing JDK

I am attempting to install some packages using YUM. The command I am using is: sudo yum repo-pkgs [my repo] install This produces the following result: Error: Package: [package name] ([my repo]) ...
1
vote
2answers
105 views

How to remove an rpm package while keeping certain files

Had an issue where 64-bit and 32-bit httpd packages were installed. When one of the packages is uninstalled via yum remove, it removes certain shared files like /etc/httpd/conf/httpd.conf. Is there ...
2
votes
2answers
490 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
0answers
63 views

Mod Speed Installation Error

I have 2 webservers Apache and Nginx. Trying to install mod_speed integrated with Apache but I get error: Failed dependencies: httpd >= 2.2 is needed by ...
1
vote
1answer
85 views

When to use arch vs. noarch when building RPMs?

Preface By building RPMs I do not mean compiling from source code. I purely mean taking a tar or a 'zip' file with source code or binaries and repackaging it as a RPM. I've been building RPMs from ...
0
votes
1answer
45 views

How to find through scripts that peer-to-peer file-sharing applications are installed in Linux?

We want to find out whether there is any peer-to-peer file sharing is installed on Linux machine. Some examples of these applications include - Napster Kazaa ARES Limewire IRC Chat Relay BitTorrent ...
1
vote
0answers
19 views

rpm --verify does not inform about missing file

I noticed there is a missing file in the MySQL installation in a RHEL server. I want to know if there are more missing files so I tried to use rpm --verify (or rpm -V), however it doesn't output ...
1
vote
0answers
63 views

How to corrupt rpmdb?

Yes, You read it right i actually want to corrupt RPMDB for testing purpose. I tried Googling it but all i got was to, how to rebuild it. So at last i tried rpm --rebuilddb and killed the process ...
0
votes
1answer
96 views

RPM build check-rpaths error 0x0001

While building my custom rpm package using the below mentioned command rpmbuild -v -bb test.specs I get the below error, + /usr/lib/rpm/check-rpaths /usr/lib/rpm/check-buildroot ...