Sponsored Content
Operating Systems Linux Red Hat Distribute packages to other client machines using yum Post 302558134 by jamba1 on Thursday 22nd of September 2011 11:03:10 PM
Old 09-23-2011
Hi,

Only the two managment servers are registered.... jdcumgt01 (x86_64 x86_64 x86_64) and jdcumgt02(i686 athlon i386). The other servers in the network should be configred and able to update from both the management servers depending on their architecture.

Example - I would like to upgrade Apache

I have just ran the following on the management server
[root@jdcumgt02]# yum update httpd

It finds the latest Apache version and dependencies, I download and Apache is installed.

I would now like to use yum to update Apache on one of the servers on my network from the management server jdcumgt02 however it does not detect the update or latest version of Apache.

Server configuration (non management server)

Code:
 
[root@hostname yum.repos.d]# more localproxy.repo
[localproxy]
name=Red Hat Enterprise Linux $releasever - $basearch
baseurl=http://jdcumgt02.xxxxxxx.xxx.xx
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release
[root@hostname yum.repos.d]#


Code:
 
[root@hostname /]# yum list updates | grep httpd
This system is not registered with RHN.
RHN support will be disabled.
httpd.i386                             2.2.3-31.el5_4.2               localproxy
httpd-manual.i386                      2.2.3-31.el5_4.2               localproxy


Can you advise how I upgrade Apache on this server from the management server. How do I get it to detect the latest Apache version on the mamagement server and upgrade Apache.


The other problem I have is the other management server has the following error when I run yum list updates

Code:
 
[root@jdcumgt01 yum.repos.d]# yum list updates
Loaded plugins: rhnplugin, security
file:///opt/localrepo/repodata/repomd.xml: [Errno 5] OSError: [Errno 2] No such file or directory: '/opt/localrepo/repodata/repomd.xml'
Trying other mirror.
Error: Cannot retrieve repository metadata (repomd.xml) for repository: localrepo. Please verify its path and try again

Any ideas how this can be fixed?

Thanks
 

10 More Discussions You Might Find Interesting

1. AIX

How to distribute paging space among multiple PV

Greetings I have an older box (H50) that has it's paging space setup the following way: $ lsps -a Page Space Physical Volume Volume Group Size %Used Active Auto Type paging00 hdisk0 rootvg 224MB 1 yes yes lv hd6 hdisk0 ... (4 Replies)
Discussion started by: outtacontrol
4 Replies

2. Linux

where to edit yum or rpm packages to update

I am setting up a new server with the goal of porting a solaris server to centos. I want to compile some packages myself (ie) http, ssl, mysql, etc. The reason for this is the downloadable rpm packages are very old. I probably want to make sure the kernel is up to date, but the individual pages... (2 Replies)
Discussion started by: csross
2 Replies

3. Linux

update packages with yum

Hello Is there a way to update a package to a specific version with yum? So, I have version 1 of package A installed. Versions 2 and 3 are available, but I only want to upgrade to version 2. Any assistance would be appreciated. Thanks! (1 Reply)
Discussion started by: garskoci
1 Replies

4. UNIX for Dummies Questions & Answers

How to distribute compressed files as text?

Hello everybody, I've seen some text documents where they publish blocks of text and tell you to save it as "file.tgz" for example, and when you decompress the file, it actually works. How is that done? is there a program? Because i tried cat and doesn't work, tried less, more, hexedit and... (2 Replies)
Discussion started by: semash!
2 Replies

5. UNIX for Dummies Questions & Answers

Centos commands: Yum Upgrade versus Yum update

Hi, I would like to know the difference between YUM UPDATE and YUM UPGRADE. The man pages say upgrade is same as update with the obsolete option. And by default it says the obsolete option is turned on, which would make them equivalent. Does not say what obsolete does. Can someone please... (3 Replies)
Discussion started by: mojoman
3 Replies

6. What is on Your Mind?

What's your favorite SSH client to connect to UNIX/Linux machines?

I am curious about the most popular ssh client on Windows environment. Talking about me, I use PuTTY most of the time coupled with WinSCP to transfer files. But, I like Tera Term too. It has great drag-drop feature where you can drag a file/folder and drop on the window and it will transfer the... (14 Replies)
Discussion started by: admin_xor
14 Replies

7. UNIX for Advanced & Expert Users

Yum find a very common file in many packages

I am trying to find a yum file that is very common in many packages. I would normally start off with this command, but the file is SO common I don't know which package it is in. yum provides \*compress (1 Reply)
Discussion started by: cokedude
1 Replies

8. Red Hat

Yum client configuration error

Dear concern, I want to configure a yum client node. Yum configuration file (/etc/yum.repos.d/) is given below: # cat server.repo name=rhel6 baseurl=ftp://192.168.225.3/pub/Packages/ enabled=1 gpgcheck=0 We got following error message while executing yum list command. # yum clean... (1 Reply)
Discussion started by: makauser
1 Replies

9. UNIX for Dummies Questions & Answers

Yum not working on client while able to do the ftp

1)check vsftpd service is running service vsftpd status 2)mkdir -p /var/ftp/pub/Packages Packages will contain all rpm packages 3)copy the xml file to Packages folder #cp -arf /mnt/hgfs/share/RHEL_DVD/Packages /var/ftp/pub/Packages 4)install the 3 required rpm rpm --nodeps -ivh... (0 Replies)
Discussion started by: joj123
0 Replies

10. UNIX for Beginners Questions & Answers

Installation of virt-manager while yum update and yum install rhvm does not work

I have downloaded RHEV-H 4.2 Red Hat Virtualization - Red Hat Customer Portal (RHVirtualization 4.2 Host and Manager iso). I uploaded the image and installed on an HP G9 server baremetal. I found I dont have a WAN/net connectivity later on HPG9 server. How can I still install virt-manager on... (1 Reply)
Discussion started by: Paras Pandey
1 Replies
yum-debug-dump(1)														 yum-debug-dump(1)

NAME
yum-debug-dump - write system RPM configuration to a debug-dump file SYNOPSIS
yum-debug-dump DESCRIPTION
yum-debug-dump is a program which creates a gzipped file containing a lot of information useful to developers trying to debug a problem. By default it will output a file to the current working directory named yum_debug_dump-<hostname>-<time>.txt.gz. This file contains no pri- vate information but does contain a complete list of all packages you have installed, all packages available in any repository, important configuration and system information. You can view this file using the 'zless' command. You can use the coresponding program yum-debug-restore to act on this file and restore a set of packages (much like dump/restore). FILES
As yum-debug-dump uses YUM libraries for retrieving all the information, it relies on YUM configuration for its default values like which repositories to use. Consult YUM documentation for details: /etc/yum.conf /etc/yum/repos.d/ /var/cache/yum/ SEE ALSO
yum-debug-restore (1) yum.conf (5) http://yum.baseurl.org/ AUTHORS
See the Authors file included with this program. BUGS
There are of course no bugs, but should you find any, you should first consult the FAQ section on http://yum.baseurl.org/wiki/Faq and if unsuccessful in finding a resolution contact the mailing list: yum-devel@lists.baseurl.org. To file a bug use http://bugzilla.redhat.com for Fedora/RHEL/Centos related bugs and http://yum.baseurl.org/report for all other bugs. Seth Vidal 28 April 2008 yum-debug-dump(1)
All times are GMT -4. The time now is 06:40 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy