本篇博客参考: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. Live555 分析(一):类介绍

    从程序的结构来看,live项目包括了四个基本库.程序入口类(在mediaServer中)和一些测试代码(在testProgs中). 四个基本静态库是UsageEnvironment.BasicUsag ...

  2. cookielib模块基础学习

    # -*- coding: utf-8 -*- # python:2.x __author__ = 'Administrator' import cookielib #主要用于处理http客户端的co ...

  3. python list 中找连续的数字(由网友处学习)

    # -*- coding: utf-8 -*- # python:2.x __author__ = 'Administrator' #学习这个要求的:http://wsky.org/archives/ ...

  4. Atitit. 最佳实践 QA----减少cpu占有率--cpu占用太高怎么办

    Atitit. 最佳实践 QA----减少cpu占有率--cpu占用太高怎么办 跟个磁盘队列长度雅十,一到李80%走不行兰.... 1. 寻找线程too 多的.关闭... Taskman>> ...

  5. hdu1171 Big Event in HDU 01-背包

    转载请注明出处:http://blog.csdn.net/u012860063 题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=1171 Problem ...

  6. Linux 挂载命令 --mount

    1.挂载光盘命令  mount :  mount [-t vfstype] [-o options] device dir mount [-t 文件系统] [-o 特殊选项] 设备文件名 挂载点 -t ...

  7. jquery的验证实例方法

    上一篇介绍了js的正则验证法,这一片就用jquery来实例运行一下其中的几个方法 Js部分 <script> $(function(){ var ok1=false; var ok2=fa ...

  8. Ext tpl 造成 store不能正确加载

    最近维护别人写的代码的时候,遇到了这么个情况 找原因找到了这行代码的身上 tpl: '<tpl for="."><div ext:qtip="{name ...

  9. UICollectionView的简单使用和常用代理方法

    UICollectionView相对于UITableView有更加自由的布局,做出的界面可变性更大最近开始接触使用UICollectionView,整理了一下常用的代理方法 首先需要先添加UIColl ...

  10. (转) Special members

    原地址:http://www.cplusplus.com/doc/tutorial/classes2/   Special members [NOTE: This chapter requires p ...