Sponsored Content
Full Discussion: RedHat Updates
Operating Systems Linux Red Hat RedHat Updates Post 302349978 by fpmurphy on Wednesday 2nd of September 2009 12:06:10 PM
Old 09-02-2009
Try clearing the yum caches.
Code:
yum clear all

 

7 More Discussions You Might Find Interesting

1. AIX

unix updates- Where can I find unix updates online for IBM servers?

I have a Unix based server running Sagitta and the server is giving me an error of 4b10004 and my research tells me this is an EPROM issue, which means the processor needs to be flashed or repaired. Once up and running where can I go to get updates for Unix? (1 Reply)
Discussion started by: crainer
1 Replies

2. Shell Programming and Scripting

updates only

Hi, I have a file called Data-today.Txt that is updated every 5 minutes. # cat '/root/Desktop/window/'`date +%b%Y`'/Data-'`date +%d%m%y`'.Txt' > /root/temp.txt I want to read it every hour and findout the changes and process only those lines added since the last check. I tried diff but did... (1 Reply)
Discussion started by: shantanuo
1 Replies

3. Red Hat

RedHat Linux Automatic Updates

Hi All, we have about 50 RedHat Linux servers (v4.x, 5.x), now we planing to configure those servers to get updates(service packs, security patches...etc) automatically. whats is the best practises to do this. we also have SLES servers and we use Novell's SMT tool to get updates, we... (15 Replies)
Discussion started by: s_linux
15 Replies

4. UNIX for Advanced & Expert Users

Sort command results are different in Redhat 4 vs Redhat 5

Hi, I am having a text file with the following contents ########### File1 ########### some page1.txt text page.txt When I sort this file on Red Hat 5, then I get the following output ########### File1 ########### page1.txt page.txt some (3 Replies)
Discussion started by: sarbjit
3 Replies

5. Fedora

Installing updates

Hi, Im using Fedora version 23 (latest upgrade and upates). Currently to receive the updates, I use: su -c 'yum update' This works fine, but I get: yum command has been deprecated, redirecting to '/usr/bin/dnf update'. See 'man dnf' and 'man yum2dnf' for more information. To... (1 Reply)
Discussion started by: Janning
1 Replies

6. Shell Programming and Scripting

Cron updates

This cmd will update the user's crontab with the quoted line. But how to script the update using a previously stored variable? crontab -l | awk '{print} END {print "* * * * * echo test >> /tmp/testing"}' | crontab crontab -l | awk '{print} END {print "$storedvariable"}' | crontab Does not... (3 Replies)
Discussion started by: gtsonoma
3 Replies

7. HP-UX

Software updates?

On Hp-ux,I'm not talking about security patches.But free products like SecureShell. How to know if update is avaliable?On Solaris11 is possible using pkg update. On hpux?Some tool to check for outdated products and tell if new version is avaliable? ---------- Post updated at 03:24 AM... (1 Reply)
Discussion started by: Linusolaradm1
1 Replies
yum-aliases(1)															    yum-aliases(1)

NAME
yum aliases plugin SYNOPSIS
yum [options] alias DESCRIPTION
This plugin changes other commands in yum, much like the alias command in bash. There are a couple of notable differences from shell style aliases though. The alias command has three forms: * alias * alias command * alias command result The first form lists all current aliases with their final result, the second form looks up a "command" and shows it's final result or an error message. The last form creates a new alias. Explanation of alias to final result conversion When you type an aliased command, like "yum --disableexcludes UPT lsu" using the default aliases, the yum-aliases plugin first takes the first "command", by skipping over any options, and then looks up the result (in this case "UPT" is converted to "--enablerepo=updates-test- ing"). If there is a match, then it will replace the aliased "command" in the argument list and try again (again skipping over any options). By convention, in the default aliases list, alias "commands" that are in all CAPS only add options so you can join together a chain of them before any real command or aliased command. There are two things that can alter the above, if you have the "recursive" configuration option set to off then alias processing will stop after the first alias to command substitution. Also, like in shell aliases, if the result starts with then alias processing will stop. EXAMPLES
To create a new alias command called "rm" which does the same thing as the command "remove" use: yum alias rm remove To always add the --skip-broken --disableexcludes=all --obsoletes options to the update command (but leaving the upgrade option alone), you could use: yum alias update update --skip-broken --disableexcludes=all --obsoletes To override the default "up" alias to use the above update command, and never ask for confirmation, you could use: yum alias up update -y AUTHORS
James Antill <james@and.org> SEE ALSO
yum-utils(1) yum(1) James Antill 31 March 2008 yum-aliases(1)
All times are GMT -4. The time now is 05:03 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy