Sponsored Content
Full Discussion: Yum Update and Kernels
Operating Systems Linux Red Hat Yum Update and Kernels Post 302450875 by ygemici on Saturday 4th of September 2010 09:50:59 AM
Old 09-04-2010
if you want process yum in centos 4
try like this update your lib and python Smilie
Code:
# rpm -Uvh http://mirror.centos.org/centos/4/os/i386/CentOS/RPMS/libxml2-2.6.16-10.i386.rpm
# rpm -Uvh http://mirror.centos.org/centos/4/os/i386/CentOS/RPMS/libxml2-python-2.6.16-10.i386.rpm
# rpm -Uvh http://mirror.centos.org/centos/4/os/i386/CentOS/RPMS/python-elementtree-1.2.6-5.el4.centos.i386.rpm
# rpm -Uvh http://mirror.centos.org/centos/4/os/i386/CentOS/RPMS/sqlite-3.3.6-2.i386.rpm
# rpm -Uvh http://mirror.centos.org/centos/4/os/i386/CentOS/RPMS/python-sqlite-1.1.7-1.2.1.i386.rpm
# rpm -Uvh http://mirror.centos.org/centos/4/os/i386/CentOS/RPMS/rpm-python-4.3.3-22_nonptl.i386.rpm
# rpm -Uvh http://mirror.centos.org/centos/4/os/i386/CentOS/RPMS/python-urlgrabber-2.9.8-2.noarch.rpm
# rpm -Uvh http://mirror.centos.org/centos/4/os/i386/CentOS/RPMS/yum-2.4.3-3.el4.centos.noarch.rpm

 

10 More Discussions You Might Find Interesting

1. 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

2. Red Hat

Yum Update

I am using Cent OS 5 i need to update proxy server address in yum, i don't know where to update and how exactly i need to specify the proxy address can anyone help me in the issue. (2 Replies)
Discussion started by: praneel2k
2 Replies

3. UNIX for Dummies Questions & Answers

Difference between um update versus yum upgrade

Hi, I notice that CENTOS has a yum upgrade and update option. The man pages say that upgrade is the same as update with the obsolete option on. What is the obsolete option? I do not really understand the man page's description of it. Thanks (0 Replies)
Discussion started by: mojoman
0 Replies

4. 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

5. Linux

Yum update/install script

Any one know of a way to do a yum -install and draw the argument of what to install from a text file? I have a huge list of rpms that I have to install on a bunch of machines and I would like to run one script that goes to each machine and installs all rpms in the list I have. (2 Replies)
Discussion started by: rd42
2 Replies

6. Shell Programming and Scripting

Yum update using expect

Hi, I have an expect script which connects to whatever Ip is passed to it. It performs a variety of tasks, all of which it completes fine except for the yum updates. For some reason it sends commands early, during the yum update. Any ideas? Thanks. (2 Replies)
Discussion started by: meor
2 Replies

7. Red Hat

Specify version in yum update

Hello All, I am trying to upgrade redhat from 5.6 to 5.8. When i use Code: yum update -y it installs 5.9 I dont want 5.9, instead i would like to upgrade to 5.8 is there anyway to specify a version when you are doing Code: yum update (4 Replies)
Discussion started by: adam25ca
4 Replies

8. Red Hat

Unable to perform yum update

Hi, I run RHEL 5.2 as a server in my lab. Now the issue I am facing is that I am unable to update my machine using yum update. It shows an error of missing dependencies though dependencies are already installed. Please help me to do that. Error screen shot is also attached. (9 Replies)
Discussion started by: Ankur Goyal
9 Replies

9. Fedora

Yum update error

Hello, I issued # yum update and received below error. Any idea? # yum update Loaded plugins: fastestmirror, universal-hooks Setting up Update Process Loading mirror speeds from cached hostfile * cpanel-addons-production-feed: 204.10.37.146 * base: mirrors.oit.uci.edu * extras:... (3 Replies)
Discussion started by: feroccimx
3 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
package-cleanup(1)														package-cleanup(1)

NAME
package-cleanup - clean up locally installed, duplicate, or orphaned packages SYNOPSIS
package-cleanup [options] <item ...> DESCRIPTION
package-cleanup is a program for cleaning up the locally-installed RPMs. GENERAL OPTIONS
-c <config file> Use alternative config file (default is /etc/yum.conf). -h, --help Help; display a help message and then quit. -q, --quiet Print out nothing unnecessary. -v, --version Report program version and exit. -y Agree to anything asked. --leaves List leaf nodes in the local RPM database. Leaf nodes are RPMs that are not relied upon by any other RPM. --orphans List installed packages which are not available from currently configured repositories. This is identical to "yum list extras", which may provide better output. --oldkernels Remove old kernel and kernel-devel packages. --problems List dependency problems in the local RPM database. If any problems are found it will exit with an exit code of 1. --dupes Scan for duplicates in the local RPM database. --cleandupes Scan for duplicates in the local RPM database and clean out the older versions. --count <COUNT> Number of duplicate/kernel packages to keep on the system (default 2) LEAVES OPTIONS
--all When listing leaf nodes also list leaf nodes that are not libraries. --leaf-regex A package name that matches this regular expression will be considered a leaf. --exclude-devel When listing leaf nodes do not list development packages. --exclude-bin When listing leaf nodes do not list packages with files in bin directories. OLDKERNELS OPTIONS
--keepdevel Do not remove kernel-devel packages when removing kernels EXAMPLES
List all dependency problems: package-cleanup --problems List all packages that are not in any Yum repository: package-cleanup --orphans Remove old kernels keeping 3 and leaving old kernel-devel packages installed: package-cleanup --oldkernels --count=3 --keepdevel List all leaf packages with no files in a bin directory whose name begins with either 'perl' or 'python': package-cleanup --leaves --exclude-bin --leaf-regex="^(perl)|(python)" FILES
As package-cleanup 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.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. Gijs Hollestelle 03 November 2005 package-cleanup(1)
All times are GMT -4. The time now is 10:42 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy