本篇博客参考:http://chinaxiaoyu.diandian.com/post/2013-01-24/40046529897。首先在浏览器中输入http://tel.mirrors.163.com/centos/ 查看最新的版本,截止到今天是6.4,然后就使用6.4的源;

在目录http://tel.mirrors.163.com/centos/6.4/os/x86_64/Packages/下载下面的软件包:

使用 rpm -Uvh --replacepkgs *.rpm --aid 进行安装:

[root@localhost matlab]# rpm -Uvh --replacepkgs *.rpm --aid
warning: python-iniparse-0.3.1-2.1.el6.noarch.rpm: Header V3 RSA/SHA256 Signature, key ID c105b9de: NOKEY
Preparing... ########################################### [100%]
1:yum-metadata-parser ########################################### [ 25%]
2:python-iniparse ########################################### [ 50%]
3:yum-plugin-fastestmirro########################################### [ 75%]
4:yum ########################################### [100%]

然后:

[root@localhost matlab]# cd /etc/yum.repos.d/
[root@localhost yum.repos.d]# rm -rf ./*
[root@localhost yum.repos.d]# wget http://mirrors.163.com/.help/CentOS6-Base-163.repo
--2013-08-25 19:48:18-- http://mirrors.163.com/.help/CentOS6-Base-163.repo
正在解析主机 mirrors.163.com... 123.58.173.106
正在连接 mirrors.163.com|123.58.173.106|:80... 已连接。
已发出 HTTP 请求,正在等待回应... 200 OK
长度:2006 (2.0K) [application/octet-stream]
正在保存至: “CentOS6-Base-163.repo” 100%[==============================================>] 2,006 --.-K/s in 0.08s 2013-08-25 19:48:25 (23.1 KB/s) - 已保存 “CentOS6-Base-163.repo” [2006/2006]) [root@localhost yum.repos.d]# ls
CentOS6-Base-163.repo

编辑上面的文件  vi CentOS6-Base-163.repo ,把$ releasever替换为6.4,然后:

[root@localhost yum.repos.d]# yum clean all
Loaded plugins: fastestmirror, product-id, subscription-manager
Updating certificate-based repositories.
Unable to read consumer identity
Cleaning repos: base extras updates
Cleaning up Everything
[root@localhost yum.repos.d]# yum makecache
Loaded plugins: fastestmirror, product-id, subscription-manager
Updating certificate-based repositories.
Unable to read consumer identity
Determining fastest mirrors
base | 3.7 kB 00:00
base/group_gz | 212 kB 00:00
base/filelists_db | 5.9 MB 00:31
base/primary_db
base/other_db
extras
extras/filelists_db
extras/prestodelta
extras/primary_db
extras/other_db
updates
updates/filelists_db
updates/prestodelta
updates/primary_db
updates/other_db
Metadata Cache Created

然后使用: yum remove PackageKit

[root@localhost yum.repos.d]# yum remove PackageKit
Loaded plugins: fastestmirror, product-id, subscription-manager
Updating certificate-based repositories.
Unable to read consumer identity
Setting up Remove Process
Resolving Dependencies
--> Running transaction check
---> Package PackageKit.x86_64 0:0.5.8-20.el6 will be erased
--> Processing Dependency: PackageKit >= 0.5.0 for package: gnome-packagekit-2.28.3-3.el6.x86_64
--> Processing Dependency: PackageKit = 0.5.8-20.el6 for package: PackageKit-glib-0.5.8-20.el6.x86_64
--> Running transaction check
---> Package PackageKit-glib.x86_64 0:0.5.8-20.el6 will be erased
--> Processing Dependency: libpackagekit-glib2.so.12()(64bit) for package: PackageKit-gstreamer-plugin-0.5.8-20.el6.x86_64
--> Processing Dependency: PackageKit-glib = 0.5.8-20.el6 for package: PackageKit-gstreamer-plugin-0.5.8-20.el6.x86_64
--> Processing Dependency: PackageKit-glib = 0.5.8-20.el6 for package: PackageKit-device-rebind-0.5.8-20.el6.x86_64
--> Processing Dependency: PackageKit-glib = 0.5.8-20.el6 for package: PackageKit-gtk-module-0.5.8-20.el6.x86_64
---> Package gnome-packagekit.x86_64 0:2.28.3-3.el6 will be erased
--> Running transaction check
---> Package PackageKit-device-rebind.x86_64 0:0.5.8-20.el6 will be erased
---> Package PackageKit-gstreamer-plugin.x86_64 0:0.5.8-20.el6 will be erased
---> Package PackageKit-gtk-module.x86_64 0:0.5.8-20.el6 will be erased
--> Finished Dependency Resolution Dependencies Resolved ========================================================================================
Package
Arch Version Repository Size
========================================================================================
Removing:
PackageKit
x86_64 0.5.8-20.el6 @anaconda-RedHatEnterpriseLinux-201206132210.x86_64/6.3 2.3 M
Removing for dependencies:
PackageKit-device-rebind
x86_64 0.5.8-20.el6 @anaconda-RedHatEnterpriseLinux-201206132210.x86_64/6.3 231 k
PackageKit-glib
x86_64 0.5.8-20.el6 @anaconda-RedHatEnterpriseLinux-201206132210.x86_64/6.3 734 k
PackageKit-gstreamer-plugin
x86_64 0.5.8-20.el6 @anaconda-RedHatEnterpriseLinux-201206132210.x86_64/6.3 232 k
PackageKit-gtk-module
x86_64 0.5.8-20.el6 @anaconda-RedHatEnterpriseLinux-201206132210.x86_64/6.3 231 k
gnome-packagekit
x86_64 2.28.3-3.el6 @anaconda-RedHatEnterpriseLinux-201206132210.x86_64/6.3 7.9 M Transaction Summary
========================================================================================
Remove 6 Package(s) Installed size: 12 M
Is this ok [y/N]: y
Downloading Packages:
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Warning: RPMDB altered outside of yum.
** Found 1 pre-existing rpmdb problem(s), 'yum check' output follows:
rhn-check-1.0.0-87.el6.noarch has missing requires of yum-rhn-plugin >= ('0', '0.9.1', '35')
  Erasing    : gnome-packagekit-2.28.3-3.el6.x86_64                                 1/6 
  Erasing    : PackageKit-device-rebind-0.5.8-20.el6.x86_64                         2/6 
  Erasing    : PackageKit-gstreamer-plugin-0.5.8-20.el6.x86_64                      3/6 
  Erasing    : PackageKit-gtk-module-0.5.8-20.el6.x86_64                            4/6 
  Erasing    : PackageKit-0.5.8-20.el6.x86_64                                       5/6 
  Erasing    : PackageKit-glib-0.5.8-20.el6.x86_64                                  6/6 
Loading mirror speeds from cached hostfile
Installed products updated.
  Verifying  : PackageKit-glib-0.5.8-20.el6.x86_64                                  1/6 
  Verifying  : gnome-packagekit-2.28.3-3.el6.x86_64                                 2/6 
  Verifying  : PackageKit-gtk-module-0.5.8-20.el6.x86_64                            3/6 
  Verifying  : PackageKit-0.5.8-20.el6.x86_64                                       4/6 
  Verifying  : PackageKit-device-rebind-0.5.8-20.el6.x86_64                         5/6 
  Verifying  : PackageKit-gstreamer-plugin-0.5.8-20.el6.x86_64                      6/6  Removed:
  PackageKit.x86_64 0:0.5.8-20.el6                                                       Dependency Removed:
  PackageKit-device-rebind.x86_64 0:0.5.8-20.el6                                        
  PackageKit-glib.x86_64 0:0.5.8-20.el6                                                 
  PackageKit-gstreamer-plugin.x86_64 0:0.5.8-20.el6                                     
  PackageKit-gtk-module.x86_64 0:0.5.8-20.el6                                           
  gnome-packagekit.x86_64 0:2.28.3-3.el6                                                 Complete!

