安装系统的时候没有安装GCC软件 所以DVD补装
上网找了下方法http://linux.chinaunix.net/techdoc/system/2007/08/18/965692.shtml
其中这两句没明白
#cd
#umount /media/Fedora 7
#mount /dev/scd0 /opt 在16里只有/dev/sr0下面就没有了……
然后安装软件包createrepo-0.4.8-4.fc7.noarch.rpm,该软件包在挂载的系统光盘上可以找到。进入光盘挂载点如下命令,并安装软件包(该软件包没有依赖问题,直接安装即可):在这句话的时候 我的安装也是不成功的
提示如下
rpm -ivh createrepo-0.9.9-5.fc16.noarch.rpm
error: Failed dependencies:
python-deltarpm is needed by createrepo-0.9.9-5.fc16.noarch


johnysqlinux 于 2011-12-01 13:42:36发表:
很快我也要到这一步了,祝早点解决了发出来看看{:2_97:}
allan5220 于 2011-11-28 14:02:25发表:
需要先安装python-deltarpm
87408542 于 2011-11-28 08:23:31发表:
3# 绿色圣光
[root@localhost akai]# sudo yum install gcc
已加载插件:langpacks, presto, refresh-packagekit
file:///opt/repodata/repomd.xml: [Errno 14] Could not open/read file:///opt/repodata/repomd.xml
尝试其他镜像。
file:///mnt/repo/repodata/repomd.xml: [Errno 14] Could not open/read file:///mnt/repo/repodata/repomd.xml
尝试其他镜像。
file:///opt/repodata/repomd.xml: [Errno 14] Could not open/read file:///opt/repodata/repomd.xml
尝试其他镜像。
错误:Cannot retrieve repository metadata (repomd.xml) for repository: local. Please verify its path and try again
87408542 于 2011-11-28 08:21:33发表:
2# 6shao
恩 错误是缺少这个包 不过 我安装的就是这个包阿 没有依赖项的问题存在阿……
绿色圣光 于 2011-11-27 23:41:21发表:
没搞懂楼主为什么要打那么一堆乱七八糟的命令……
为什么不直接从源安装?[code]sudo yum install gcc[/code]
6shao 于 2011-11-27 22:54:34发表:
#umount /media/Fedora 7
这个我知道,mount是装载、载入iso文件什么的,umount则是卸载。
报的错误是需要createrepo-0.9.9-5.fc16.noarch这个包