redhat 7更換使用centos 7的yum源(redhat Linux)

      網(wǎng)友投稿 2584 2022-05-30

      簡單介紹下什么是yum:

      Yum(全稱為 Yellow dog Updater, Modified)是一個(gè)在Fedora和RedHat以及CentOS中的Shell前端軟件包管理器。基于RPM包管理,能夠從指定的服務(wù)器自動(dòng)下載RPM包并且安裝,可以自動(dòng)處理依賴性關(guān)系,并且一次安裝所有依賴的軟件包,無須繁瑣地一次次下載、安裝。

      redhat 系統(tǒng)中,yum是要授權(quán)才能使用的,但幸運(yùn)地,我們可以將RedHat7使用CentOS的yum源,具體操作如下:

      本文以redhat7.4為例

      login as: root

      root@1.3.2.4's password:

      Last login: Mon Jan 21 14:16:49 2019? ? ??登錄操作系統(tǒng)

      [root@localhost ~]# rpm -qa | grep yum? ? ? ? 查看系統(tǒng)原有的yum

      yum-rhn-plugin-2.0.1-9.el7.noarch

      yum-langpacks-0.4.2-7.el7.noarch

      yum-metadata-parser-1.1.4-10.el7.x86_64

      yum-3.4.3-154.el7.noarch

      yum-utils-1.1.31-42.el7.noarch

      PackageKit-yum-1.1.5-1.el7.x86_64

      [root@localhost ~]# rpm -aq|grep yum|xargs rpm -e --nodeps? ? ?刪除系統(tǒng)原有的yum

      警告:/etc/yum/pluginconf.d/langpacks.conf 已另存為 /etc/yum/pluginconf.d/langpacks.conf.rpmsave

      [root@localhost ~]# wget http://mirrors.163.com/centos/7/os/x86_64/Packages/yum-3.4.3-161.el7.centos.noarch.rpm? ? ?下載centos?yum軟件及工具(共4個(gè))

      --2019-01-21 14:25:08--? http://mirrors.163.com/centos/7/os/x86_64/Packages/yum-3.4.3-161.el7.centos.noarch.rpm

      正在解析主機(jī) mirrors.163.com (mirrors.163.com)... 59.111.0.251

      正在連接 mirrors.163.com (mirrors.163.com)|59.111.0.251|:80... 已連接。

      已發(fā)出 HTTP 請(qǐng)求,正在等待回應(yīng)... 200 OK

      長度:1296152 (1.2M) [application/x-redhat-package-manager]

      正在保存至: “yum-3.4.3-161.el7.centos.noarch.rpm”

      100%[======================================>] 1,296,152? ?2.24MB/s 用時(shí) 0.6s

      2019-01-21 14:25:09 (2.24 MB/s) - 已保存 “yum-3.4.3-161.el7.centos.noarch.rpm” [1296152/1296152])

      [root@localhost ~]# wget http://mirrors.163.com/centos/7/os/x86_64/Packages/yum-metadata-parser-1.1.4-10.el7.x86_64.rpm

      --2019-01-21 14:25:46--? http://mirrors.163.com/centos/7/os/x86_64/Packages/yum-metadata-parser-1.1.4-10.el7.x86_64.rpm

      正在解析主機(jī) mirrors.163.com (mirrors.163.com)... 59.111.0.251

      正在連接 mirrors.163.com (mirrors.163.com)|59.111.0.251|:80... 已連接。

      已發(fā)出 HTTP 請(qǐng)求,正在等待回應(yīng)... 200 OK

      長度:28348 (28K) [application/x-redhat-package-manager]

      正在保存至: “yum-metadata-parser-1.1.4-10.el7.x86_64.rpm”

      100%[======================================>] 28,348? ? ? --.-K/s 用時(shí) 0.06s

      2019-01-21 14:25:46 (500 KB/s) - 已保存 “yum-metadata-parser-1.1.4-10.el7.x86_64.rpm” [28348/28348])

      [root@localhost ~]# wget http://mirrors.163.com/centos/7/os/x86_64/Packages/yum-plugin-fastestmirror-1.1.31-50.el7.noarch.rpm

      --2019-01-21 14:26:19--? http://mirrors.163.com/centos/7/os/x86_64/Packages/yum-plugin-fastestmirror-1.1.31-50.el7.noarch.rpm

      正在解析主機(jī) mirrors.163.com (mirrors.163.com)... 59.111.0.251

      正在連接 mirrors.163.com (mirrors.163.com)|59.111.0.251|:80... 已連接。

      已發(fā)出 HTTP 請(qǐng)求,正在等待回應(yīng)... 200 OK

      長度:34500 (34K) [application/x-redhat-package-manager]

      正在保存至: “yum-plugin-fastestmirror-1.1.31-50.el7.noarch.rpm”

      100%[======================================>] 34,500? ? ? ?141KB/s 用時(shí) 0.2s

      2019-01-21 14:26:20 (141 KB/s) - 已保存 “yum-plugin-fastestmirror-1.1.31-50.el7. noarch.rpm” [34500/34500])

      [root@localhost ~]# wget

      wget:未指定 URL

      用法: wget [選項(xiàng)]... [URL]...

      請(qǐng)嘗試使用“wget --help”查看更多的選項(xiàng)。

      [root@localhost ~]# wget http://mirrors.163.com/centos/7/os/x86_64/Packages/python-iniparse-0.4-9.el7.noarch.rpm

      --2019-01-21 14:27:02--? http://mirrors.163.com/centos/7/os/x86_64/Packages/python-iniparse-0.4-9.el7.noarch.rpm

      正在解析主機(jī) mirrors.163.com (mirrors.163.com)... 59.111.0.251

      正在連接 mirrors.163.com (mirrors.163.com)|59.111.0.251|:80... 已連接。

      已發(fā)出 HTTP 請(qǐng)求,正在等待回應(yīng)... 200 OK

      長度:39800 (39K) [application/x-redhat-package-manager]

      正在保存至: “python-iniparse-0.4-9.el7.noarch.rpm”

      100%[======================================>] 39,800? ? ? --.-K/s 用時(shí) 0.06s

      2019-01-21 14:27:02 (654 KB/s) - 已保存 “python-iniparse-0.4-9.el7.noarch.rpm” [39800/39800])

      [root@localhost ~]# ls? ? ?查看已經(jīng)下載好的文件

      anaconda-ks.cfg? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? 模板

      initial-setup-ks.cfg? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?視頻

      python-iniparse-0.4-9.el7.noarch.rpm? ? ? ? ? ? ? ?圖片

      yum-3.4.3-161.el7.centos.noarch.rpm? ? ? ? ? ? ? ? 文檔

      yum-metadata-parser-1.1.4-10.el7.x86_64.rpm? ? ? ? 下載

      yum-plugin-fastestmirror-1.1.31-50.el7.noarch.rpm? 音樂

      公共? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?桌面

      [root@localhost ~]# rpm -ivh python-iniparse-0.4-9.el7.noarch.rpm? ? ??安裝下載好的四個(gè)軟件

      警告:python-iniparse-0.4-9.el7.noarch.rpm: 頭V3 RSA/SHA256 Signature, 密鑰 ID f4a80eb5: NOKEY

      準(zhǔn)備中...? ? ? ? ? ? ? ? ? ? ? ? ? ################################# [100%]

      軟件包 python-iniparse-0.4-9.el7.noarch 已經(jīng)安裝

      file /usr/lib/python2.7/site-packages/iniparse/ini.pyc from install of python-iniparse-0.4-9.el7.noarch conflicts with file from package python-iniparse? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?-0.4-9.el7.noarch

      file /usr/lib/python2.7/site-packages/iniparse/ini.pyo from install of python-iniparse-0.4-9.el7.noarch conflicts with file from package python-iniparse? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?-0.4-9.el7.noarch

      [root@localhost ~]#? rpm -ivh yum-*.rpm? yum-metadata-parser-*.rpm? yum-plugin-fastestmirror-*.rpm

      警告:yum-3.4.3-161.el7.centos.noarch.rpm: 頭V3 RSA/SHA256 Signature, 密鑰 ID f4a80eb5: NOKEY

      警告:軟件包 yum-metadata-parser-1.1.4-10.el7.x86_64 已被加入,跳過 yum-metadata-parser-1.1.4-10.el7.x86_64

      警告:軟件包 yum-plugin-fastestmirror-1.1.31-50.el7.noarch 已被加入,跳過 yum-plugin-fastestmirror-1.1.31-50.el7.noarch

      準(zhǔn)備中...? ? ? ? ? ? ? ? ? ? ? ? ? ################################# [100%]

      正在升級(jí)/安裝...

      1:yum-metadata-parser-1.1.4-10.el7 ################################# [ 33%]

      2:yum-plugin-fastestmirror-1.1.31-5################################# [ 67%]

      3:yum-3.4.3-161.el7.centos? ? ? ? ?################################# [100%]

      [root@localhost ~]# cd? /etc/yum.repos.d

      [root@localhost yum.repos.d]# ls

      [root@localhost yum.repos.d]# wget http://mirrors.163.com/.help/CentOS7-Base-163.repo? ? ? ? ??下載centos7的yum源文件

      --2019-01-21 14:29:17--? http://mirrors.163.com/.help/CentOS7-Base-163.repo

      正在解析主機(jī) mirrors.163.com (mirrors.163.com)... 59.111.0.251

      正在連接 mirrors.163.com (mirrors.163.com)|59.111.0.251|:80... 已連接。

      已發(fā)出 HTTP 請(qǐng)求,正在等待回應(yīng)... 200 OK

      長度:1572 (1.5K) [application/octet-stream]

      正在保存至: “CentOS7-Base-163.repo”

      100%[======================================>] 1,572? ? ? ?--.-K/s 用時(shí) 0s

      2019-01-21 14:29:17 (91.3 MB/s) - 已保存 “CentOS7-Base-163.repo” [1572/1572])

      [root@localhost yum.repos.d]# ls? ? ? ? ? ? ?查看yum源文件已經(jīng)下載好了

      CentOS7-Base-163.repo

      [root@localhost yum.repos.d]# vim CentOS7-Base-163.repo? ? ??編輯yum源文件

      把文件里面的$releasever全部替換為版本號(hào),即7,最后保存。

      #?CentOS-Base.repo # #?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-7?-?Base?-?163.com #mirrorlist=http://mirrorlist.centos.org/?release=7&arch=$basearch&repo=os baseurl=http://mirrors.163.com/centos/7/os/$basearch/ gpgcheck=1 gpgkey=http://mirrors.163.com/centos/RPM-GPG-KEY-CentOS-7 #released?updates [updates] name=CentOS-7?-?Updates?-?163.com #mirrorlist=http://mirrorlist.centos.org/?release=7&arch=$basearch&repo=updates baseurl=http://mirrors.163.com/centos/7/updates/$basearch/ gpgcheck=1 gpgkey=http://mirrors.163.com/centos/RPM-GPG-KEY-CentOS-7 #additional?packages?that?may?be?useful [extras] name=CentOS-7?-?Extras?-?163.com #mirrorlist=http://mirrorlist.centos.org/?release=7&arch=$basearch&repo=extras baseurl=http://mirrors.163.com/centos/7/extras/$basearch/ gpgcheck=1 gpgkey=http://mirrors.163.com/centos/RPM-GPG-KEY-CentOS-7 #additional?packages?that?extend?functionality?of?existing?packages [centosplus] name=CentOS-7?-?Plus?-?163.com baseurl=http://mirrors.163.com/centos/7/centosplus/$basearch/ gpgcheck=1 enabled=0 gpgkey=http://mirrors.163.com/centos/RPM-GPG-KEY-CentOS-7

      [root@localhost yum.repos.d]# yum clean all? ? ? ? ? ??清除原有緩存

      已加載插件:fastestmirror, product-id, search-disabled-repos, subscription-manager

      This system is not registered with an entitlement server. You can use subscription-manager to register.

      正在清理軟件源: base extras updates

      [root@localhost yum.repos.d]# yum makecache? ? ??將服務(wù)器上的軟件包信息緩存到本地,以提高搜索安裝軟件的速度

      已加載插件:fastestmirror, product-id, search-disabled-repos, subscription-manager

      This system is not registered with an entitlement server. You can use subscription-manager to register.

      Determining fastest mirrors

      base? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? | 3.6 kB? 00:00:00

      extras? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? | 3.4 kB? 00:00:00

      updates? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?| 3.4 kB? 00:00:00

      (1/12): base/x86_64/group_gz? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? | 166 kB? 00:00:00

      (2/12): base/x86_64/primary_db? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? | 6.0 MB? 00:00:03

      (3/12): extras/x86_64/filelists_db? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? | 189 kB? 00:00:00

      (4/12): extras/x86_64/prestodelta? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?|? 36 kB? 00:00:00

      (5/12): extras/x86_64/primary_db? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? | 156 kB? 00:00:00

      (6/12): base/x86_64/other_db? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? | 2.6 MB? 00:00:01

      (7/12): extras/x86_64/other_db? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? | 107 kB? 00:00:00

      (8/12): updates/x86_64/filelists_db? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?| 1.4 MB? 00:00:01

      (9/12): updates/x86_64/prestodelta? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? | 190 kB? 00:00:01

      (10/12): updates/x86_64/primary_db? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? | 1.3 MB? 00:00:00

      (11/12): updates/x86_64/other_db? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? | 204 kB? 00:00:01

      (12/12): base/x86_64/filelists_db? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?| 7.1 MB? 00:00:08

      元數(shù)據(jù)緩存已建立

      試著更新下firefox軟件

      可以正常使用咯:

      [root@localhost yum.repos.d]# yum update firefox.x86_64

      已加載插件:fastestmirror, product-id, search-disabled-repos, subscription-manager

      This system is not registered with an entitlement server. You can use subscription-manager to register.

      Loading mirror speeds from cached hostfile

      正在解決依賴關(guān)系

      --> 正在檢查事務(wù)

      ---> 軟件包 firefox.x86_64.0.52.2.0-2.el7 將被 升級(jí)

      ---> 軟件包 firefox.x86_64.0.60.4.0-1.el7.centos 將被 更新

      --> 正在處理依賴關(guān)系 nss >= 3.36.0,它被軟件包 firefox-60.4.0-1.el7.centos.x86_64 需要

      --> 正在處理依賴關(guān)系 nspr >= 4.19.0,它被軟件包 firefox-60.4.0-1.el7.centos.x86_64 需要

      --> 正在處理依賴關(guān)系 libdbus-1.so.3(LIBDBUS_1_3)(64bit),它被軟件包 firefox-60.4.0-1.el7.centos.x86_64 需要

      --> 正在檢查事務(wù)

      ---> 軟件包 dbus-libs.x86_64.1.1.6.12-17.el7 將被 升級(jí)

      --> 正在處理依賴關(guān)系 dbus-libs(x86-64) = 1:1.6.12-17.el7,它被軟件包 1:dbus-1.6.12-17.el7.x86_64 需要

      ---> 軟件包 dbus-libs.x86_64.1.1.10.24-12.el7 將被 更新

      ---> 軟件包 nspr.x86_64.0.4.13.1-1.0.el7_3 將被 升級(jí)

      ---> 軟件包 nspr.x86_64.0.4.19.0-1.el7_5 將被 更新

      ---> 軟件包 nss.x86_64.0.3.28.4-8.el7 將被 升級(jí)

      --> 正在處理依賴關(guān)系 nss = 3.28.4-8.el7,它被軟件包 nss-sysinit-3.28.4-8.el7.x86_64 需要

      --> 正在處理依賴關(guān)系 nss(x86-64) = 3.28.4-8.el7,它被軟件包 nss-tools-3.28.4-8.el7.x86_64 需要

      ---> 軟件包 nss.x86_64.0.3.36.0-7.el7_5 將被 更新

      --> 正在處理依賴關(guān)系 nss-util >= 3.36.0-1,它被軟件包 nss-3.36.0-7.el7_5.x86_64 需要

      --> 正在處理依賴關(guān)系 nss-softokn(x86-64) >= 3.36.0-1,它被軟件包 nss-3.36.0-7.el7_5.x86_64 需要

      --> 正在處理依賴關(guān)系 libnssutil3.so(NSSUTIL_3.31)(64bit),它被軟件包 nss-3.36.0-7.el7_5.x86_64 需要

      --> 正在檢查事務(wù)

      ---> 軟件包 dbus.x86_64.1.1.6.12-17.el7 將被 升級(jí)

      --> 正在處理依賴關(guān)系 dbus = 1:1.6.12-17.el7,它被軟件包 1:dbus-x11-1.6.12-17.el7.x86_64 需要

      ---> 軟件包 dbus.x86_64.1.1.10.24-12.el7 將被 更新

      ---> 軟件包 nss-softokn.x86_64.0.3.28.3-6.el7 將被 升級(jí)

      ---> 軟件包 nss-softokn.x86_64.0.3.36.0-5.el7_5 將被 更新

      --> 正在處理依賴關(guān)系 nss-softokn-freebl(x86-64) >= 3.36.0-5.el7_5,它被軟件包 nss-softokn-3.36.0-5.el7_5.x86_64 需要

      ---> 軟件包 nss-sysinit.x86_64.0.3.28.4-8.el7 將被 升級(jí)

      ---> 軟件包 nss-sysinit.x86_64.0.3.36.0-7.el7_5 將被 更新

      ---> 軟件包 nss-tools.x86_64.0.3.28.4-8.el7 將被 升級(jí)

      ---> 軟件包 nss-tools.x86_64.0.3.36.0-7.el7_5 將被 更新

      ---> 軟件包 nss-util.x86_64.0.3.28.4-3.el7 將被 升級(jí)

      ---> 軟件包 nss-util.x86_64.0.3.36.0-1.el7_5 將被 更新

      --> 正在檢查事務(wù)

      ---> 軟件包 dbus-x11.x86_64.1.1.6.12-17.el7 將被 升級(jí)

      ---> 軟件包 dbus-x11.x86_64.1.1.10.24-12.el7 將被 更新

      ---> 軟件包 nss-softokn-freebl.x86_64.0.3.28.3-6.el7 將被 升級(jí)

      ---> 軟件包 nss-softokn-freebl.x86_64.0.3.36.0-5.el7_5 將被 更新

      --> 解決依賴關(guān)系完成

      依賴關(guān)系解決

      =============================================================================================================================

      Package? ? ? ? ? ? ? ? ? ? ? ? ? ? 架構(gòu)? ? ? ? ? ? ? ? ? ?版本? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? 源? ? ? ? ? ? ? ? ? ? ? ?大小

      =============================================================================================================================

      正在更新:

      firefox? ? ? ? ? ? ? ? ? ? ? ? ? ? x86_64? ? ? ? ? ? ? ? ?60.4.0-1.el7.centos? ? ? ? ? ? ? ? ?updates? ? ? ? ? ? ? ? ? 91 M

      為依賴而更新:

      dbus? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?x86_64? ? ? ? ? ? ? ? ?1:1.10.24-12.el7? ? ? ? ? ? ? ? ? ? base? ? ? ? ? ? ? ? ? ? 245 k

      dbus-libs? ? ? ? ? ? ? ? ? ? ? ? ? x86_64? ? ? ? ? ? ? ? ?1:1.10.24-12.el7? ? ? ? ? ? ? ? ? ? base? ? ? ? ? ? ? ? ? ? 169 k

      dbus-x11? ? ? ? ? ? ? ? ? ? ? ? ? ?x86_64? ? ? ? ? ? ? ? ?1:1.10.24-12.el7? ? ? ? ? ? ? ? ? ? base? ? ? ? ? ? ? ? ? ? ?48 k

      nspr? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?x86_64? ? ? ? ? ? ? ? ?4.19.0-1.el7_5? ? ? ? ? ? ? ? ? ? ? base? ? ? ? ? ? ? ? ? ? 127 k

      nss? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? x86_64? ? ? ? ? ? ? ? ?3.36.0-7.el7_5? ? ? ? ? ? ? ? ? ? ? base? ? ? ? ? ? ? ? ? ? 835 k

      nss-softokn? ? ? ? ? ? ? ? ? ? ? ? x86_64? ? ? ? ? ? ? ? ?3.36.0-5.el7_5? ? ? ? ? ? ? ? ? ? ? base? ? ? ? ? ? ? ? ? ? 315 k

      nss-softokn-freebl? ? ? ? ? ? ? ? ?x86_64? ? ? ? ? ? ? ? ?3.36.0-5.el7_5? ? ? ? ? ? ? ? ? ? ? base? ? ? ? ? ? ? ? ? ? 222 k

      nss-sysinit? ? ? ? ? ? ? ? ? ? ? ? x86_64? ? ? ? ? ? ? ? ?3.36.0-7.el7_5? ? ? ? ? ? ? ? ? ? ? base? ? ? ? ? ? ? ? ? ? ?62 k

      nss-tools? ? ? ? ? ? ? ? ? ? ? ? ? x86_64? ? ? ? ? ? ? ? ?3.36.0-7.el7_5? ? ? ? ? ? ? ? ? ? ? base? ? ? ? ? ? ? ? ? ? 515 k

      nss-util? ? ? ? ? ? ? ? ? ? ? ? ? ?x86_64? ? ? ? ? ? ? ? ?3.36.0-1.el7_5? ? ? ? ? ? ? ? ? ? ? base? ? ? ? ? ? ? ? ? ? ?78 k

      事務(wù)概要

      =============================================================================================================================

      升級(jí)? 1 軟件包 (+10 依賴軟件包)

      總下載量:93 M

      Is this ok [y/d/N]: y

      Downloading packages:

      redhat 7更換使用centos 7的yum源(redhat Linux)

      No Presto metadata available for base

      警告:/var/cache/yum/x86_64/$releasever/base/packages/dbus-libs-1.10.24-12.el7.x86_64.rpm: 頭V3 RSA/SHA256 Signature, 密鑰 ID f4a80eb5: NOKEY

      dbus-libs-1.10.24-12.el7.x86_64.rpm 的公鑰尚未安裝

      (1/11): dbus-libs-1.10.24-12.el7.x86_64.rpm? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?| 169 kB? 00:00:00

      (2/11): dbus-x11-1.10.24-12.el7.x86_64.rpm? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? |? 48 kB? 00:00:00

      (3/11): nspr-4.19.0-1.el7_5.x86_64.rpm? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? | 127 kB? 00:00:00

      (4/11): nss-3.36.0-7.el7_5.x86_64.rpm? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?| 835 kB? 00:00:00

      (5/11): nss-softokn-3.36.0-5.el7_5.x86_64.rpm? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?| 315 kB? 00:00:00

      (6/11): dbus-1.10.24-12.el7.x86_64.rpm? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? | 245 kB? 00:00:02

      (7/11): nss-softokn-freebl-3.36.0-5.el7_5.x86_64.rpm? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? | 222 kB? 00:00:00

      (8/11): nss-sysinit-3.36.0-7.el7_5.x86_64.rpm? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?|? 62 kB? 00:00:00

      (9/11): nss-tools-3.36.0-7.el7_5.x86_64.rpm? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?| 515 kB? 00:00:01

      (10/11): nss-util-3.36.0-1.el7_5.x86_64.rpm? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?|? 78 kB? 00:00:01

      firefox-60.4.0-1.el7.centos.x86_64.rpm 的公鑰尚未安裝=====================================-] 2.4 MB/s |? 93 MB? 00:00:00 ETA

      (11/11): firefox-60.4.0-1.el7.centos.x86_64.rpm? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?|? 91 MB? 00:00:45

      -----------------------------------------------------------------------------------------------------------------------------

      總計(jì)? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?2.0 MB/s |? 93 MB? 00:00:45

      從 http://mirrors.163.com/centos/RPM-GPG-KEY-CentOS-7 檢索密鑰

      導(dǎo)入 GPG key 0xF4A80EB5:

      用戶ID? ? ?: "CentOS-7 Key (CentOS 7 Official Signing Key) "

      指紋? ? ? ?: 6341 ab27 53d7 8a78 a7c2 7bb1 24c6 a8a7 f4a8 0eb5

      來自? ? ? ?: http://mirrors.163.com/centos/RPM-GPG-KEY-CentOS-7

      是否繼續(xù)?[y/N]:y

      Running transaction check

      Running transaction test

      Transaction test succeeded

      Running transaction

      警告:RPM 數(shù)據(jù)庫已被非 yum 程序修改。

      ** 發(fā)現(xiàn) 4 個(gè)已存在的 RPM 數(shù)據(jù)庫問題, 'yum check' 輸出如下:

      PackageKit-1.1.5-1.el7.x86_64 有缺少的需求 PackageKit-backend

      anaconda-core-21.48.22.121-1.el7.x86_64 有缺少的需求 yum-utils >= ('0', '1.1.11', '3')

      rhn-check-2.0.2-17.el7.noarch 有缺少的需求 yum-rhn-plugin >= ('0', '1.6.4', '1')

      supermin5-5.1.16-4.el7.x86_64 有缺少的需求 yum-utils

      正在更新? ? : nspr-4.19.0-1.el7_5.x86_64? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? 1/22

      正在更新? ? : nss-util-3.36.0-1.el7_5.x86_64? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? 2/22

      省略N個(gè)字……

      更新完畢:

      firefox.x86_64 0:60.4.0-1.el7.centos

      作為依賴被升級(jí):

      dbus.x86_64 1:1.10.24-12.el7? ? ? ? ? ? ? ? ? dbus-libs.x86_64 1:1.10.24-12.el7? ? ? dbus-x11.x86_64 1:1.10.24-12.el7

      nspr.x86_64 0:4.19.0-1.el7_5? ? ? ? ? ? ? ? ? nss.x86_64 0:3.36.0-7.el7_5? ? ? ? ? ? nss-softokn.x86_64 0:3.36.0-5.el7_5

      nss-softokn-freebl.x86_64 0:3.36.0-5.el7_5? ? nss-sysinit.x86_64 0:3.36.0-7.el7_5? ? nss-tools.x86_64 0:3.36.0-7.el7_5

      nss-util.x86_64 0:3.36.0-1.el7_5

      完畢!

      yum CentOS

      版權(quán)聲明:本文內(nèi)容由網(wǎng)絡(luò)用戶投稿,版權(quán)歸原作者所有,本站不擁有其著作權(quán),亦不承擔(dān)相應(yīng)法律責(zé)任。如果您發(fā)現(xiàn)本站中有涉嫌抄襲或描述失實(shí)的內(nèi)容,請(qǐng)聯(lián)系我們jiasou666@gmail.com 處理,核實(shí)后本網(wǎng)站將在24小時(shí)內(nèi)刪除侵權(quán)內(nèi)容。

      上一篇:醫(yī)學(xué)影像報(bào)告異常檢測線上0.895開源
      下一篇:Activiti 入門學(xué)習(xí)筆記(activities)
      相關(guān)文章
      亚洲人成影院在线无码按摩店 | 亚洲国产一区二区视频网站| 亚洲视频中文字幕在线| 亚洲精品岛国片在线观看| 久久亚洲精品无码VA大香大香| 亚洲日韩涩涩成人午夜私人影院| 亚洲欧美成人一区二区三区| 亚洲嫩草影院在线观看| 日本久久久久亚洲中字幕| 国产精品亚洲精品日韩已满| 亚洲国产日韩成人综合天堂 | 久久亚洲免费视频| 五月婷婷亚洲综合| 国产精品亚洲а∨无码播放麻豆| 亚洲成a人片在线不卡一二三区| 亚洲中文字幕久久精品无码VA| 亚洲日本中文字幕天天更新| 亚洲国产AV一区二区三区四区 | 亚洲av无码成h人动漫无遮挡| 久久久久久久综合日本亚洲| 亚洲阿v天堂在线| 久久久久久a亚洲欧洲AV| 亚洲国产人成网站在线电影动漫| 亚洲精品天天影视综合网| 久久亚洲春色中文字幕久久久| 亚洲AV第一页国产精品| 亚洲色图校园春色| 亚洲国产精品一区二区久| 亚洲中文字幕无码一去台湾| 亚洲heyzo专区无码综合| 国产产在线精品亚洲AAVV| 国产啪亚洲国产精品无码| 亚洲开心婷婷中文字幕| 亚洲国产精品免费视频| 亚洲人成人77777网站不卡| 亚洲爆乳无码精品AAA片蜜桃| 亚洲成av人片在线观看天堂无码| 国产亚洲美女精品久久久| 亚洲不卡中文字幕无码| 亚洲字幕在线观看| 亚洲AV无码一区二区三区网址|