2016-10-12 5 views
0

Ich benutze diese Schritte, um mono auf Centos7 zu installieren, und es hat für mich seit Tagen funktioniert.Installiere Mono auf Centos7

mkdir /mono 
wget http://download.mono-project.com/repo/xamarin.gpg -P /mono 
rpm --import /mono/xamarin.gpg 
yum-config-manager --add-repo http://download.mono-project.com/repo/centos/ 
yum install -y mono-complete 

Und jetzt hält es versagt und nicht mono installieren:

failure: repodata/bd6e4ea2b820dd6b71fd4fca044931e043e411cc2ba8e362b8249951474224b6-primary.sqlite.bz2 from download.mono-project.com_repo_centos_: [Errno 256] No more mirrors to try. 
http://download.mono-project.com/repo/centos/repodata/bd6e4ea2b820dd6b71fd4fca044931e043e411cc2ba8e362b8249951474224b6-primary.sqlite.bz2: [Errno 14] HTTP Error 404 - Not Found 

Gibt es ein Problem mit dem Repository gerade jetzt? Oder sollte ich es von einer anderen Quelle installieren?

Es ist ein Centos7-Host, der auf Azure in der Region Nordeuropa läuft.

+0

Es sieht aus wie ein Problem mit dem DNS getan zu installieren, weil es richtig von einer VM läuft in Region "Ost-USA" oder "Westeuropa". – Kemy

Antwort

0

Folgen Sie einfach den unten beschriebenen Schritte mono

yum-config-manager --add-repo http://download.mono-project.com/repo/centos-beta/ 
yum repolist 

und schließlich

yum install -y mono-complete 

Install Mono

+0

für Visual Basic-Unterstützung in 'Mono' auf Centos müssen Sie auch' yum installieren -y Mono-Basic' –