Home > OS >  Using a virtual machine loading after the installation of fedora image, use the yum - y install vim
Using a virtual machine loading after the installation of fedora image, use the yum - y install vim

Time:09-30

//////VMware virtual machine installed Fedora - 14 - i386 - DVD. The iso image, perform yum - y install vim error is as follows: with the great god, look at how to solve?
[root @ localhost yum. Repos. D] # yum - y install vim
The 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 & lt; Repo>
[[root @ localhost yum. Repos. D] # yum update
The 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 & lt; Repo>
[root @ localhost yum. Repos. D] # yum clean all
The 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 & lt; Repo>
[root @ localhost yum. Repos. D] #

According to the online prompt use fedora. Repo file, to yum operation:
/////////////////////////////////////////////////////////////////////
[root @ localhost yum. Repos. D] # yum clean all
The Loaded plugins: langpacks, presto, refresh - packagekit
Adding en_US to language list


The File contains parsing errors: file://///etc/yum.repos.d/fedora_update.repo
[line 2] : name=Fedora 14 - i386 - Updates - ustc

[the line 3] : failovermethod=priority

[4] line: baseurl=http://mirrors.ustc.edu.cn/fedora/linux/updates/14/i386/

[line 5] : mirrorlist=https://mirrors.fedoraproject.org/metalink? Repo=updates - released - f14 & amp; The arch=i386

[the line 6] : enabled=1

[7] line: gpgcheck=1

[8] line: gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-i386

[10] line: [updates - debuginfo]

[11] line: name=Fedora14 - i386 - Updates - Debug - ustc

[12] line: failovermethod=priority

[line 13] : baseurl=http://mirrors.ustc.edu.cn/fedora/linux/updates/14/i386/debug/

[14] line: mirrorlist=https://mirrors.fedoraproject.org/metalink? Repo=updates - released - debug - f14 & amp; The arch=i386

[15] line: enabled=0

[16] line: gpgcheck=1

[17] line: gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-i386

[19] line: [updates - source]

[20] line: name=Fedora14 - Updates the Source - ustc

[21] line: failovermethod=priority

[line 22] : baseurl=http://mirrors.ustc.edu.cn/fedora/linux/updates/14/SRPMS/

[23] line: mirrorlist=https://mirrors.fedoraproject.org/metalink? Repo=updates - released - the source - f14 & amp; The arch=i386

[24] line: enabled=0

[25] line: gpgcheck=1

[26] line: 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] #

CodePudding user response:

1, network problems, can't TongWai net
2, the repo file inside address has a problem, you can try to copy out

CodePudding user response:

Tried, on the virtual machine cannot access

CodePudding user response:

reference 1st floor zhouchao6 response:
1, the network problem, cannot TongWai net
2, the repo file inside address has a problem, you can try to copy out visit

Tried under a virtual machine cannot access

CodePudding user response:

reference 1st floor zhouchao6 response:
1, the network problem, cannot TongWai net
2, the repo file inside address has a problem, you can try to copy out visit

Tried under a virtual machine cannot access

CodePudding user response:

insert reference 4 floor hey hey reply:
Quote: refer to 1st floor zhouchao6 response:
1, the network problem, cannot TongWai net
2, the repo file inside address has a problem, you can try to copy out visit

Tried under a virtual machine cannot access

You can try to ping www.baidu.com, you can ping, is the inside of the repo link has a problem, can change a corresponding system version of yum source (the following try)


[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
  • Related