0
votes
0answers
58 views

Yum does not install specific RPM version with custom repo

We use RPMS for our packaging and yum to update our environments. We have an rpm package-5.1.1-3 installed in our production server and in our yum repository we have 2 newer versions such as ...
0
votes
0answers
38 views

How to build the rpm package with SHA-256 checksum for files?

In standard alone RHEL 6.4 rpm build environment, the rpm packages is generated with SHA-256 check sum, which is gotten by command rpm -qp --dump xxx.rpm [user@redhat64 abc]$ rpm -qp --dump ...
0
votes
1answer
36 views

dovecot rhel 5 installation fails because of newer libraries

to whom it may respond to, we are trying to install dovecot (dovecot-2.2.10-1_14.el5.x86_64) on a RHEL 5.4 server and we get the error : [root@asgfkm /]# rpm -i dovecot-2.1.17-0_136.el5.x86_64.rpm ...
7
votes
2answers
271 views

How can I mirror a yum repository but download only the newest versions of each package?

I would like to mirror the following Yum/RPM repositories at http://yum.puppetlabs.com/ : http://yum.puppetlabs.com/el/6/products/ http://yum.puppetlabs.com/el/6/dependencies/ ...
1
vote
1answer
50 views

How to compile sources into rpmbuild BUILDROOT?

All the information I can find about building RPMs seems to pre-date CentOS 6, and as a complete package-building novice running CentOS 6.5, I'm rather stuck. All the tutorials I've read mention one ...
2
votes
1answer
1k views

CentOS yum *.rpm package changelog (not installation changelog)

