//////VMware虚拟机安装好Fedora-14-i386-DVD.iso镜像后,执行yum -y install vim 报错如下:劳烦大神看看如何解决?
[root@localhost yum.repos.d]# yum -y install vim
Loaded plugins: langpacks, presto, refresh-packagekit
Adding en_US to language list
There are no enabled repos.
Run "yum repolist all" to see the repos you have.
You can enable repos with yum-config-manager --enable <repo>
[[root@localhost yum.repos.d]# yum update
Loaded plugins: langpacks, presto, refresh-packagekit
Adding en_US to language list
There are no enabled repos.
Run "yum repolist all" to see the repos you have.
You can enable repos with yum-config-manager --enable <repo>
[root@localhost yum.repos.d]# yum clean all
Loaded plugins: langpacks, presto, refresh-packagekit
Adding en_US to language list
There are no enabled repos.
Run "yum repolist all" to see the repos you have.
You can enable repos with yum-config-manager --enable <repo>
[root@localhost yum.repos.d]# 根据网上提示使用网上的fedora.repo文件,重新yum操作:
/////////////////////////////////////////////////////////////////////
[root@localhost yum.repos.d]# yum clean all
Loaded plugins: langpacks, presto, refresh-packagekit
Adding en_US to language list
File contains parsing errors: file://///etc/yum.repos.d/fedora_update.repo
[line 2]: name=Fedora 14 -i386 - Updates -ustc [line 3]: failovermethod=priority [line 4]: baseurl=http://mirrors.ustc.edu.cn/fedora/linux/updates/14/i386/ [line 5]: mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=updates-released-f14&arch=i386 [line 6]: enabled=1 [line 7]: gpgcheck=1 [line 8]: gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-i386 [line 10]: [updates-debuginfo] [line 11]: name=Fedora14 - i386 - Updates - Debug-ustc [line 12]: failovermethod=priority [line 13]: baseurl=http://mirrors.ustc.edu.cn/fedora/linux/updates/14/i386/debug/ [line 14]: mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=updates-released-debug-f14&arch=i386 [line 15]: enabled=0 [line 16]: gpgcheck=1 [line 17]: gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-i386 [line 19]: [updates-source] [line 20]: name=Fedora14 - Updates Source -ustc [line 21]: failovermethod=priority [line 22]: baseurl=http://mirrors.ustc.edu.cn/fedora/linux/updates/14/SRPMS/ [line 23]: mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=updates-released-source-f14&arch=i386 [line 24]: enabled=0 [line 25]: gpgcheck=1 [line 26]: gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-i386[root@localhost yum.repos.d]# ^C
[root@localhost yum.repos.d]# ^C
[root@localhost yum.repos.d]#
[root@localhost yum.repos.d]# yum -y install vim
Loaded plugins: langpacks, presto, refresh-packagekit
Adding en_US to language list
There are no enabled repos.
Run "yum repolist all" to see the repos you have.
You can enable repos with yum-config-manager --enable <repo>
[[root@localhost yum.repos.d]# yum update
Loaded plugins: langpacks, presto, refresh-packagekit
Adding en_US to language list
There are no enabled repos.
Run "yum repolist all" to see the repos you have.
You can enable repos with yum-config-manager --enable <repo>
[root@localhost yum.repos.d]# yum clean all
Loaded plugins: langpacks, presto, refresh-packagekit
Adding en_US to language list
There are no enabled repos.
Run "yum repolist all" to see the repos you have.
You can enable repos with yum-config-manager --enable <repo>
[root@localhost yum.repos.d]# 根据网上提示使用网上的fedora.repo文件,重新yum操作:
/////////////////////////////////////////////////////////////////////
[root@localhost yum.repos.d]# yum clean all
Loaded plugins: langpacks, presto, refresh-packagekit
Adding en_US to language list
File contains parsing errors: file://///etc/yum.repos.d/fedora_update.repo
[line 2]: name=Fedora 14 -i386 - Updates -ustc [line 3]: failovermethod=priority [line 4]: baseurl=http://mirrors.ustc.edu.cn/fedora/linux/updates/14/i386/ [line 5]: mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=updates-released-f14&arch=i386 [line 6]: enabled=1 [line 7]: gpgcheck=1 [line 8]: gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-i386 [line 10]: [updates-debuginfo] [line 11]: name=Fedora14 - i386 - Updates - Debug-ustc [line 12]: failovermethod=priority [line 13]: baseurl=http://mirrors.ustc.edu.cn/fedora/linux/updates/14/i386/debug/ [line 14]: mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=updates-released-debug-f14&arch=i386 [line 15]: enabled=0 [line 16]: gpgcheck=1 [line 17]: gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-i386 [line 19]: [updates-source] [line 20]: name=Fedora14 - Updates Source -ustc [line 21]: failovermethod=priority [line 22]: baseurl=http://mirrors.ustc.edu.cn/fedora/linux/updates/14/SRPMS/ [line 23]: mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=updates-released-source-f14&arch=i386 [line 24]: enabled=0 [line 25]: gpgcheck=1 [line 26]: gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-i386[root@localhost yum.repos.d]# ^C
[root@localhost yum.repos.d]# ^C
[root@localhost yum.repos.d]#
解决方案 »
- 他山界面开发框架v22.0 for Linux
- centos6.5 FTP服务器搭建后匿名可以访问,输入用户始终不行
- win10安装Linux出错求解决方法!
- 支持中文的Write命令实现 linux运行环境下实现
- 请问已经安装了虚拟机LINUX ,最后一步提示要卸载虚拟光驱,重新启动才能使用,问题是:怎么卸载虚拟光驱,我在卸载/更新处没有找到它的虚拟光驱
- linux 下 gerp 详解
- 求助 有关于Aix系统的日志收集
- 使用linux,ip地址前一天还是ipv4,第二天变成ipv6的了,有碰到过这种情况么?怎么解决?
- 各位大佬,我在安装tilda终端时遇到了问题
- 哪个个大佬帮帮我这个惠普的BIOS的虚拟化技术在哪里打开啊
- 关于安装openldap的一些问题
- 求助,写一个shell脚本,修改指定路径下的文件后缀名,将用户指定路径下的所有后缀名为.txt的文件重命名为.pub
2、repo文件里面地址有问题,你试试复制出来能不能访问
你试下能不能ping通www.baidu.com,可以ping通,就是repo里面的链接有问题,可以换一个对应系统版本的yum源(下面这个试试)
[Fedora-mirrors.163.com]
name=Fedora 14 – i386
baseurl=http://mirrors.163.com/fedora/updates/14/i386/
enabled=1
gpgcheck=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-Fedora file:///etc/pki/rpm-gpg/RPM-GPG-KEY
[Everything-mirrors.163.com]
name=Everything 14 – i386
baseurl=http://mirrors.163.com/fedora/updates/14/i386/
enabled=1
gpgcheck=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-Fedora file:///etc/pki/rpm-gpg/RPM-GPG-KEY
[updates-mirrors.163.com]
name=Fedora updates
baseurl=http://mirrors.163.com/fedora/updates/14/i386/
enabled=1
gpgcheck=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-Fedora file:///etc/pki/rpm-gpg/RPM-GPG-KEY