然后使用命令 yum remove gnome-packagekit

Loaded plugins: fastestmirror, product-id, subscription-manager
Updating certificate-based repositories.
Unable to read consumer identity
Setting up Remove Process
No Match for argument: gnome-packagekit
Loading mirror speeds from cached hostfile
Package(s) gnome-packagekit available, but not installed.
No Packages marked for removal

然后使用命令:  yum install PackageKit

得到:

[root@localhost yum.repos.d]# yum install PackageKit
Loaded plugins: fastestmirror, product-id, subscription-manager
Updating certificate-based repositories.
Unable to read consumer identity
Loading mirror speeds from cached hostfile
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package PackageKit.x86_64 0:0.5.8-21.el6 will be installed
--> Processing Dependency: PackageKit-yum-plugin = 0.5.8-21.el6 for package: PackageKit-0.5.8-21.el6.x86_64
--> Processing Dependency: PackageKit-yum = 0.5.8-21.el6 for package: PackageKit-0.5.8-21.el6.x86_64
--> Processing Dependency: PackageKit-gtk-module = 0.5.8-21.el6 for package: PackageKit-0.5.8-21.el6.x86_64
--> Processing Dependency: PackageKit-glib = 0.5.8-21.el6 for package: PackageKit-0.5.8-21.el6.x86_64
--> Processing Dependency: libpackagekit-glib2.so.12()(64bit) for package: PackageKit-0.5.8-21.el6.x86_64
--> Running transaction check
---> Package PackageKit-glib.x86_64 0:0.5.8-21.el6 will be installed
---> Package PackageKit-gtk-module.x86_64 0:0.5.8-21.el6 will be installed
---> Package PackageKit-yum.x86_64 0:0.5.8-21.el6 will be installed
---> Package PackageKit-yum-plugin.x86_64 0:0.5.8-21.el6 will be installed
--> Finished Dependency Resolution Dependencies Resolved ========================================================================================
Package Arch Version Repository Size
========================================================================================
Installing:
PackageKit x86_64 0.5.8-21.el6 base 526 k
Installing for dependencies:
PackageKit-glib x86_64 0.5.8-21.el6 base 221 k
PackageKit-gtk-module x86_64 0.5.8-21.el6 base 95 k
PackageKit-yum x86_64 0.5.8-21.el6 base 156 k
PackageKit-yum-plugin x86_64 0.5.8-21.el6 base 92 k Transaction Summary
========================================================================================
Install 5 Package(s) Total download size: 1.1 M
Installed size: 3.9 M
Is this ok [y/N]:

出现下面的错误:

http://mirrors.163.com/centos/6.4/os/x86_64/Packages/PackageKit-0.5.8-21.el6.x86_64.rpm: [Errno 14] PYCURL ERROR 7 - "couldn't connect to host"

修改源url 在mirrors前面加上 tel. 即可,如下:

Running Transaction
Installing : PackageKit-yum-0.5.8-21.el6.x86_64 1/5
Installing : PackageKit-gtk-module-0.5.8-21.el6.x86_64 2/5
Installing : PackageKit-glib-0.5.8-21.el6.x86_64 3/5
Installing : PackageKit-0.5.8-21.el6.x86_64 4/5
Installing : PackageKit-yum-plugin-0.5.8-21.el6.x86_64 5/5
Installed products updated.
Verifying : PackageKit-yum-plugin-0.5.8-21.el6.x86_64 1/5
Verifying : PackageKit-yum-0.5.8-21.el6.x86_64 2/5
Verifying : PackageKit-gtk-module-0.5.8-21.el6.x86_64 3/5
Verifying : PackageKit-glib-0.5.8-21.el6.x86_64 4/5
Verifying : PackageKit-0.5.8-21.el6.x86_64 5/5 Installed:
PackageKit.x86_64 0:0.5.8-21.el6 Dependency Installed:
PackageKit-glib.x86_64 0:0.5.8-21.el6 PackageKit-gtk-module.x86_64 0:0.5.8-21.el6
PackageKit-yum.x86_64 0:0.5.8-21.el6 PackageKit-yum-plugin.x86_64 0:0.5.8-21.el6 Complete!