I just logged into my new rented server and updated openssl because of the heartbleed-bug (http://heartbleed.com). I updated using yum list openssl ... Installed Packages openssl.x86_64 ...
0
votes
2answers
145 views

Using `repomirror` to mirror a yum repository for a different OS version?

I have an EL5 machine. On this host I would like to mirror a Puppet repository for EL6 rpms. How can I mirror an EL6 or Fedora repository on an EL5 host? I am using reposync because I only need the ...
0
votes
2answers
1k views

No Tomcat7 package for RHEL 6

We're currently setting up a new application hosting environment on Rackspace and are struggling to find a package for Tomcat 7. Our previous provider was Amazon and we ran on Amazon Linux who via ...
0
votes
0answers
81 views

How can I view CentOS update RPM security metadata?

I'm interested in getting useful output from the commands on this page while using CentOS: http://www.cyberciti.biz/faq/redhat-fedora-centos-linux-yum-installs-security-updates/ By default, it seems ...
0
votes
1answer
50 views

Where to download MySQL server 5.0.77-log

I have MySQL Server version: 5.0.77-log Source distribution on a RHEL6 server. I need to reinstall it on a second RHEL6 server to set up a testing environment but I cannot find where to download this ...
0
votes
1answer
103 views

How can i install mysql_config on Red Hat Linux 4?

I've been tasked with implementing a few upgrades on a Red Hat Linux 4 box that is already running MySQL. I've found the need for the mysql_config tool, but i can't locate it as already being ...
0
votes
0answers
55 views

rpm dependency failed to install, package installed anyway

I have this issue and I would like to understand why it is like this. I have build 3 really simple rpm packages called a, b and c, and I made a independant, b depending on a and c depending on a and ...
4
votes
2answers
454 views

Avoid file conflict in rpm package

I have created a rpm package.The part of .spec file is below %install mkdir -p ${RPM_BUILD_ROOT}/etc/xyz cp -rf %{BDIR}/console ${RPM_BUILD_ROOT}/etc/xyz %files /etc/xyz/console So XYZ ...
2
votes
1answer
83 views

Cannot install net-tools on Red Hat Linux

The isolated networking lab is running Red Hat Linux 9 (Shrike). We still use this "ancient" release, because given the simplicity of the protocols examined, it is sufficient. In addition, because of ...
2
votes
2answers
217 views

RHEL 5 list missing critical patches/packages

Im trying to figure out if there is an easy way to identify the missing critical patches/packages on my RHEL5 boxes. This is for audit purposes and was trying to figure out if there was an RPM command ...
3
votes
2answers
146 views

Why does `rpm` show 3 httpd packages, and which one provides the real httpd?

I ran yum update on my CentOS5 webserver a few days ago. Today I just noticed that I have 3 httpd-* rpms! How can I end up with three RPMs for httpd (My other servers only have one httpd rpm). I want ...
1
vote
1answer
480 views

I'm getting “yum error no such table packages”, how do I fix corrupted db?

I'm trying to use following guide: Scientific Linux - How To Upgrade To The Latest S.L. 6.x Release to update my Scientific Linux release 6.3 to Scientific Linux release 6.4. # yum update ...
0
votes
1answer
123 views

Upgrading PHP on RedHat

I'm trying to upgrade my PHP from 5.3.13 to 5.5 following this post, which links http://www.if-not-true-then-false.com/2010/install-apache-php-on-fedora-centos-red-hat-rhel/. However, I got error ...
0
votes
2answers
326 views

I'm unable to use rpmbuild to build nagios-3.5.0 RPM @RHEL6

I'm unable to build RPM w/ nagios 3.5.0 (last one that worked for me was 3.2.3): # md5sum nagios-3.5.0.tar.gz aeef195d2033cc362bf6cb972bcc8f07 nagios-3.5.0.tar.gz # rpmbuild -tb nagios-3.5.0.tar.gz ...
0
votes
2answers
149 views

Is there a way to get Satellite 5.3 to list which packages are installed on each system?

I'm trying to generate a list of all the packages installed per server without having to go through each using rpm. I'm thinking Satellite should be able to provide this in a decent (hopefully easily ...
0
votes
0answers
40 views

rpm to track system version requiring all rpms as dependency surpasses 8k per line limit

I would like to be able to install one package that tracks the version of the system. If this package is installed I would like to be able to guarantee that the system is at the appropriate update ...
1
vote
3answers
432 views

Where should I get rpms for Red Hat Linux release 9 (Shrike) [closed]

I need a recent version of the C++ standard library (version 6). What is the best way to get this on our RedHat server? I noticed that up2date is not setup. Instead, is there a standard safe ...
1
vote
1answer
160 views

RPM packages with dependencies based on a major version of software (i.e php 5.3 with it's addons and then php 5.4)

Scenario: PHP5.3 php-5.3.21-1_x86_64.rpm (base) php-pecl-memcache-3.0.6-1_x86_64.rpm (dependant on above because of the internal PHP ABI version change) PHP5.4 php-5.4.13-1_x86_64.rpm (base) ...
-1
votes
3answers
663 views

RPM installed but not installed RHEL6

I'm trying to resolve one dependency. Because RHEL6 doesn't contain python-2.4.3, I downloaded the package from RHEL5 and put it into our own repository. Then upon installing it: ... ---> Package ...
1
vote
3answers
219 views

Keep installed RPMs in sync

What is the best way to keep several CentoS/RH 5 servers keep the same set of RPM's? I.e., when I install or update an RPM on one of them using a common YUM repository, make the other servers ...
0
votes
2answers
518 views

ssl-cert package (self signed certificates) for rpm/fedora

In Debian/Ubuntu, my deb packages depend on the ssl-cert package, to provide some self-signed https certificates, if nothing else. From the Debian page: This package enables unattended installs of ...
2
votes
2answers
177 views

Potential issues with “yum update ./*.rpm”?

I've got a batch machines to update this week, but I'm not quite confident with our established procedure. It basically runs like so for each machine: Mount a shared directory particular to the OS ...
3
votes
1answer
127 views

Going from source to RPM

I'm curious about the major difference/pros/cons between installing services and tools from source over using RPMs and from repositories. From my understanding using a repo/rpm gives you the ability ...
2
votes
2answers
317 views

RPM with RHEL: install 2 version of same package / different arch

I think the title is pretty self explanatory :) Is it possible, under RHEL (v 5) to install 2 instances of the same packages with 32 bit support for one and 64 bits support for the other one? ...
1
vote
3answers
110 views

How to know what changes YUM UPDATE is going to apply?

How to know what changes YUM UPDATE is going to apply? I know you can see the list of packages that are going to be updated, but I'd like to know what detailed changes are going to be aplied in ...
4
votes
3answers
487 views

%post section of rpmbuild not working

Situation: I'm trying to build a custom rpm to place a config file in a particular location. The installation completes fine by placing config files in proper directories but the %post section is not ...
3
votes
2answers
419 views

setting up rhel 5.x RPM build server for mortal users

My task is to setup a RHEL 5.x build host, that can build RPMs for mortal users. On RHEL 6.x with rpm version 4.8, I have in /usr/lib/macros: # Path to top of build area. %_topdir ...
0
votes
4answers
3k views

How to uninstall mysql on redhat linux version 5

I have identified the rpm to uninstall which is the following: mysql-5.0.77-4.el5_6.6 I run the following rpm command to uninstall it: rpm -e mysql-5.0.77-4.el5_6.6 Then I receive a dependency ...
0
votes
1answer
32 views

What is the RPMRepository

In several CentOS tutorials, they advise enabling the RPMRepository. I have some questions about this repository. It seems like it's a RedHat repository that CentOS uses as well, since it's based on ...
1
vote
1answer
378 views

yum - find packages in version minimum 'x' in specific repository?

I have configured several repositories on my CentOS 5 box. As an effect, command: yum search nagios outputs just mess - thousands of duplicated packages. To make my life easier I would like for ...
-1
votes
1answer
101 views

%files section in building rpm from source using Red Hat package Manager

I am creating customized rpm through source. I want to know what is the use of %files section. These are the files that rpm will include in the package or it needs these files for rpm creation ...
0
votes
2answers
438 views

getting permission denied while creating rpm through rpm package manager on RHEL 5.3

I am trying to create rpm through rpm package manager. Following is my spec file: **# This is a spec file for openldappkg** %define _topdir /osp/rpmBuildOpenLdap %define name openldap %define ...
3
votes
3answers
439 views

Is there a way to build rpm's and deb's on the same system

I have a large Java enterprise application that is required to output rpm and deb packages. Currently this means that we build the application on two different boxes, one with CentOS and the other ...
1
vote
2answers
185 views

Find actual Centos6 path for %{_includedir} in spec file?

I am trying to find out which path actually resolves to %{_includedir} in a Centos6 installation. I understand that this is normally "/usr/include" but where can I find where it is actually set or ...
0
votes
1answer
146 views

Download 64-bit rpm package on 32-bit machine

I want to download some rpm packages from a rpmforge repo. My base machine is running CentOS 32 bit and I want to download some 64-bit packages. Is there any way in which we can configure YUM on a ...
0
votes
2answers
473 views

connect mysql from php without yum command manually

I am trying to connect to mysql from php, it says i have not configured mysql-php, call to undefined function:mysql_connect();. My server is not registered with RHN, hence i cannot yum install ...
0
votes
1answer
384 views

Why can't I install sqlite-devel package?

I'm try to install the sqlite-devel package on a Red Hat 4.1.2-51 x86_64 Linux server with rpm command: # rpm -i ftp://ftp.muug.mb.ca/mirror/fedora/epel/4/x86_64/sqlite-devel-3.3.6-0.3.el4.x86_64.rpm ...
2
votes
1answer
122 views

How to determine the date a package was installed or updated?

Is there a way to determine the date a package was installed or updated? What's the proper syntax for both rpm and dpkg?
2
votes
4answers
1k views

Install Fedora Source package on RHEL / CentOS

I'm attempting to upgrade curl on RHEL / CentOS machines. I've found what seems to be the appropriate source packages in a number of repos. (ie, ...
3
votes
1answer
122 views

Change Management Workflow Using Yum

We have a fairly strict patching process that we have to follow: Patch a development or testing machine Wait one week to see if it explodes Patch the corresponding production machine to the same ...
0
votes
1answer
959 views

Installation of net-snmp - How do I resolve the dependencies?

I'm trying to install net-snmp on Redhat 2.6.9-55.ELsmp by following the instructions. The problem is I get this: grep: /usr/lib/libbeecrypt.la: No such file or directory /bin/sed: can't read ...
1
vote
1answer
269 views

Ruby 1.8.7 on Plesk 9.5.4

I'm trying to get Ruby 1.8.7 installed on Plesk 9.5.4. I'm currently running 1.8.6 but gem requires a newer version of Ruby to be installed: /opt/ruby/bin/gem update --system Updating RubyGems ...
0
votes
1answer
1k views

RHEL6 SRPMs Are Not Found by “yumdownloader”

I am trying to download SRPMs from redhat from what of their servers. I went through step one of initializing the repository... # cat /etc/yum.repos.d/rhel-source.repo [rhel-source] name=Red Hat ...
3
votes
2answers
2k views

rpm spec: conditional require based of distro version

I'm trying to write a single rpm spec for RHEL/CentOS/SL 5 and 6. This spec is for python app, so there is no differences in build process. But on rhel/centos5 I need to add one additional dependency. ...
2
votes
1answer
281 views

RPM GPG keys for RHEL6 vs older versions

Is something different about the requirements of GPG key formats in RHEL6 that is stopping my standard GPG key being imported? it installs fine on RHEL4 and RHEL5 but not RHEL6, citing the key import ...