Under Construction

YUM Repositories

YUM repositories can be available either locally (access via local file system) or remotely (access via FTP, HTTP or HTTPS). In order that a YUM repository can be used by YUM, it must be stored in the YUM configuration.

The createrepo command from the RPM package of the same name is required to create local YUM repositories. For the administration of YUM repositories the RPM package yum-utils provides some usefull commands. Both RPM packages should therefore be installed at least on systems with local YUM repositories (e.g. NIM server):

aixnim # yum install createrepo yum-utils
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package createrepo.noarch 0:0.10.3-3 will be installed
--> Processing Dependency: libxml2-python >= 2.7.8 for package: createrepo-0.10.3-3.noarch
--> Processing Dependency: python-deltarpm for package: createrepo-0.10.3-3.noarch
--> Processing Dependency: xz for package: createrepo-0.10.3-3.noarch
---> Package yum-utils.noarch 0:1.1.31-2 will be installed
--> Running transaction check
---> Package libxml2-python.ppc 0:2.9.11-1 will be installed
---> Package python-deltarpm.ppc 0:3.6-1 will be installed
--> Processing Dependency: deltarpm = 3.6-1 for package: python-deltarpm-3.6-1.ppc
---> Package xz.ppc 0:5.2.5-1 will be installed
--> Running transaction check
---> Package deltarpm.ppc 0:3.6-1 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

========================================================================================================
Package                    Arch              Version               Repository                     Size
========================================================================================================
Installing:
createrepo                 noarch            0.10.3-3              AIX_Toolbox_noarch             90 k
yum-utils                  noarch            1.1.31-2              AIX_Toolbox_noarch             88 k
Installing for dependencies:
deltarpm                   ppc               3.6-1                 AIX_Toolbox                   403 k
libxml2-python             ppc               2.9.11-1              AIX_Toolbox                   1.5 M
python-deltarpm            ppc               3.6-1                 AIX_Toolbox                    81 k
xz                         ppc               5.2.5-1               AIX_Toolbox                   523 k

Transaction Summary
========================================================================================================
Install       6 Packages

Total download size: 2.6 M
Installed size: 11 M
Is this ok [y/N]: y
Downloading Packages:
(1/6): createrepo-0.10.3-3.aix6.1.noarch.rpm                                     |  90 kB  00:00:00    
(2/6): deltarpm-3.6-1.aix6.1.ppc.rpm                                             | 403 kB  00:00:00    
(3/6): libxml2-python-2.9.11-1.aix6.1.ppc.rpm                                    | 1.5 MB  00:00:00    
(4/6): python-deltarpm-3.6-1.aix6.1.ppc.rpm                                      |  81 kB  00:00:00    
(5/6): xz-5.2.5-1.aix6.1.ppc.rpm                                                 | 523 kB  00:00:00    
(6/6): yum-utils-1.1.31-2.aix6.1.noarch.rpm                                      |  88 kB  00:00:00    
--------------------------------------------------------------------------------------------------------
Total                                                                    22 MB/s | 2.6 MB     00:00    
Running Transaction Check
Running Transaction Test
Transaction Test Succeeded
Running Transaction
  Installing : deltarpm-3.6-1.ppc                                                                   1/6
  Installing : python-deltarpm-3.6-1.ppc                                                            2/6
  Installing : libxml2-python-2.9.11-1.ppc                                                          3/6
  Installing : xz-5.2.5-1.ppc                                                                       4/6
  Installing : createrepo-0.10.3-3.noarch                                                           5/6
  Installing : yum-utils-1.1.31-2.noarch                                                            6/6

Installed:
  createrepo.noarch 0:0.10.3-3                        yum-utils.noarch 0:1.1.31-2                      

Dependency Installed:
  deltarpm.ppc 0:3.6-1  libxml2-python.ppc 0:2.9.11-1  python-deltarpm.ppc 0:3.6-1  xz.ppc 0:5.2.5-1

Complete!
aixnim #