CentOS 4.3 で yum 利用
CentS4.3で実施したyum のログです。
[root@sip ~]# rpm --import http://ftp.riken.jp/Linux/caos/centos/RPM-GPG-KEY-CentOS-4
[root@sip tel]# vi /etc/yum.repos.d/CentOS-Base.repo
もともとのファイルはコメントアウトして、日本のサイトを設定。
[base]
name=CentOS-$releasever - Base
baseurl=http://ftp.riken.jp/Linux/centos/$releasever/os/$basearch/
gpgcheck=1
#released updates
[update]
name=CentOS-$releasever - Updates
baseurl=http://ftp.riken.jp/Linux/centos/$releasever/updates/$basearch/
gpgcheck=1
#packages used/produced in the build but not released
[addons]
name=CentOS-$releasever - Addons
baseurl=http://ftp.riken.jp/Linux/caos/centos/$releasever/addons/$basearch/
gpgcheck=1
[root@sip tel]# yum check-update
Setting up repositories
update 100% |=========================| 951 B 00:00
base 100% |=========================| 1.1 kB 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% |=========================| 19 kB 00:00
update : ################################################## 53/53
Added 53 new packages, deleted 0 old in 2.09 seconds
primary.xml.gz 100% |=========================| 554 kB 00:01
base : ################################################## 1450/1450
Added 1450 new packages, deleted 0 old in 50.75 seconds
primary.xml.gz 100% |=========================| 157 B 00:00
Added 0 new packages, deleted 0 old in 0.01 seconds
primary.xml.gz 100% |=========================| 35 kB 00:00
extras : ################################################## 161/161
Added 161 new packages, deleted 0 old in 4.42 seconds
firefox.i386 1.0.8-1.4.1.centos4 update
fontconfig.i386 2.2.3-7.centos4 update
gnupg.i386 1.2.6-3 update
ipsec-tools.i386 0.3.3-6.rhel4.1 update
mozilla-nspr.i386 37:1.7.13-1.4.1.centos update
mozilla-nss.i386 37:1.7.13-1.4.1.centos update
php.i386 4.3.9-3.12 update
php-ldap.i386 4.3.9-3.12 update
php-pear.i386 4.3.9-3.12 update
python.i386 2.3.4-14.2 update
python-devel.i386 2.3.4-14.2 update
sendmail.i386 8.13.1-3.RHEL4.3 update
tzdata.noarch 2006a-2.EL4 update
[root@sip tel]#
[root@sip tel]# yum update
Setting up Update Process
Setting up repositories
Reading repository metadata in from local files
Resolving Dependencies
--> Populating transaction set with selected packages. Please wait.
---> Downloading header for php to pack into transaction set.
php-4.3.9-3.12.i386.rpm 100% |=========================| 22 kB 00:00
---> Package php.i386 0:4.3.9-3.12 set to be updated
---> Downloading header for gnupg to pack into transaction set.
gnupg-1.2.6-3.i386.rpm 100% |=========================| 15 kB 00:00
---> Package gnupg.i386 0:1.2.6-3 set to be updated
---> Downloading header for python-devel to pack into transaction set.
python-devel-2.3.4-14.2.i 100% |=========================| 60 kB 00:00
---> Package python-devel.i386 0:2.3.4-14.2 set to be updated
---> Downloading header for php-ldap to pack into transaction set.
php-ldap-4.3.9-3.12.i386. 100% |=========================| 18 kB 00:00
---> Package php-ldap.i386 0:4.3.9-3.12 set to be updated
---> Downloading header for python to pack into transaction set.
python-2.3.4-14.2.i386.rp 100% |=========================| 191 kB 00:00
---> Package python.i386 0:2.3.4-14.2 set to be updated
---> Downloading header for ipsec-tools to pack into transaction set.
ipsec-tools-0.3.3-6.rhel4 100% |=========================| 5.9 kB 00:00
---> Package ipsec-tools.i386 0:0.3.3-6.rhel4.1 set to be updated
---> Downloading header for php-pear to pack into transaction set.
php-pear-4.3.9-3.12.i386. 100% |=========================| 33 kB 00:00
---> Package php-pear.i386 0:4.3.9-3.12 set to be updated
---> Downloading header for firefox to pack into transaction set.
firefox-1.0.8-1.4.1.cento 100% |=========================| 66 kB 00:00
---> Package firefox.i386 0:1.0.8-1.4.1.centos4 set to be updated
---> Downloading header for mozilla-nss to pack into transaction set.
mozilla-nss-1.7.13-1.4.1. 100% |=========================| 13 kB 00:00
---> Package mozilla-nss.i386 37:1.7.13-1.4.1.centos4 set to be updated
---> Downloading header for fontconfig to pack into transaction set.
fontconfig-2.2.3-7.centos 100% |=========================| 11 kB 00:00
---> Package fontconfig.i386 0:2.2.3-7.centos4 set to be updated
---> Downloading header for sendmail to pack into transaction set.
sendmail-8.13.1-3.RHEL4.3 100% |=========================| 35 kB 00:00
---> Package sendmail.i386 0:8.13.1-3.RHEL4.3 set to be updated
---> Downloading header for tzdata to pack into transaction set.
tzdata-2006a-2.EL4.noarch 100% |=========================| 173 kB 00:00
---> Package tzdata.noarch 0:2006a-2.EL4 set to be updated
---> Downloading header for mozilla-nspr to pack into transaction set.
mozilla-nspr-1.7.13-1.4.1 100% |=========================| 12 kB 00:00
---> Package mozilla-nspr.i386 37:1.7.13-1.4.1.centos4 set to be updated
--> Running transaction check
Dependencies Resolved
=============================================================================
Package Arch Version Repository Size
=============================================================================
Updating:
firefox i386 1.0.8-1.4.1.centos4 update 16 M
fontconfig i386 2.2.3-7.centos4 update 117 k
gnupg i386 1.2.6-3 update 1.6 M
ipsec-tools i386 0.3.3-6.rhel4.1 update 221 k
mozilla-nspr i386 37:1.7.13-1.4.1.centos4 update 108 k
mozilla-nss i386 37:1.7.13-1.4.1.centos4 update 679 k
php i386 4.3.9-3.12 update 1.3 M
php-ldap i386 4.3.9-3.12 update 33 k
php-pear i386 4.3.9-3.12 update 266 k
python i386 2.3.4-14.2 update 4.8 M
python-devel i386 2.3.4-14.2 update 1.4 M
sendmail i386 8.13.1-3.RHEL4.3 update 571 k
tzdata noarch 2006a-2.EL4 update 440 k
Transaction Summary
=============================================================================
Install 0 Package(s)
Update 13 Package(s)
Remove 0 Package(s)
Total download size: 27 M
Is this ok [y/N]: Y
Downloading Packages:
(1/13): php-4.3.9-3.12.i3 100% |=========================| 1.3 MB 00:01
(2/13): gnupg-1.2.6-3.i38 100% |=========================| 1.6 MB 00:02
(3/13): python-devel-2.3. 100% |=========================| 1.4 MB 00:01
(4/13): php-ldap-4.3.9-3. 100% |=========================| 33 kB 00:00
(5/13): python-2.3.4-14.2 100% |=========================| 4.8 MB 00:06
(6/13): ipsec-tools-0.3.3 100% |=========================| 221 kB 00:00
(7/13): php-pear-4.3.9-3. 100% |=========================| 266 kB 00:00
(8/13): firefox-1.0.8-1.4 100% |=========================| 16 MB 00:22
(9/13): mozilla-nss-1.7.1 100% |=========================| 679 kB 00:00
(10/13): fontconfig-2.2.3 100% |=========================| 117 kB 00:00
(11/13): sendmail-8.13.1- 100% |=========================| 571 kB 00:00
(12/13): tzdata-2006a-2.E 100% |=========================| 440 kB 00:00
(13/13): mozilla-nspr-1.7 100% |=========================| 108 kB 00:00
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
Updating : mozilla-nspr ####################### [ 1/26]
Updating : fontconfig ####################### [ 2/26]
Updating : python ####################### [ 3/26]
Updating : mozilla-nss ####################### [ 4/26]
Updating : python-devel ####################### [ 5/26]
Updating : firefox ####################### [ 6/26]
Updating : tzdata ####################### [ 7/26]
Updating : sendmail ####################### [ 8/26]
Updating : php-pear ####################### [ 9/26]
Updating : ipsec-tools ####################### [10/26]
Updating : php-ldap ####################### [11/26]
Updating : gnupg ####################### [12/26]
Updating : php ####################### [13/26]
Cleanup : php ####################### [14/26]
Cleanup : gnupg ####################### [15/26]
Cleanup : python-devel ####################### [16/26]
Cleanup : php-ldap ####################### [17/26]
Cleanup : python ####################### [18/26]
Cleanup : ipsec-tools ####################### [19/26]
Cleanup : php-pear ####################### [20/26]
Cleanup : firefox ####################### [21/26]
Cleanup : mozilla-nss ####################### [22/26]
Cleanup : fontconfig ####################### [23/26]
Cleanup : sendmail ####################### [24/26]
Cleanup : tzdata ####################### [25/26]
Cleanup : mozilla-nspr ####################### [26/26]
Updated: firefox.i386 0:1.0.8-1.4.1.centos4 fontconfig.i386 0:2.2.3-7.centos4 gnupg.i386 0:1.2.6-3 ipsec-tools.i386 0:0.3.3-6.rhel4.1 mozilla-nspr.i386 37:1.7.13-1.4.1.centos4 mozilla-nss.i386 37:1.7.13-1.4.1.centos4 php.i386 0:4.3.9-3.12 php-ldap.i386 0:4.3.9-3.12 php-pear.i386 0:4.3.9-3.12 python.i386 0:2.3.4-14.2 python-devel.i386 0:2.3.4-14.2 sendmail.i386 0:8.13.1-3.RHEL4.3 tzdata.noarch 0:2006a-2.EL4
Complete!
#自動アップデート設定
[root@sip tel]# /sbin/chkconfig yum on
[root@sip tel]#
[root@sip ~]# rpm --import http://ftp.riken.jp/Linux/caos/centos/RPM-GPG-KEY-CentOS-4
[root@sip tel]# vi /etc/yum.repos.d/CentOS-Base.repo
もともとのファイルはコメントアウトして、日本のサイトを設定。
[base]
name=CentOS-$releasever - Base
baseurl=http://ftp.riken.jp/Linux/centos/$releasever/os/$basearch/
gpgcheck=1
#released updates
[update]
name=CentOS-$releasever - Updates
baseurl=http://ftp.riken.jp/Linux/centos/$releasever/updates/$basearch/
gpgcheck=1
#packages used/produced in the build but not released
[addons]
name=CentOS-$releasever - Addons
baseurl=http://ftp.riken.jp/Linux/caos/centos/$releasever/addons/$basearch/
gpgcheck=1
[root@sip tel]# yum check-update
Setting up repositories
update 100% |=========================| 951 B 00:00
base 100% |=========================| 1.1 kB 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% |=========================| 19 kB 00:00
update : ################################################## 53/53
Added 53 new packages, deleted 0 old in 2.09 seconds
primary.xml.gz 100% |=========================| 554 kB 00:01
base : ################################################## 1450/1450
Added 1450 new packages, deleted 0 old in 50.75 seconds
primary.xml.gz 100% |=========================| 157 B 00:00
Added 0 new packages, deleted 0 old in 0.01 seconds
primary.xml.gz 100% |=========================| 35 kB 00:00
extras : ################################################## 161/161
Added 161 new packages, deleted 0 old in 4.42 seconds
firefox.i386 1.0.8-1.4.1.centos4 update
fontconfig.i386 2.2.3-7.centos4 update
gnupg.i386 1.2.6-3 update
ipsec-tools.i386 0.3.3-6.rhel4.1 update
mozilla-nspr.i386 37:1.7.13-1.4.1.centos update
mozilla-nss.i386 37:1.7.13-1.4.1.centos update
php.i386 4.3.9-3.12 update
php-ldap.i386 4.3.9-3.12 update
php-pear.i386 4.3.9-3.12 update
python.i386 2.3.4-14.2 update
python-devel.i386 2.3.4-14.2 update
sendmail.i386 8.13.1-3.RHEL4.3 update
tzdata.noarch 2006a-2.EL4 update
[root@sip tel]#
[root@sip tel]# yum update
Setting up Update Process
Setting up repositories
Reading repository metadata in from local files
Resolving Dependencies
--> Populating transaction set with selected packages. Please wait.
---> Downloading header for php to pack into transaction set.
php-4.3.9-3.12.i386.rpm 100% |=========================| 22 kB 00:00
---> Package php.i386 0:4.3.9-3.12 set to be updated
---> Downloading header for gnupg to pack into transaction set.
gnupg-1.2.6-3.i386.rpm 100% |=========================| 15 kB 00:00
---> Package gnupg.i386 0:1.2.6-3 set to be updated
---> Downloading header for python-devel to pack into transaction set.
python-devel-2.3.4-14.2.i 100% |=========================| 60 kB 00:00
---> Package python-devel.i386 0:2.3.4-14.2 set to be updated
---> Downloading header for php-ldap to pack into transaction set.
php-ldap-4.3.9-3.12.i386. 100% |=========================| 18 kB 00:00
---> Package php-ldap.i386 0:4.3.9-3.12 set to be updated
---> Downloading header for python to pack into transaction set.
python-2.3.4-14.2.i386.rp 100% |=========================| 191 kB 00:00
---> Package python.i386 0:2.3.4-14.2 set to be updated
---> Downloading header for ipsec-tools to pack into transaction set.
ipsec-tools-0.3.3-6.rhel4 100% |=========================| 5.9 kB 00:00
---> Package ipsec-tools.i386 0:0.3.3-6.rhel4.1 set to be updated
---> Downloading header for php-pear to pack into transaction set.
php-pear-4.3.9-3.12.i386. 100% |=========================| 33 kB 00:00
---> Package php-pear.i386 0:4.3.9-3.12 set to be updated
---> Downloading header for firefox to pack into transaction set.
firefox-1.0.8-1.4.1.cento 100% |=========================| 66 kB 00:00
---> Package firefox.i386 0:1.0.8-1.4.1.centos4 set to be updated
---> Downloading header for mozilla-nss to pack into transaction set.
mozilla-nss-1.7.13-1.4.1. 100% |=========================| 13 kB 00:00
---> Package mozilla-nss.i386 37:1.7.13-1.4.1.centos4 set to be updated
---> Downloading header for fontconfig to pack into transaction set.
fontconfig-2.2.3-7.centos 100% |=========================| 11 kB 00:00
---> Package fontconfig.i386 0:2.2.3-7.centos4 set to be updated
---> Downloading header for sendmail to pack into transaction set.
sendmail-8.13.1-3.RHEL4.3 100% |=========================| 35 kB 00:00
---> Package sendmail.i386 0:8.13.1-3.RHEL4.3 set to be updated
---> Downloading header for tzdata to pack into transaction set.
tzdata-2006a-2.EL4.noarch 100% |=========================| 173 kB 00:00
---> Package tzdata.noarch 0:2006a-2.EL4 set to be updated
---> Downloading header for mozilla-nspr to pack into transaction set.
mozilla-nspr-1.7.13-1.4.1 100% |=========================| 12 kB 00:00
---> Package mozilla-nspr.i386 37:1.7.13-1.4.1.centos4 set to be updated
--> Running transaction check
Dependencies Resolved
=============================================================================
Package Arch Version Repository Size
=============================================================================
Updating:
firefox i386 1.0.8-1.4.1.centos4 update 16 M
fontconfig i386 2.2.3-7.centos4 update 117 k
gnupg i386 1.2.6-3 update 1.6 M
ipsec-tools i386 0.3.3-6.rhel4.1 update 221 k
mozilla-nspr i386 37:1.7.13-1.4.1.centos4 update 108 k
mozilla-nss i386 37:1.7.13-1.4.1.centos4 update 679 k
php i386 4.3.9-3.12 update 1.3 M
php-ldap i386 4.3.9-3.12 update 33 k
php-pear i386 4.3.9-3.12 update 266 k
python i386 2.3.4-14.2 update 4.8 M
python-devel i386 2.3.4-14.2 update 1.4 M
sendmail i386 8.13.1-3.RHEL4.3 update 571 k
tzdata noarch 2006a-2.EL4 update 440 k
Transaction Summary
=============================================================================
Install 0 Package(s)
Update 13 Package(s)
Remove 0 Package(s)
Total download size: 27 M
Is this ok [y/N]: Y
Downloading Packages:
(1/13): php-4.3.9-3.12.i3 100% |=========================| 1.3 MB 00:01
(2/13): gnupg-1.2.6-3.i38 100% |=========================| 1.6 MB 00:02
(3/13): python-devel-2.3. 100% |=========================| 1.4 MB 00:01
(4/13): php-ldap-4.3.9-3. 100% |=========================| 33 kB 00:00
(5/13): python-2.3.4-14.2 100% |=========================| 4.8 MB 00:06
(6/13): ipsec-tools-0.3.3 100% |=========================| 221 kB 00:00
(7/13): php-pear-4.3.9-3. 100% |=========================| 266 kB 00:00
(8/13): firefox-1.0.8-1.4 100% |=========================| 16 MB 00:22
(9/13): mozilla-nss-1.7.1 100% |=========================| 679 kB 00:00
(10/13): fontconfig-2.2.3 100% |=========================| 117 kB 00:00
(11/13): sendmail-8.13.1- 100% |=========================| 571 kB 00:00
(12/13): tzdata-2006a-2.E 100% |=========================| 440 kB 00:00
(13/13): mozilla-nspr-1.7 100% |=========================| 108 kB 00:00
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
Updating : mozilla-nspr ####################### [ 1/26]
Updating : fontconfig ####################### [ 2/26]
Updating : python ####################### [ 3/26]
Updating : mozilla-nss ####################### [ 4/26]
Updating : python-devel ####################### [ 5/26]
Updating : firefox ####################### [ 6/26]
Updating : tzdata ####################### [ 7/26]
Updating : sendmail ####################### [ 8/26]
Updating : php-pear ####################### [ 9/26]
Updating : ipsec-tools ####################### [10/26]
Updating : php-ldap ####################### [11/26]
Updating : gnupg ####################### [12/26]
Updating : php ####################### [13/26]
Cleanup : php ####################### [14/26]
Cleanup : gnupg ####################### [15/26]
Cleanup : python-devel ####################### [16/26]
Cleanup : php-ldap ####################### [17/26]
Cleanup : python ####################### [18/26]
Cleanup : ipsec-tools ####################### [19/26]
Cleanup : php-pear ####################### [20/26]
Cleanup : firefox ####################### [21/26]
Cleanup : mozilla-nss ####################### [22/26]
Cleanup : fontconfig ####################### [23/26]
Cleanup : sendmail ####################### [24/26]
Cleanup : tzdata ####################### [25/26]
Cleanup : mozilla-nspr ####################### [26/26]
Updated: firefox.i386 0:1.0.8-1.4.1.centos4 fontconfig.i386 0:2.2.3-7.centos4 gnupg.i386 0:1.2.6-3 ipsec-tools.i386 0:0.3.3-6.rhel4.1 mozilla-nspr.i386 37:1.7.13-1.4.1.centos4 mozilla-nss.i386 37:1.7.13-1.4.1.centos4 php.i386 0:4.3.9-3.12 php-ldap.i386 0:4.3.9-3.12 php-pear.i386 0:4.3.9-3.12 python.i386 0:2.3.4-14.2 python-devel.i386 0:2.3.4-14.2 sendmail.i386 0:8.13.1-3.RHEL4.3 tzdata.noarch 0:2006a-2.EL4
Complete!
#自動アップデート設定
[root@sip tel]# /sbin/chkconfig yum on
[root@sip tel]#