然后使用命令: yum install gnome-packagekit

得到:

[root@localhost yum.repos.d]# yum install gnome-packagekit
Loaded plugins: fastestmirror, product-id, refresh-packagekit, subscription-manager
Updating certificate-based repositories.
Unable to read consumer identity
Loading mirror speeds from cached hostfile
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package gnome-packagekit.x86_64 0:2.28.3-7.el6 will be installed
--> Processing Dependency: PackageKit-device-rebind >= 0.5.0 for package: gnome-packagekit-2.28.3-7.el6.x86_64
--> Running transaction check
---> Package PackageKit-device-rebind.x86_64 0:0.5.8-21.el6 will be installed
--> Finished Dependency Resolution Dependencies Resolved ========================================================================================
Package Arch Version Repository Size
========================================================================================
Installing:
gnome-packagekit x86_64 2.28.3-7.el6 base 2.5 M
Installing for dependencies:
PackageKit-device-rebind x86_64 0.5.8-21.el6 base 95 k Transaction Summary
========================================================================================
Install 2 Package(s) Total download size: 2.6 M
Installed size: 8.1 M
Is this ok [y/N]: y
Downloading Packages:
(1/2): PackageKit-device-rebind-0.5.8-21.el6.x86_64.rpm | 95 kB 00:01
(2/2): gnome-packagekit-2.28.3-7.el6.x86_64.rpm | 2.5 MB 00:10
----------------------------------------------------------------------------------------
Total 198 kB/s | 2.6 MB 00:13
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Installing : PackageKit-device-rebind-0.5.8-21.el6.x86_64 1/2
Installing : gnome-packagekit-2.28.3-7.el6.x86_64 2/2
Installed products updated.
Verifying : gnome-packagekit-2.28.3-7.el6.x86_64 1/2
Verifying : PackageKit-device-rebind-0.5.8-21.el6.x86_64 2/2 Installed:
gnome-packagekit.x86_64 0:2.28.3-7.el6 Dependency Installed:
PackageKit-device-rebind.x86_64 0:0.5.8-21.el6 Complete!

最后使用命令: yum update -y,然后就是378个文件的下载信息了

