亚洲av成人无遮挡网站在线观看,少妇性bbb搡bbb爽爽爽,亚洲av日韩精品久久久久久,兔费看少妇性l交大片免费,无码少妇一区二区三区

  免費注冊 查看新帖 |

Chinaunix

  平臺 論壇 博客 文庫
最近訪問板塊 發(fā)新帖
查看: 3886 | 回復: 8
打印 上一主題 下一主題

架設本地yum,后報錯 [復制鏈接]

論壇徽章:
0
跳轉到指定樓層
1 [收藏(0)] [報告]
發(fā)表于 2011-05-24 15:20 |只看該作者 |倒序瀏覽
掛載光盤架設本地yum,要安裝gcc,等工具,結果yum list報錯
yum update
Loading "security" plugin
Loading "rhnplugin" plugin
This system is not registered with RHN.
RHN support will be disabled.
Skipping security plugin, no data
Setting up Update Process
rpmdb: read: 0xb78c1c04, 4096: 輸入/輸出錯誤
error: db4 error(5) from dbcursor->c_get: 輸入/輸出錯誤
No Packages marked for Update
[root@localhost rpm-gpg]# yum list
Loading "security" plugin
Loading "rhnplugin" plugin
This system is not registered with RHN.
RHN support will be disabled.
rpmdb: read: 0xb7a06754, 4096: 輸入/輸出錯誤
error: db4 error(5) from dbcursor->c_get: 輸入/輸出錯誤
安裝gcc 也一樣
yum install gcc
Loading "security" plugin
Loading "rhnplugin" plugin
This system is not registered with RHN.
RHN support will be disabled.
Setting up Install Process
Parsing package install arguments
No package gcc available.
Nothing to do

mount 結果如下
mount
/dev/mapper/VolGroup00-LogVol00 on / type ext3 (rw)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
devpts on /dev/pts type devpts (rw,gid=5,mode=620)
/dev/hda8 on /boot type ext3 (rw)
tmpfs on /dev/shm type tmpfs (rw)
none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw)
sunrpc on /var/lib/nfs/rpc_pipefs type rpc_pipefs (rw)
/dev/hdc on /mnt type iso9660 (ro)
請朋友們指點還有哪個地方出問題了?

論壇徽章:
0
2 [報告]
發(fā)表于 2011-05-24 16:03 |只看該作者
先把你的repo文件貼出來看看

論壇徽章:
0
3 [報告]
發(fā)表于 2011-05-24 16:13 |只看該作者
連配置文件都沒貼。

論壇徽章:
1
天秤座
日期:2013-10-23 13:20:42
4 [報告]
發(fā)表于 2011-05-24 17:51 |只看該作者
說你如何配置的,

論壇徽章:
0
5 [報告]
發(fā)表于 2011-05-24 19:24 |只看該作者
回復 3# 方濱興


    這名字太V5,膜拜。。順便說下,樓主,貼配置

論壇徽章:
0
6 [報告]
發(fā)表于 2011-06-07 17:00 |只看該作者
/etc/yum.repos.d/rhel-debuginfo.repo
[rhel-debuginfo]
#name=Red Hat Enterprise Linux $releasever - $basearch - Debug
#baseurl=ftp://ftp.redhat.com/pub/redhat/linux/enterprise/$releasever/en/os/$basearch/Debuginfo/
#enabled=0
#gpgcheck=1
#gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release

name=Red Hat Enterprise Linux

baseurl=file:///mnt/Server         //------  mount    /dev/cdrom     /mnt  

enabled=1

gpgcheck=1

gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-RedHat-release

name=Red Hat Enterprise Linux 1

baseurl=file:///mnt/VT

enabled=1

gpgcheck=1

gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-RedHat-release

論壇徽章:
0
7 [報告]
發(fā)表于 2011-06-07 20:04 |只看該作者
回復 6# 我不專業(yè)


    配置文件錯了
/etc/yum.repos.d/rhel-debuginfo.repo
[rhel-debuginfo]
#name=Red Hat Enterprise Linux $releasever - $basearch - Debug
#baseurl=ftp://ftp.redhat.com/pub/redhat/linux/enterprise/$releasever/en/os/$basearch/Debuginfo/
#enabled=0
#gpgcheck=1
#gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release

name=Red Hat Enterprise Linux

baseurl=file:///mnt/Server         //------  mount    /dev/cdrom     /mnt  

enabled=1

gpgcheck=1

gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-RedHat-release

[VT]    //這里加一下

name=Red Hat Enterprise Linux 1

baseurl=file:///mnt/VT

enabled=1

gpgcheck=1

gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-RedHat-release

論壇徽章:
381
CU十二周年紀念徽章
日期:2014-01-04 22:46:58CU大;照
日期:2013-03-13 15:32:35CU大;照
日期:2013-03-13 15:38:15CU大;照
日期:2013-03-13 15:38:52CU大牛徽章
日期:2013-03-14 14:08:55CU大;照
日期:2013-04-17 11:17:19CU大;照
日期:2013-04-17 11:17:32CU大牛徽章
日期:2013-04-17 11:17:37CU大;照
日期:2013-04-17 11:17:42CU大;照
日期:2013-04-17 11:17:47CU大;照
日期:2013-04-17 11:17:52CU大牛徽章
日期:2013-04-17 11:17:56
8 [報告]
發(fā)表于 2011-06-07 21:12 |只看該作者
3樓正解,樓主配置少一個[VT]

論壇徽章:
0
9 [報告]
發(fā)表于 2011-06-08 20:22 |只看該作者
回復 8# chenyx

確實這個地方出問題了,解決俄了
您需要登錄后才可以回帖 登錄 | 注冊

本版積分規(guī)則 發(fā)表回復

  

北京盛拓優(yōu)訊信息技術有限公司. 版權所有 京ICP備16024965號-6 北京市公安局海淀分局網(wǎng)監(jiān)中心備案編號:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年舉報專區(qū)
中國互聯(lián)網(wǎng)協(xié)會會員  聯(lián)系我們:huangweiwei@itpub.net
感謝所有關心和支持過ChinaUnix的朋友們 轉載本站內(nèi)容請注明原作者名及出處

清除 Cookies - ChinaUnix - Archiver - WAP - TOP