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

learn more… | top users | synonyms

0
votes
2answers
13 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
21 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
0answers
17 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 ...
2
votes
1answer
3k 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 ...
0
votes
0answers
6 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
50 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 ...
22
votes
6answers
19k 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 ...
4
votes
5answers
12k 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 ...
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 ...
5
votes
2answers
3k 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 ...
0
votes
0answers
16 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
58 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 ...
0
votes
2answers
655 views

RPM command stuck/FREEZE when installing RPM file

I want to install the following rpm from some reason RPM is stuck or freeze and not install the RPM package also I cant stop it by control C , please advice what could be the problem ? root]# rpm ...
0
votes
1answer
596 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 ...
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 ...
1
vote
2answers
54 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
43 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 ...
5
votes
5answers
12k 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 ...
3
votes
2answers
979 views

recommended procedure to create a user/group during RPM install

after trying hard to search for RPM best practices guides and finding virtually none, to my surprise, I resort to the community - I need to ensure that some users and groups exist after the ...
3
votes
2answers
62 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
1answer
94 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 ...
0
votes
0answers
206 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: ...
1
vote
2answers
3k 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 ...
0
votes
0answers
44 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 ...
25
votes
4answers
41k 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
31 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
21 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 ...
3
votes
1answer
612 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
1answer
22 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
48 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
1answer
194 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 ...
0
votes
0answers
37 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 ...
5
votes
4answers
9k 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")?
4
votes
0answers
260 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
110 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
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
117 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
27 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
232 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
36 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
45 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
27 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
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 ...
0
votes
0answers
22 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 ...