概要. RPMforgeリポジトリ導入の検証のため試しにPerlモジュールをインストールしてみます。
前提.

1. PerlのURI::Findモジュールのインストール

# yum -y --enablerepo=rpmforge install perl-URI-Find

Loaded plugins: downloadonly, fastestmirror, priorities
Loading mirror speeds from cached hostfile
 * base: ftp.iij.ad.jp
 * extras: ftp.iij.ad.jp
 * rpmforge: ftp.riken.jp
 * updates: ftp.iij.ad.jp
base                                                               | 3.7 kB     00:00
extras                                                             | 3.0 kB     00:00
rpmforge                                                           | 1.9 kB     00:00
rpmforge/primary_db                                                | 2.5 MB     00:01
updates                                                            | 3.5 kB     00:00
11 packages excluded due to repository priority protections
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package perl-URI-Find.noarch 0:20100505-1.el6.rf will be installed
--> Processing Dependency: perl(URI::URL) >= 5.00 for package: perl-URI-Find-20100505-1.el6.rf.noarch
--> Processing Dependency: perl(URI) >= 1.00 for package: perl-URI-Find-20100505-1.el6.rf.noarch
--> Running transaction check
---> Package perl-URI.noarch 0:1.40-2.el6 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

==========================================================================================
 Package               Arch           Version                      Repository        Size
==========================================================================================
Installing:
 perl-URI-Find         noarch         20100505-1.el6.rf            rpmforge          25 k
Installing for dependencies:
 perl-URI              noarch         1.40-2.el6                   base             117 k

Transaction Summary
==========================================================================================
Install       2 Package(s)

Total download size: 141 k
Installed size: 290 k
Downloading Packages:
(1/2): perl-URI-1.40-2.el6.noarch.rpm                              | 117 kB     00:00     
(2/2): perl-URI-Find-20100505-1.el6.rf.noarch.rpm                  |  25 kB     00:00     
------------------------------------------------------------------------------------------
Total                                                     656 kB/s | 141 kB     00:00     
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Warning: RPMDB altered outside of yum.
  Installing : perl-URI-1.40-2.el6.noarch                                             1/2

  Installing : perl-URI-Find-20100505-1.el6.rf.noarch                                 2/2

  Verifying  : perl-URI-1.40-2.el6.noarch                                             1/2

  Verifying  : perl-URI-Find-20100505-1.el6.rf.noarch                                 2/2

Installed:
  perl-URI-Find.noarch 0:20100505-1.el6.rf
Dependency Installed:
  perl-URI.noarch 0:1.40-2.el6
Complete!

2. インストールしたモジュールの削除

# yum remove perl-URI-Find

Loaded plugins: downloadonly, fastestmirror, priorities
Setting up Remove Process
Resolving Dependencies
--> Running transaction check
---> Package perl-URI-Find.noarch 0:20100505-1.el6.rf will be erased
--> Finished Dependency Resolution

Dependencies Resolved

==========================================================================================
 Package               Arch           Version                     Repository         Size
==========================================================================================
Removing:
 perl-URI-Find         noarch         20100505-1.el6.rf           @rpmforge          40 k

Transaction Summary
==========================================================================================
Remove        1 Package(s)

Installed size: 40 k
Is this ok [y/N]: y
Downloading Packages:
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
  Erasing    : perl-URI-Find-20100505-1.el6.rf.noarch                                 1/1
  Verifying  : perl-URI-Find-20100505-1.el6.rf.noarch                                 1/1 
Removed:
  perl-URI-Find.noarch 0:20100505-1.el6.rf                                                
Complete!
# yum remove perl-URI

Loaded plugins: downloadonly, fastestmirror, priorities
Setting up Remove Process
Resolving Dependencies
--> Running transaction check
---> Package perl-URI.noarch 0:1.40-2.el6 will be erased
--> Finished Dependency Resolution

Dependencies Resolved

==========================================================================================
 Package              Arch               Version                  Repository         Size
==========================================================================================
Removing:
 perl-URI             noarch             1.40-2.el6               @base             250 k

Transaction Summary
==========================================================================================
Remove        1 Package(s)

Installed size: 250 k
Is this ok [y/N]: y
Downloading Packages:
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
  Erasing    : perl-URI-1.40-2.el6.noarch                                             1/1
  Verifying  : perl-URI-1.40-2.el6.noarch                                             1/1 
Removed:
  perl-URI.noarch 0:1.40-2.el6                                                            
Complete!
 

最終更新のRSS
Last-modified: 2014-03-11 (火) 02:00:03 (1774d)