Sponsored Content
Full Discussion: update packages with yum
Operating Systems Linux update packages with yum Post 302264807 by garskoci on Thursday 4th of December 2008 11:53:45 PM
Old 12-05-2008
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!
 

10 More Discussions You Might Find Interesting

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

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

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

4. Red Hat

Yum Update and Kernels

I have a server running CentOS 5 and when yum update is run and a new kernel is installed and there are more then 3 kernels installed the oldest ones are removed. Anyway to achieve this with CentOS 4? Matt (1 Reply)
Discussion started by: lforum
1 Replies

5. Red Hat

Distribute packages to other client machines using yum

Hi, We have a 2 yum repository servers (2.6.18-92.el5 x86_64 x86_64 x86_64 GNU/Linux) that are RHN registered and should receive the latest patch/packages. The servers are configured somehow that the new updates are not downloaded automatically which I guess is in the yum-updatesd.conf file ... (3 Replies)
Discussion started by: jamba1
3 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. 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

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
YUM-VERSIONLOCK.CONF(5) 					   File Formats 					   YUM-VERSIONLOCK.CONF(5)

NAME
yum-versionlock.conf(5) SYNOPSIS
yum-versionlock.conf(5) is the configuration file for yum-versionlock(1) Yum plugin for excluding packages that aren't listed in the ver- sionlock file. The plugin will walk each line of the versionlock file, parse out the name and version of the package. It will then exclude any package by that name that doesn't match one of the versions listed within the file (or, optionally, any obsoleter of that package). This is basically the same as doing an exclude for the package name itself (as you cannot exclude installed packages), but yum will still see the versions you have installed/versionlocked as available so that "yum reinstall" will still work, etc. It can also work in the oppo- site way, like a fast exclude, by prefixing a '!' character to the version. FILES
/etc/yum/pluginconf.d/versionlock.conf FILE FORMAT
yum-versionlock.conf(5) utilizes configuration options in the form of OPTION=VALUE OPTION
follow_obsoletes This option is a boolean flag which specifies if the versionlock plugin should look at all the obsoletes, and see if any of the packages specified have an obsoleter. If an obsoleter is found then all versions of that package will be excluded. This option is off by default, as yum-versionlock(1) will take some time to do the obsoletes processing, and for non-rename obsoletes any issues you had which kept you at a specific version of a package should be different with another package. OPTION
locklist This option is a string with points to the file which will have the versionlock information in it. Note that the file has to exist (or the versionlock plugin will make yum exit). However it can be empty. AUTHOR
Chitlesh Goorah <chitlesh@fedoraproject.org> James Antill <james@fedoraproject.org> SEE ALSO
yum-versionlock(1) 27 July 2008 YUM-VERSIONLOCK.CONF(5)
All times are GMT -4. The time now is 05:06 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy