yum

  • Published on Aug 10 2007
  • # 5
  • *nix

‘Everythin’ about yum – Yellowdog Updater Modified. Yum is an interactive, automated update program which can be used for maintaining systems using rpm.

Enable YUM behind a Proxy Server

To enable yum behind a proxy server add the http_proxy environment variable to you shell:

$ export http_proxy='http://<username>:<password>@<proxyserver>:<port>'

yum update

Below is the logging of a ‘yum update’ session.

[root@localhost ~]# yum update
Loading "installonlyn" plugin
Setting up Update Process
Setting up repositories
base                      100% |=========================| 1.1 kB    00:00
updates                   100% |=========================|  951 B    00:00
addons                    100% |=========================|  951 B    00:00
extras                    100% |=========================| 1.1 kB    00:00
Reading repository metadata in from local files
primary.xml.gz            100% |=========================| 249 kB    00:01
updates   : ################################################## 552/552
Added 25 new packages, deleted 0 old in 0.76 seconds
primary.xml.gz            100% |=========================|  62 kB    00:00
extras    : ################################################## 233/233
Added 5 new packages, deleted 0 old in 0.21 seconds
Resolving Dependencies
--> Populating transaction set with selected packages. Please wait.
---> Downloading header for cups to pack into transaction set.
cups-1.2.4-11.5.3.el5.i38 100% |=========================| 162 kB    00:00
---> Package cups.i386 1:1.2.4-11.5.3.el5 set to be updated
---> Downloading header for cups-libs to pack into transaction set.
cups-libs-1.2.4-11.5.3.el 100% |=========================|  38 kB    00:00
---> Package cups-libs.i386 1:1.2.4-11.5.3.el5 set to be updated
--> Running transaction check

Dependencies Resolved

=============================================================================
 Package                 Arch       Version          Repository        Size
=============================================================================
Updating:
 cups                    i386       1:1.2.4-11.5.3.el5  updates           2.7 M
 cups-libs               i386       1:1.2.4-11.5.3.el5  updates           178 k

Transaction Summary
=============================================================================
Install      0 Package(s)
Update       2 Package(s)
Remove       0 Package(s)

Total download size: 2.9 M
Is this ok [y/N]: y
Downloading Packages:
(1/2): cups-1.2.4-11.5.3. 100% |=========================| 2.7 MB    00:05
(2/2): cups-libs-1.2.4-11 100% |=========================| 178 kB    00:00
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
  Updating  : cups-libs                    ######################### [1/4]
  Updating  : cups                         ######################### [2/4]
  Cleanup   : cups                         ######################### [3/4]
  Cleanup   : cups-libs                    ######################### [4/4]

Updated: cups.i386 1:1.2.4-11.5.3.el5 cups-libs.i386 1:1.2.4-11.5.3.el5
Complete!
[root@localhost ~]#

Leave a Reply

Helpful? - leave your note below so I can brag

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>