Chinaunix首页 | 论坛 | 博客
  • 博客访问: 2794458
  • 博文数量: 423
  • 博客积分: 7770
  • 博客等级: 少将
  • 技术积分: 4766
  • 用 户 组: 普通用户
  • 注册时间: 2006-11-09 11:58
个人简介

Oracle/DB2/Postgresql/Mysql/Hadoop/Greenplum/Postgres-xl/Mongodb

文章分类

全部博文(423)

文章存档

2019年(3)

2018年(6)

2017年(27)

2016年(23)

2015年(30)

2014年(16)

2013年(31)

2012年(73)

2011年(45)

2010年(14)

2009年(30)

2008年(30)

2007年(63)

2006年(32)

分类: LINUX

2007-07-31 15:25:09

使用yum更新Redhat ES 4

 [root@webbak ~]#wget -c 2.1.11-1.noarch.rpm

 [root@webbak ~]##rpm -ivh yum-2.1.11-1.noarch.rpm

 [root@webbak ~]# vi /etc/yum.repos.d/CentOS-Base.repo

 [base]

name=RHEL4-Base

baseurl=

gpgcheck=1

gpgkey=

 #released updates

[update]

name=RHEL4 - Updates

baseurl=

gpgcheck=1

gpgkey=

~

[root@webbak ~]# yum -y update

 You have enabled checking of packages via GPG keys. This is a good thing.

However, you do not have any GPG public keys installed. You need to download

the keys for packages you wish to install and install them.

You can do that by running the command:

    rpm --import public.gpg.key

For more information contact your distribution or package provider.

[root@webbak ~]# rpm --import

[root@webbak~]# rpm --import -centos4

[root@webbak ~]# yum  -y update

 正在升级中.............呵呵

 --> Downloading header for xorg-x11-xfs to pack into transaction set.

xorg-x11-xfs-6.8.2-1.EL.3   3% |                         | 8.0 kB    00:42 ETAxorg-x11-xfs-6.8.2-1.EL.3   6% |=                        |  16 kB    00:38 ETAxorg-x11-xfs-6.8.2-1.EL.3  12% |===                      |  32 kB    00:29 ETAxorg-x11-xfs-6.8.2-1.EL.3  24% |======                   |  64 kB    00:16 ETAxorg-x11-xfs-6.8.2-1.EL.3  45% |===========              | 120 kB    00:07 ETAxorg-x11-xfs-6.8.2-1.EL.3  66% |================         | 176 kB    00:02 ETAxorg-x11-xfs-6.8.2-1.EL.3  69% |=================        | 184 kB    00:02 ETAxorg-x11-xfs-6.8.2-1.EL.3  84% |=====================    | 224 kB    00:01 ETAxorg-x11-xfs-6.8.2-1.EL.3  99% |======================== | 264 kB    00:00 ETAxorg-x11-xfs-6.8.2-1.EL.3 100% |=========================| 265 kB    00:08    

---> Package xorg-x11-xfs.i386 0:6.8.2-1.EL.31 set to be updated

---> Downloading header for miniChinput to pack into transaction set.

miniChinput-0.0.3-64.i386  71% |=================        | 8.0 kB    00:00 ETAminiChinput-0.0.3-64.i386 100% |=========================|  11 kB    00:00 ETAminiChinput-0.0.3-64.i386 100% |=========================|  11 kB    00:03    

---> Package miniChinput.i386 0:0.0.3-64 set to be updated

---> Downloading header for libgcc to pack into transaction set.

libgcc-3.4.6-8.i386.rpm    23% |=====                    | 8.0 kB    00:06 ETAlibgcc-3.4.6-8.i386.rpm    46% |===========              |  16 kB    00:04 ETAlibgcc-3.4.6-8.i386.rpm    92% |=======================  |  32 kB    00:00 ETAlibgcc-3.4.6-8.i386.rpm   100% |=========================|  34 kB    00:05    

---> Package libgcc.i386 0:3.4.6-8 set to be updated

---> Downloading header for netpbm to pack into transaction set.

netpbm-10.25-2.EL4.6.i386  71% |=================        | 8.0 kB    00:00 ETAnetpbm-10.25-2.EL4.6.i386 100% |=========================|  11 kB    00:00 ETAnetpbm-10.25-2.EL4.6.i386 100% |=========================|  11 kB    00:03    

---> Package netpbm.i386 0:10.25-2.EL4.6 set to be updated

---> Downloading header for libungif to pack into transaction set.

libungif-4.1.3-1.el4.2.i3 100% |=========================| 6.5 kB    00:00 ETAlibungif-4.1.3-1.el4.2.i3 100% |=========================| 6.5 kB    00:01    

---> Package libungif.i386 0:4.1.3-1.el4.2 set to be updated

---> Downloading header for mod_ssl to pack into transaction set.

mod_ssl-2.0.52-32.3.ent.c  31% |=======                  | 8.0 kB    00:04 ETAmod_ssl-2.0.52-32.3.ent.c  63% |===============          |  16 kB    00:02 ETAmod_ssl-2.0.52-32.3.ent.c 100% |=========================|  25 kB    00:04    

 

阅读(2560) | 评论(1) | 转发(0) |
给主人留下些什么吧!~~

chinaunix网友2008-03-19 14:49:40

[root@PSX ~]# rpm --import http://mirror.be10.com/centos/4/os/i386/RPM-GPG-KEY error: http://mirror.be10.com/centos/4/os/i386/RPM-GPG-KEY: import read failed.