|
|
把上一次UPDATE的/var/cache/yum/updaet/package里的包全保存下来....然后...yum update...
CentOS-Base.repo内容:
# CentOS-Base.repo
#
# This file uses a new mirrorlist system developed by Lance Davis for CentOS.
# The mirror system uses the connecting IP address of the client and the
# update status of each mirror to pick mirrors that are updated to and
# geographically close to the client. You should use this for CentOS updates
# unless you are manually picking other mirrors.
#
# If the mirrorlist= does not work for you, as a fall back you can try the
# remarked out baseurl= line instead.
#
#
[base]
name=CentOS-4 - Base
baseurl=http://mirror.be10.com/centos/4/os/i386/
gpgcheck=1
#released updates
[update]
name=CentOS-4 - Updates
baseurl=http://mirror.be10.com/centos/4/updates/i386/
gpgcheck=1
#packages used/produced in the build but not released
[addons]
name=CentOS-4 - Addons
baseurl=http://mirror.be10.com/centos/4/addons/i386/
gpgcheck=1
#additional packages that may be useful
[extras]
name=CentOS-4 - Extras
baseurl=http://mirror.be10.com/centos/4/extras/i386/
gpgcheck=1
#additional packages that extend functionality of existing packages
[centosplus]
name=CentOS-4 - Plus
baseurl=http://mirror.be10.com/centos/4/centosplus/i386/
gpgcheck=1
enabled=0
#contrib - packages by Centos Users
[contrib]
name=CentOS-4 - Contrib
baseurl=http://mirror.be10.com/centos/4/contrib/i386/
gpgcheck=1
enabled=0
#packages in testing
[testing]
name=CentOS-4 - Testing
baseurl=http://mirror.be10.com/centos/4/testing/i386/
gpgcheck=1
enabled=0
[root@localhost ~]# rpm --import http://mirror.be10.com/centos/RPM-GPG-KEY-CentOS-4
[root@localhost ~]# yum update
Setting up Update Process
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% |=========================| 55 kB 00:00
update : ################################################## 171/171
Added 171 new packages, deleted 0 old in 1.65 seconds
primary.xml.gz 100% |=========================| 569 kB 00:05
base : ################################################## 1500/1500
Added 1500 new packages, deleted 0 old in 13.66 seconds
primary.xml.gz 100% |=========================| 157 B 00:00
Added 0 new packages, deleted 0 old in 0.01 seconds
primary.xml.gz 100% |=========================| 32 kB 00:00
extras : ################################################## 124/124
Added 124 new packages, deleted 0 old in 0.71 seconds
Resolving Dependencies
--> Populating transaction set with selected packages. Please wait.
---> Downloading header for openssh to pack into transaction set.
openssh-3.9p1-8.RHEL4.17. 100% |=========================| 30 kB 00:00
---> Package openssh.i386 0:3.9p1-8.RHEL4.17.1 set to be updated
---> Downloading header for python to pack into transaction set.
python-2.3.4-14.3.i386.rp 100% |=========================| 191 kB 00:01
---> Package python.i386 0:2.3.4-14.3 set to be updated
---> Downloading header for gnutls to pack into transaction set.
gnutls-1.0.20-3.2.3.i386. 100% |=========================| 4.3 kB 00:00
---> Package gnutls.i386 0:1.0.20-3.2.3 set to be updated
---> Downloading header for kernel-hugemem-devel to pack into transaction set.
kernel-hugemem-devel-2.6. 100% |=========================| 724 kB 00:06
---> Package kernel-hugemem-devel.i686 0:2.6.9-42.0.3.EL set to be updated
---> Downloading header for openssl-devel to pack into transaction set.
openssl-devel-0.9.7a-43.1 100% |=========================| 126 kB 00:01
---> Package openssl-devel.i586 0:0.9.7a-43.14 set to be updated
---> Downloading header for seamonkey-nss to pack into transaction set.
seamonkey-nss-1.0.6-0.1.e 100% |=========================| 5.7 kB 00:00
---> Package seamonkey-nss.i386 0:1.0.6-0.1.el4.centos4 set to be updated
---> Downloading header for openssh-askpass to pack into transaction set.
openssh-askpass-3.9p1-8.R 100% |=========================| 28 kB 00:00
---> Package openssh-askpass.i386 0:3.9p1-8.RHEL4.17.1 set to be updated
---> Downloading header for openssh-askpass-gnome to pack into transaction set.
openssh-askpass-gnome-3.9 100% |=========================| 27 kB 00:00
---> Package openssh-askpass-gnome.i386 0:3.9p1-8.RHEL4.17.1 set to be updated
---> Downloading header for xorg-x11 to pack into transaction set.
xorg-x11-6.8.2-1.EL.13.37 100% |=========================| 345 kB 00:03
---> Package xorg-x11.i386 0:6.8.2-1.EL.13.37.2 set to be updated
---> Downloading header for qt to pack into transaction set.
qt-3.3.3-10.RHEL4.i386.rp 100% |=========================| 32 kB 00:00
---> Package qt.i386 1:3.3.3-10.RHEL4 set to be updated
---> Downloading header for xorg-x11-Mesa-libGL to pack into transaction set.
xorg-x11-Mesa-libGL-6.8.2 100% |=========================| 255 kB 00:02
---> Package xorg-x11-Mesa-libGL.i386 0:6.8.2-1.EL.13.37.2 set to be updated
---> Downloading header for tzdata to pack into transaction set.
tzdata-2006m-3.el4.noarch 100% |=========================| 177 kB 00:01
---> Package tzdata.noarch 0:2006m-3.el4 set to be updated
---> Downloading header for xorg-x11-xauth to pack into transaction set.
xorg-x11-xauth-6.8.2-1.EL 100% |=========================| 254 kB 00:02
---> Package xorg-x11-xauth.i386 0:6.8.2-1.EL.13.37.2 set to be updated
---> Downloading header for xorg-x11-libs to pack into transaction set.
xorg-x11-libs-6.8.2-1.EL. 100% |=========================| 287 kB 00:02
---> Package xorg-x11-libs.i386 0:6.8.2-1.EL.13.37.2 set to be updated
---> Downloading header for up2date-gnome to pack into transaction set.
up2date-gnome-4.4.69-25.c 100% |=========================| 12 kB 00:00
---> Package up2date-gnome.i386 0:4.4.69-25.centos4.7 set to be updated
---> Downloading header for xorg-x11-twm to pack into transaction set.
xorg-x11-twm-6.8.2-1.EL.1 100% |=========================| 254 kB 00:02
---> Package xorg-x11-twm.i386 0:6.8.2-1.EL.13.37.2 set to be updated
---> Downloading header for xorg-x11-xfs to pack into transaction set.
xorg-x11-xfs-6.8.2-1.EL.1 100% |=========================| 260 kB 00:02
---> Package xorg-x11-xfs.i386 0:6.8.2-1.EL.13.37.2 set to be updated
---> Downloading header for openssl to pack into transaction set.
openssl-0.9.7a-43.14.i686 100% |=========================| 28 kB 00:00
---> Package openssl.i686 0:0.9.7a-43.14 set to be updated
---> Downloading header for firefox to pack into transaction set.
firefox-1.5.0.8-0.1.el4.c 100% |=========================| 82 kB 00:00
---> Package firefox.i386 0:1.5.0.8-0.1.el4.centos4 set to be updated
---> Downloading header for openssh-clients to pack into transaction set.
openssh-clients-3.9p1-8.R 100% |=========================| 29 kB 00:00
---> Package openssh-clients.i386 0:3.9p1-8.RHEL4.17.1 set to be updated
---> Downloading header for nss_ldap to pack into transaction set.
nss_ldap-226-17.i386.rpm 100% |=========================| 23 kB 00:00
---> Package nss_ldap.i386 0:226-17 set to be updated
---> Downloading header for xorg-x11-Mesa-libGLU to pack into transaction set.
xorg-x11-Mesa-libGLU-6.8. 100% |=========================| 255 kB 00:02
---> Package xorg-x11-Mesa-libGLU.i386 0:6.8.2-1.EL.13.37.2 set to be updated
---> Downloading header for hwdata to pack into transaction set.
hwdata-0.146.23.EL-1.noar 100% |=========================| 18 kB 00:00
---> Package hwdata.noarch 0:0.146.23.EL-1 set to be updated
---> Downloading header for iproute to pack into transaction set.
iproute-2.6.9-3.EL4.3.cen 100% |=========================| 14 kB 00:00
---> Package iproute.i386 0:2.6.9-3.EL4.3.centos4 set to be updated
---> Downloading header for openssh-server to pack into transaction set.
openssh-server-3.9p1-8.RH 100% |=========================| 30 kB 00:00
---> Package openssh-server.i386 0:3.9p1-8.RHEL4.17.1 set to be updated
---> Downloading header for ImageMagick to pack into transaction set.
ImageMagick-6.0.7.1-16.i3 100% |=========================| 43 kB 00:00
---> Package ImageMagick.i386 0:6.0.7.1-16 set to be updated
---> Downloading header for kernel to pack into transaction set.
kernel-2.6.9-42.0.3.EL.i6 100% |=========================| 206 kB 00:01
---> Package kernel.i686 0:2.6.9-42.0.3.EL set to be installed
---> Downloading header for info to pack into transaction set.
info-4.7-5.el4.2.i386.rpm 100% |=========================| 9.6 kB 00:00
---> Package info.i386 0:4.7-5.el4.2 set to be updated
---> Downloading header for kernel-smp-devel to pack into transaction set.
kernel-smp-devel-2.6.9-42 100% |=========================| 716 kB 00:06
---> Package kernel-smp-devel.i686 0:2.6.9-42.0.3.EL set to be updated
---> Downloading header for xorg-x11-deprecated-libs to pack into transaction set.
xorg-x11-deprecated-libs- 100% |=========================| 254 kB 00:02
---> Package xorg-x11-deprecated-libs.i386 0:6.8.2-1.EL.13.37.2 set to be updated
---> Downloading header for python-devel to pack into transaction set.
python-devel-2.3.4-14.3.i 100% |=========================| 61 kB 00:00
---> Package python-devel.i386 0:2.3.4-14.3 set to be updated
---> Downloading header for xorg-x11-font-utils to pack into transaction set.
xorg-x11-font-utils-6.8.2 100% |=========================| 257 kB 00:02
---> Package xorg-x11-font-utils.i386 0:6.8.2-1.EL.13.37.2 set to be updated
---> Downloading header for xorg-x11-tools to pack into transaction set.
xorg-x11-tools-6.8.2-1.EL 100% |=========================| 260 kB 00:02
---> Package xorg-x11-tools.i386 0:6.8.2-1.EL.13.37.2 set to be updated
---> Downloading header for seamonkey-nspr to pack into transaction set.
seamonkey-nspr-1.0.6-0.1. 100% |=========================| 3.9 kB 00:00
---> Package seamonkey-nspr.i386 0:1.0.6-0.1.el4.centos4 set to be updated
---> Downloading header for texinfo to pack into transaction set.
texinfo-4.7-5.el4.2.i386. 100% |=========================| 14 kB 00:00
---> Package texinfo.i386 0:4.7-5.el4.2 set to be updated
---> Downloading header for gzip to pack into transaction set.
gzip-1.3.3-16.rhel4.i386. 100% |=========================| 11 kB 00:00
---> Package gzip.i386 0:1.3.3-16.rhel4 set to be updated
---> Downloading header for up2date to pack into transaction set.
up2date-4.4.69-25.centos4 100% |=========================| 42 kB 00:00
---> Package up2date.i386 0:4.4.69-25.centos4.7 set to be updated
---> Downloading header for elinks to pack into transaction set.
elinks-0.9.2-3.3.i386.rpm 100% |=========================| 15 kB 00:00
---> Package elinks.i386 0:0.9.2-3.3 set to be updated
---> Downloading header for kernel-devel to pack into transaction set.
kernel-devel-2.6.9-42.0.3 100% |=========================| 708 kB 00:06
---> Package kernel-devel.i686 0:2.6.9-42.0.3.EL set to be installed
---> Downloading header for sysreport to pack into transaction set.
sysreport-1.3.15-8.noarch 100% |=========================| 9.4 kB 00:00
---> Package sysreport.noarch 0:1.3.15-8 set to be updated
--> Running transaction check
Dependencies Resolved
=============================================================================
Package Arch Version Repository Size
=============================================================================
Installing:
kernel i686 2.6.9-42.0.3.EL update 11 M
kernel-devel i686 2.6.9-42.0.3.EL update 3.7 M
Updating:
ImageMagick i386 6.0.7.1-16 update 2.4 M
elinks i386 0.9.2-3.3 update 839 k
firefox i386 1.5.0.8-0.1.el4.centos4 update 15 M
gnutls i386 1.0.20-3.2.3 update 259 k
gzip i386 1.3.3-16.rhel4 update 88 k
hwdata noarch 0.146.23.EL-1 update 337 k
info i386 4.7-5.el4.2 update 145 k
iproute i386 2.6.9-3.EL4.3.centos4 update 932 k
kernel-hugemem-devel i686 2.6.9-42.0.3.EL update 3.7 M
kernel-smp-devel i686 2.6.9-42.0.3.EL update 3.7 M
nss_ldap i386 226-17 update 1.0 M
openssh i386 3.9p1-8.RHEL4.17.1 update 317 k
openssh-askpass i386 3.9p1-8.RHEL4.17.1 update 50 k
openssh-askpass-gnome i386 3.9p1-8.RHEL4.17.1 update 32 k
openssh-clients i386 3.9p1-8.RHEL4.17.1 update 341 k
openssh-server i386 3.9p1-8.RHEL4.17.1 update 208 k
openssl i686 0.9.7a-43.14 update 1.1 M
openssl-devel i586 0.9.7a-43.14 update 1.6 M
python i386 2.3.4-14.3 update 4.8 M
python-devel i386 2.3.4-14.3 update 1.4 M
qt i386 1:3.3.3-10.RHEL4 update 2.9 M
seamonkey-nspr i386 1.0.6-0.1.el4.centos4 update 98 k
seamonkey-nss i386 1.0.6-0.1.el4.centos4 update 693 k
sysreport noarch 1.3.15-8 update 18 k
texinfo i386 4.7-5.el4.2 update 743 k
tzdata noarch 2006m-3.el4 update 444 k
up2date i386 4.4.69-25.centos4.7 update 1.8 M up2date-gnome i386 4.4.69-25.centos4.7 update 106 k xorg-x11 i386 6.8.2-1.EL.13.37.2 update 13 M
xorg-x11-Mesa-libGL i386 6.8.2-1.EL.13.37.2 update 378 k
xorg-x11-Mesa-libGLU i386 6.8.2-1.EL.13.37.2 update 444 k
xorg-x11-deprecated-libs i386 6.8.2-1.EL.13.37.2 update 266 k
xorg-x11-font-utils i386 6.8.2-1.EL.13.37.2 update 302 k
xorg-x11-libs i386 6.8.2-1.EL.13.37.2 update 2.7 M
xorg-x11-tools i386 6.8.2-1.EL.13.37.2 update 511 k
xorg-x11-twm i386 6.8.2-1.EL.13.37.2 update 339 k
xorg-x11-xauth i386 6.8.2-1.EL.13.37.2 update 280 k
xorg-x11-xfs i386 6.8.2-1.EL.13.37.2 update 315 k
Transaction Summary
=============================================================================
Install 2 Package(s)
Update 38 Package(s)
Remove 0 Package(s)
Total download size: 78 M
Is this ok [y/N]: y
Downloading Packages:
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
Updating : openssl ####################### [ 1/78]
Updating : python ####################### [ 2/78]
Updating : openssh ####################### [ 3/78]
Updating : info ####################### [ 4/78]
Updating : seamonkey-nspr ####################### [ 5/78]
Updating : up2date ####################### [ 6/78]
Installing: kernel ####################### [ 7/78]
Updating : seamonkey-nss ####################### [ 8/78]
Updating : gnutls ####################### [ 9/78]
Updating : up2date-gnome ####################### [10/78]
Updating : texinfo ####################### [11/78]
Updating : gzip ####################### [12/78]
Updating : openssh-clients ####################### [13/78]
Updating : openssh-server ####################### [14/78]
Updating : python-devel ####################### [15/78]
Updating : openssl-devel ####################### [16/78]
Updating : elinks ####################### [17/78]
Updating : sysreport ####################### [18/78]
Installing: kernel-devel ####################### [19/78]
Updating : kernel-smp-devel ####################### [20/78]
Updating : iproute ####################### [21/78]
Updating : hwdata ####################### [22/78]
Updating : nss_ldap ####################### [23/78]
Updating : tzdata ####################### [24/78]
Updating : kernel-hugemem-devel ####################### [25/78]
Updating : xorg-x11-libs ####################### [26/78]
Updating : xorg-x11-Mesa-libGL ####################### [27/78]
Updating : xorg-x11-font-utils ####################### [28/78]
Updating : xorg-x11-Mesa-libGLU ####################### [29/78]
Updating : xorg-x11-xauth ####################### [30/78]
Updating : xorg-x11-xfs ####################### [31/78]
Updating : xorg-x11 ####################### [32/78]
Updating : qt ####################### [33/78]
Updating : ImageMagick ####################### [34/78]
Updating : openssh-askpass ####################### [35/78]
Updating : openssh-askpass-gnome ####################### [36/78]
Updating : xorg-x11-twm ####################### [37/78]
Updating : firefox ####################### [38/78]
Updating : xorg-x11-deprecated-libs ####################### [39/78]
Updating : xorg-x11-tools ####################### [40/78]
Cleanup : openssh ####################### [41/78]
Cleanup : python ####################### [42/78]
Cleanup : gnutls ####################### [43/78]
Cleanup : kernel-hugemem-devel ####################### [44/78]
Cleanup : openssl-devel ####################### [45/78]
Cleanup : seamonkey-nss ####################### [46/78]
Cleanup : openssh-askpass ####################### [47/78]
Cleanup : openssh-askpass-gnome ####################### [48/78]
Cleanup : xorg-x11 ####################### [49/78]
Cleanup : qt ####################### [50/78]
Cleanup : xorg-x11-Mesa-libGL ####################### [51/78]
Cleanup : tzdata ####################### [52/78]
Cleanup : xorg-x11-xauth ####################### [53/78]
Cleanup : xorg-x11-libs ####################### [54/78]
Cleanup : up2date-gnome ####################### [55/78]
Cleanup : xorg-x11-twm ####################### [56/78]
Cleanup : xorg-x11-xfs ####################### [57/78]
Cleanup : openssl ####################### [58/78]
Cleanup : firefox ####################### [59/78]
Cleanup : openssh-clients ####################### [60/78]
Cleanup : nss_ldap ####################### [61/78]
Cleanup : xorg-x11-Mesa-libGLU ####################### [62/78]
Cleanup : hwdata ####################### [63/78]
Cleanup : iproute ####################### [64/78]
Cleanup : openssh-server ####################### [65/78]
Cleanup : ImageMagick ####################### [66/78]
Cleanup : info ####################### [67/78]
Cleanup : kernel-smp-devel ####################### [68/78]
Cleanup : xorg-x11-deprecated-libs ####################### [69/78]
Cleanup : python-devel ####################### [70/78]
Cleanup : xorg-x11-font-utils ####################### [71/78]
Cleanup : xorg-x11-tools ####################### [72/78]
Cleanup : seamonkey-nspr ####################### [73/78]
Cleanup : texinfo ####################### [74/78]
Cleanup : gzip ####################### [75/78]
Cleanup : up2date ####################### [76/78]
Cleanup : elinks ####################### [77/78]
Cleanup : sysreport ####################### [78/78]
Installed: kernel.i686 0:2.6.9-42.0.3.EL kernel-devel.i686 0:2.6.9-42.0.3.EL
Updated: ImageMagick.i386 0:6.0.7.1-16 elinks.i386 0:0.9.2-3.3 firefox.i386 0:1.5.0.8-0.1.el4.centos4 gnutls.i386 0:1.0.20-3.2.3 gzip.i386 0:1.3.3-16.rhel4 hwdata.noarch 0:0.146.23.EL-1 info.i386 0:4.7-5.el4.2 iproute.i386 0:2.6.9-3.EL4.3.centos4 kernel-hugemem-devel.i686 0:2.6.9-42.0.3.EL kernel-smp-devel.i686 0:2.6.9-42.0.3.EL nss_ldap.i386 0:226-17 openssh.i386 0:3.9p1-8.RHEL4.17.1 openssh-askpass.i386 0:3.9p1-8.RHEL4.17.1 openssh-askpass-gnome.i386 0:3.9p1-8.RHEL4.17.1 openssh-clients.i386 0:3.9p1-8.RHEL4.17.1 openssh-server.i386 0:3.9p1-8.RHEL4.17.1 openssl.i686 0:0.9.7a-43.14 openssl-devel.i586 0:0.9.7a-43.14 python.i386 0:2.3.4-14.3 python-devel.i386 0:2.3.4-14.3 qt.i386 1:3.3.3-10.RHEL4 seamonkey-nspr.i386 0:1.0.6-0.1.el4.centos4 seamonkey-nss.i386 0:1.0.6-0.1.el4.centos4 sysreport.noarch 0:1.3.15-8 texinfo.i386 0:4.7-5.el4.2 tzdata.noarch 0:2006m-3.el4 up2date.i386 0:4.4.69-25.centos4.7 up2date-gnome.i386 0:4.4.69-25.centos4.7 xorg-x11.i386 0:6.8.2-1.EL.13.37.2 xorg-x11-Mesa-libGL.i386 0:6.8.2-1.EL.13.37.2 xorg-x11-Mesa-libGLU.i386 0:6.8.2-1.EL.13.37.2 xorg-x11-deprecated-libs.i386 0:6.8.2-1.EL.13.37.2 xorg-x11-font-utils.i386 0:6.8.2-1.EL.13.37.2 xorg-x11-libs.i386 0:6.8.2-1.EL.13.37.2 xorg-x11-tools.i386 0:6.8.2-1.EL.13.37.2 xorg-x11-twm.i386 0:6.8.2-1.EL.13.37.2 xorg-x11-xauth.i386 0:6.8.2-1.EL.13.37.2 xorg-x11-xfs.i386 0:6.8.2-1.EL.13.37.2
Complete!
[root@localhost ~]# |
|