redhat6.3 64位更新源(使用网易源)全过程记录的更多相关文章

  1. VMware Workstation Pro12安装RedHat6.4 64位

    1.打开VM12软件,并新建一个虚拟机.   点击 下一步.  默认即可,点击 下一步.  选择 稍后安装操作系统(S). 这一项,基本上都是默认的.点击 下一步.  这里 客户机操作系统 就选择 L ...

  2. CentOS 6.3 64位下MySQL5.1.54源码安装配置详解

    安装环境:CentOS 6.3 64位 一:先安装依赖包(不然配置的时候会报错的!) yum -y install ncurses* libtermcap* 新建mysql用户 [root@clien ...

  3. Win10 PC一周年更新正式版14393.447 32位/64位更新补丁KB3200970下载 Flash补丁Kb3202790下载

    微软在今天凌晨推送了Win10 PC一周年更新正式版14393.447,本次更新补丁代号为KB3200970,面向Win10一周年更新正式版的PC用户. 更新日志 • 提升了多媒体音频.远程桌面以及I ...

  4. win7 64位安装Dlib19.6版本的过程记录

    本文为原创,未经允许不得转载. 1.去Dlib的官网下载dlib-19.6的源文件.然后解压到Myprograms下的Res文件夹下 2.到CMake的官网下载Cmake,我下载以后解压,然后进入到b ...

  5. Android源码编译的全过程记录

    写本篇文章主要参考了官方文档和网上的一些资料,但是对于Android最新的代码来说,网上资料有些已经过时.本文中步骤已经作者实验,大家可以亲自执行试试.由于没有使用Eclipse的习惯,所以没有做Ec ...

  6. windows 10专业版14393.447 64位纯净无广告版系统 基于官方稳定版1607制作 更新于20161112

    系统特点: 447更新日志(Win10 PC一周年更新正式版14393.447 32位/64位更新补丁KB3200970下载 Flash补丁Kb3202790下载): 1.通过网友的反馈,保留了Edg ...

  7. MySQL 8.0.20 安装教程图文详解(windows 64位)

    MySQL 8.0.20 安装教程图文详解(windows 64位)  更新时间:2020年05月09日 15:09:04   转载 作者:瘦肉粥不加糖     这篇文章主要介绍了MySQL 8.0. ...

  8. Android 源码编译环境搭建(64位Ubuntu)各种依赖包安装

    1.准备: 普通PC(要求能上网), PC的操作系统Ubuntu 10.04 LTS(64位的),已经下载好的Android 1.6_r1的源代码. 2.Linux的依赖package安装: 为了更快 ...

  9. hadoop2.5发布:最新编译 32位、64位安装、源码包、API以及新特性

    hadoop2.5发布:最新编译 32位.64位安装.源码包.API以及新特性 http://www.aboutyun.com/thread-8751-1-1.html (出处: about云开发) ...

随机推荐

  1. hdu3410-Passing the Message(RMQ,感觉我写的有点多此一举。。。其实可以用单调栈)

    What a sunny day! Let’s go picnic and have barbecue! Today, all kids in “Sun Flower” kindergarten ar ...

  2. 使用skin++进行MFC界面美化范例

    1.下载skin++皮肤库和皮肤库,skin++皮肤库主要包括:SkinPPWTL.dll,SkinPPWTL.lib,SkinPPWTL.h这三个文件.把这三个文件 拷贝到工程目录下. 2.在工程中 ...

  3. 【CF689D Friends and Subsequences】二分搜索,区间查询

    题意:给定两个整数序列a,b,将a,b对齐,问有多少个区间满足a的区间内最大值等于b的区间内最小值. 数据范围:区间长度n属于[1, 200000],序列中的元素在整型范围内 思路:枚举所有n*(n+ ...

  4. linux文件权限整理

    网上对linux文件权限的已经很多,不过还是要自己整理一下,不然每次都要查资料. linux下所有东西都是文件,包括设备,所以这里的文件也包括文件夹. 先是查看文件权限:ls -lh xzc@xzc- ...

  5. Android恢复出厂设置流程分析【Android源码解析十】

    最近看恢复出厂的一个问题,以前也查过这方面的流程,所以这里整理一些AP+framework层的流程: 在setting-->备份与重置--->恢复出厂设置--->重置手机---> ...

  6. Linux基本操作 2-----Linux文件系统基本结构

    Linux的文件系统结构             Linux文件系统为一个倒转的单根树状结构 文件系统的根为"/" 文件系统严格区分大小写 路径使用“/”来分割,在windows使 ...

  7. 一个用 Cumulative Penalty 培训 L1 正规 Log-linear 型号随机梯度下降

      Log-Linear 模型(也叫做最大熵模型)是 NLP 领域中使用最为广泛的模型之中的一个.其训练常採用最大似然准则.且为防止过拟合,往往在目标函数中增加(能够产生稀疏性的) L1 正则.但对于 ...

  8. Android系统匿名共享内存Ashmem(Anonymous Shared Memory)驱动程序源代码分析

    文章转载至CSDN社区罗升阳的安卓之旅,原文地址:http://blog.csdn.net/luoshengyang/article/details/6664554 在上一文章Android系统匿名共 ...

  9. jsp当参数为空的时候默认显示值

    当${business.branchName }为空或者不存在的时候显示“请选择门店” <c:out value="${business.branchName }" defa ...

  10. 玩转Nodejs日志管理log4js(转)

    转自:http://blog.fens.me/nodejs-log4js/ 前言 日志对任何的应用来说都是至关重要的.在Nodejs中使用express框架并没有自带的日志模块,我们可以选择log4j ...