Salut Clémentv
Clémentv a écritÇa fait un long post pour expliquer que tu maîtrise mieux apt-get que yum.
Si ça ne te dérange pas, je pensais seulement qu'ici c'est le Café et que l'on ne doit pas forcément y poser des questions !
Clémentv a écritLes noms de paquets sont différents mais aucune nomenclature n'est meilleur que l'autre. Un utilisateur de Fedora passant à Debian aura le même problème. Debian n'est pas un standard.
Les suffixes d'architecture sont optionnels (comme avec Debian), tu ne le précises pas, tu installes la version qui va avec ton système.
Merci pour cette info car lorsque j'ai demandé sur le forum Fedora comment installer C++, on m'a simplement répondu deux trucs très c.ns comme le font habituellement les Geeks :
a- man est ton ami (mais bien sur)
b- yum search (mais re bien sur surtout quand tu ne sais même pas ce qu'il faut chercher)
Lorsque tu débarques sous Fedora, expérience préalable d'une distro dérivée de Debian ou non, le moins que tu puisses dire (tout en restant poli) est que tu es vraiment paumé !
Au moins, toi tu viens de me donner un super tuyau sur yum et sur le forum Ubuntu, info que je n'ai même pas eu chez Fedora. Merci.
Clémentv a écritJe comprends pas trop ce que tu essayes de faire avec whereis donc je peux pas t'aider mais des yum install en boucle ça me parait louche.
J'explique:
Sur toutes les machines sur lesquelles j'ai installé Fedora (PC réels ou VM), yum et wget ont l'un comme l'autre énormément de mal à télécharger l'un, des paquets venant de miroirs, l'autre, des fichiers venant de site web connus.
Chez Fedora, on me raconte des sornettes comme quoi j'aurai des problèmes internet, que c'est de la faute d'Orange, qu'il faut utiliser une adresse fixe et des serveurs de dns extérieurs, etc. etc. etc..
Balivernes !
Niet ! Car si c'était vraiment le cas, mes machines (PC réels et VM) Debian, LinuxMint et Ubuntu tournant en même temps sur le même réseau chez le même fai (et pour cause) et toutes en DHCP auraient aussi des problèmes similaires (CQFD).
Mais ce n'est pas le cas !
C'est donc bien que sous Fedora yum a un problème pour trouver ses miroirs et que wget ne sait pas bien "tenir" une liaison (quand il arrive à en établir une).
D'ailleurs, aujourd'hui on me "conseille" d'aller régler les "timeout", mais bien sur sans donner la moindre explication de ce qu'il faut modifier, ni où, ni comment.
Bref... des posts bien inutiles.
Clémentv a écritFinalement, tu râles beaucoup mais ne pose pas beaucoup de questions.
.
On est au Café, et si j'admets volontiers que dans ce thread je n'ai pas posé beaucoup de questions, elles peuvent se déduire assez facilement.
Mais si tu veux m'aider, voici la description de la situation :
Problème 1 :
Que ce soit avec Debian, Ubuntu, LinuxMint ou Fedora et CentOS, comment être certain que le téléchargement d'un fichier fait avec wget donné est bien arrivé ?
Au début, pour Fedora, j'ai pensé à faire ceci (alors que je n'en ai jamais eu besoin avant dans la "famille" Debian) :
#
# Special function to secure the use of wget with Fedora !
#
get_file()
{
wget -O $DEST$FILE $SOURCE$FILE
filesize=$(ls -s $FILE |cut -c 1,2)
while [ "$filesize" = "0 " ]
do
wget -O $DEST$FILE $SOURCE$FILE
filesize=$(ls -s $FILE |cut -c 1,2)
done
}
DEST="/home/fnux/tmp/"
FILE="mono-3.0.2.tar.bz2"
SOURCE="http://origin-download.mono-project.com/sources/mono/"
get_file
FILE="foo"
SOURCE="bar"
get_file
etc. etc. etc.
Mais en fait, ce n'est même pas suffisant car le téléchargement peut s'être partiellement effectué avant de s'arrêter (surtout sous Fedora) et je peux donc avoir un fichier partiel et inutilisable.
Je vais donc maintenant utiliser un contrôle md5sum pour chaque fichier demandé dans le style :
#
# Special function to secure the use of wget
#
get_secured_file()
{
wget -O $DEST$FILE $SOURCE$FILE
filesum=$(md5sum $DEST$FILE)
while [ "$filesum" != "$GETSUM" ]
do
wget -O $DEST$FILE $SOURCE$FILE
filesize=$(ls -s $FILE |cut -c 1,2)
done
}
DEST="/home/fnux/tmp/"
FILE="mono-3.0.2.tar.bz2"
SOURCE="http://origin-download.mono-project.com/sources/mono/"
GETSUM="c8a14c8c0a6013d865f81324830e0eec"
get_secured_file
FILE="node-v0.8.20.tar.gz"
SOURCE="http://nodejs.org/dist/v0.8.20/"
GETSUM="dd8a977b8f38d6ccba25540fa8a8ffce"
get_secured_file
etc. etc. etc.
Mais comme tu vois, ça m'oblige à connaître d'avance chaque md5 de chaque fichier.
Dans le cas spécifique de mon script, cela ne me pose pas trop de problème, mais pour la maintenance... bonjour et merci.
Bon, c'est pas grave (à part du code inutile pour régler un problème de fiabilité de wget sous Fedora et ses cousines Red Hat ou CentOS).
Problème 2 :
Maintenant, comment être certain qu'un paquet donné et demandé (par apt-get install ou par yum install) a effectivement été téléchargé et bien installé ?
J'ai au début pensé à faire un truc similaire avec une boucle qui utilise whereis.
Mais en fait, si cela fonctionne très bien pour un paquet qui est un exécutable (wget lui même par exemple) ou du genre "libcairo", ce type de test est parfaitement inadapté à des paquets comme "libcairo2-devel" sur lesquels la commande whereis ne répond rien alors que ces paquets sont bien installés.
On m'a expliqué ce matin que sous Fedora, il fallait utiliser la commande "rpm -q nom_du-paquet" et que sous Debian and Co, il fallait utiliser la commande "dpkg -l nom_du_paquet".
Effectivement, ces deux commandesn semblent bien répondre à mon besoin, si ce n'est que je vais encore galérer avec "sed" pour extraire ce que je cherche des réponses renvoyées par ces deux outils.
Exemples avec le paquet "scala":
Sous Ubuntu, si scala n'est pas installé, la commande dpkg -l scala répond :
fnux@U-1004-64:~$ dpkg -l scala
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Description
+++-==============-==============-============================================
un scala <none> (no description available)
fnux@U-1004-64:~$
et si scala est installé, elle répond :
fnux@U-1004-64:~$ dpkg -l scala
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Description
+++-==============-==============-============================================
ii scala 2.7.7.dfsg-4ub The Scala programming language
fnux@U-1004-64:~$
Donc, il faut que j'analyse la dernière ligne "ii scala" ou "un scala"
Et sous Fedora, si scala n'est pas installé, la commande rpm -q scala répond :
[fnux@F-17-64 ~]$ sudo rpm -q scala
package scala is not installed
[fnux@F-17-64 ~]$
et si scala est installé, elle répond :
[fnux@F-17-64 ~]$ sudo rpm -q scala
scala-2.9.2-4.fc17.noarch
[fnux@F-17-64 ~]$ sudo yum remove scala
Là, c'est encore plus simple.
Clémentv a écritPour Debian, tu peux avoir la suppression automatique des paquets inutiles en utilisant aptitude au lieu de apt-get/apt-cache. En plus aptitude gère beaucoup mieux les conflits.
J'utilise apt-get depuis le début et je n'ai jamais eu le moindre problème, mais je vais regarder aussi avec aptitude. Merci.
Clémentv a écritVu ta résistance au changement, tu risques d'avoir du mal avec ArchLinux également.
Je n'ai strictement aucune résistance au changement, et même loin de là vu tous les essais de distros différentes que je me tape.
Par contre, je râle facilement contre les tutos mal écrits et incomplets.
A propos d'ArchLinux, le plus bel exemple est justement leur page web d'installation, bourrée de liens et de liens et de liens et incapable de prendre le débutant par la main de A à Z, d'une seule traite, pour faire une install complète.
Pour l'instant, mes essais s'arrêtent à un ArchLinux sans interface graphique (je dois être très c.n pour ne pas comprendre comment installer Gnome).
Mais à mon âge avancé, je ne crains plus les critiques acerbes des jeunes Geeks.
Asta la vista, Baby!
Mais attention aussi : I'll be back!
Merci quand même de tes infos.
PS: Tiens, juste pour rigoler, voici la dernière installation de scala sous Fedora 17. Un vrai gag ce yum! Une petite viste de 256 miroirs pour ne rien trouver avant le second passage. Génial ! Et en plus, lors de la répétition de la commande, tu ne sais même pas quel est le miroir qui a répondu.
Donc, dans un script, si tu ne fais pas une boucle avec un test, tu n'as, avec Fedora, aucune certitude que le paquet demandé sera installé !
Désolé mais je n'ai JAMAIS eu ce problème avec apt-get !
[fnux@F-17-64 ~]$ sudo yum install scala
Loaded plugins: langpacks, presto, refresh-packagekit
Resolving Dependencies
--> Running transaction check
---> Package scala.noarch 0:2.9.2-4.fc17 will be installed
--> Finished Dependency Resolution
Dependencies Resolved
=======================================================================================================================
Package Arch Version Repository Size
=======================================================================================================================
Installing:
scala noarch 2.9.2-4.fc17 updates 20 M
Transaction Summary
=======================================================================================================================
Install 1 Package
Total download size: 20 M
Installed size: 22 M
Is this ok [y/N]: y
Downloading Packages:
scala-2.9.2-4.fc17.noarch.rpm FAILED
http://ftp.crc.dk/fedora/linux/updates/17/x86_64/scala-2.9.2-4.fc17.noarch.rpm: [Errno 14] curl#6 - "Could not resolve host: ftp.crc.dk; Name or service not known"
Trying other mirror.
scala-2.9.2-4.fc17.noarch.rpm FAILED
ftp://ftp.proxad.net/mirrors/fedora.redhat.com/fedora/linux/updates/17/x86_64/scala-2.9.2-4.fc17.noarch.rpm: [Errno 14] curl#6 - "Could not resolve host: ftp.proxad.net; Name or service not known"
Trying other mirror.
scala-2.9.2-4.fc17.noarch.rpm FAILED
http://mirrors.n-ix.net/fedora/linux/updates/17/x86_64/scala-2.9.2-4.fc17.noarch.rpm: [Errno 14] curl#6 - "Could not resolve host: mirrors.n-ix.net; Name or service not known"
Trying other mirror.
scala-2.9.2-4.fc17.noarch.rpm FAILED
http://ftp.wsisiz.edu.pl/pub/linux/fedora/linux/updates/17/x86_64/scala-2.9.2-4.fc17.noarch.rpm: [Errno 14] curl#6 - "Could not resolve host: ftp.wsisiz.edu.pl; Name or service not known"
Trying other mirror.
scala-2.9.2-4.fc17.noarch.rpm FAILED
http://ftp.nluug.nl/pub/os/Linux/distr/fedora/linux/updates/17/x86_64/scala-2.9.2-4.fc17.noarch.rpm: [Errno 14] curl#6 - "Could not resolve host: ftp.nluug.nl; Name or service not known"
Trying other mirror.
scala-2.9.2-4.fc17.noarch.rpm FAILED
http://ftp.udl.es/pub/fedora/linux/updates/17/x86_64/scala-2.9.2-4.fc17.noarch.rpm: [Errno 14] curl#6 - "Could not resolve host: ftp.udl.es; Name or service not known"
Trying other mirror.
scala-2.9.2-4.fc17.noarch.rpm FAILED
http://fedora.linux.ee/pub/fedora/linux/updates/17/x86_64/scala-2.9.2-4.fc17.noarch.rpm: [Errno 14] curl#6 - "Could not resolve host: fedora.linux.ee; Name or service not known"
Trying other mirror.
scala-2.9.2-4.fc17.noarch.rpm FAILED
http://mirror.karneval.cz/pub/linux/fedora/linux/updates/17/x86_64/scala-2.9.2-4.fc17.noarch.rpm: [Errno 14] curl#6 - "Could not resolve host: mirror.karneval.cz; Name or service not known"
Trying other mirror.
scala-2.9.2-4.fc17.noarch.rpm FAILED
http://mirror2.hs-esslingen.de/fedora/linux/updates/17/x86_64/scala-2.9.2-4.fc17.noarch.rpm: [Errno 14] curl#6 - "Could not resolve host: mirror2.hs-esslingen.de; Name or service not known"
Trying other mirror.
scala-2.9.2-4.fc17.noarch.rpm FAILED
http://mirror.bytemark.co.uk/fedora/linux/updates/17/x86_64/scala-2.9.2-4.fc17.noarch.rpm: [Errno 14] curl#6 - "Could not resolve host: mirror.bytemark.co.uk; Name or service not known"
Trying other mirror.
scala-2.9.2-4.fc17.noarch.rpm FAILED
http://be.mirror.eurid.eu/fedora/linux/updates/17/x86_64/scala-2.9.2-4.fc17.noarch.rpm: [Errno 14] curl#6 - "Could not resolve host: be.mirror.eurid.eu; Name or service not known"
Trying other mirror.
scala-2.9.2-4.fc17.noarch.rpm FAILED
http://fedora.mirrors.ovh.net/linux/updates/17/x86_64/scala-2.9.2-4.fc17.noarch.rpm: [Errno 14] curl#6 - "Could not resolve host: fedora.mirrors.ovh.net; Name or service not known"
Trying other mirror.
scala-2.9.2-4.fc17.noarch.rpm FAILED
http://ftp.free.fr/mirrors/fedora.redhat.com/fedora/linux/updates/17/x86_64/scala-2.9.2-4.fc17.noarch.rpm: [Errno 14] curl#6 - "Could not resolve host: ftp.free.fr; Name or service not known"
Trying other mirror.
scala-2.9.2-4.fc17.noarch.rpm FAILED
http://mirror.muntinternet.net/pub/fedora/linux/updates/17/x86_64/scala-2.9.2-4.fc17.noarch.rpm: [Errno 14] curl#6 - "Could not resolve host: mirror.muntinternet.net; Name or service not known"
Trying other mirror.
scala-2.9.2-4.fc17.noarch.rpm FAILED
http://ftp.lip6.fr/ftp/pub/linux/distributions/fedora/updates/17/x86_64/scala-2.9.2-4.fc17.noarch.rpm: [Errno 14] curl#6 - "Could not resolve host: ftp.lip6.fr; Name or service not known"
Trying other mirror.
scala-2.9.2-4.fc17.noarch.rpm FAILED
http://fr2.rpmfind.net/linux/fedora/linux/updates/17/x86_64/scala-2.9.2-4.fc17.noarch.rpm: [Errno 14] curl#6 - "Could not resolve host: fr2.rpmfind.net; Name or service not known"
Trying other mirror.
scala-2.9.2-4.fc17.noarch.rpm FAILED
http://nl.mirror.eurid.eu/fedora/linux/updates/17/x86_64/scala-2.9.2-4.fc17.noarch.rpm: [Errno 14] curl#6 - "Could not resolve host: nl.mirror.eurid.eu; Name or service not known"
Trying other mirror.
scala-2.9.2-4.fc17.noarch.rpm FAILED
http://ftp-stud.hs-esslingen.de/pub/fedora/linux/updates/17/x86_64/scala-2.9.2-4.fc17.noarch.rpm: [Errno 14] curl#6 - "Could not resolve host: ftp-stud.hs-esslingen.de; Name or service not known"
Trying other mirror.
scala-2.9.2-4.fc17.noarch.rpm FAILED
http://ftp.cc.uoc.gr/pub/fedora/linux/updates/17/x86_64/scala-2.9.2-4.fc17.noarch.rpm: [Errno 14] curl#6 - "Could not resolve host: ftp.cc.uoc.gr; Name or service not known"
Trying other mirror.
scala-2.9.2-4.fc17.noarch.rpm FAILED
http://mirror1.atrpms.net/fedora/linux/updates/17/x86_64/scala-2.9.2-4.fc17.noarch.rpm: [Errno 14] curl#6 - "Could not resolve host: mirror1.atrpms.net; Name or service not known"
Trying other mirror.
scala-2.9.2-4.fc17.noarch.rpm FAILED
http://ftp.upjs.sk/pub/fedora/linux/updates/17/x86_64/scala-2.9.2-4.fc17.noarch.rpm: [Errno 14] curl#6 - "Could not resolve host: ftp.upjs.sk; Name or service not known"
Trying other mirror.
scala-2.9.2-4.fc17.noarch.rpm FAILED
http://mirror.1000mbps.com/fedora/linux/updates/17/x86_64/scala-2.9.2-4.fc17.noarch.rpm: [Errno 14] curl#6 - "Could not resolve host: mirror.1000mbps.com; Name or service not known"
Trying other mirror.
scala-2.9.2-4.fc17.noarch.rpm FAILED
http://gd.tuwien.ac.at/opsys/linux/fedora/linux/updates/17/x86_64/scala-2.9.2-4.fc17.noarch.rpm: [Errno 14] curl#6 - "Could not resolve host: gd.tuwien.ac.at; Name or service not known"
Trying other mirror.
scala-2.9.2-4.fc17.noarch.rpm FAILED
http://mirror.datacenter.by/pub/fedoraproject.org/linux/updates/17/x86_64/scala-2.9.2-4.fc17.noarch.rpm: [Errno 14] curl#6 - "Could not resolve host: mirror.datacenter.by; Name or service not known"
Trying other mirror.
scala-2.9.2-4.fc17.noarch.rpm FAILED
http://vesta.informatik.rwth-aachen.de/ftp/pub/Linux/fedora/linux/updates/17/x86_64/scala-2.9.2-4.fc17.noarch.rpm: [Errno 14] curl#6 - "Could not resolve host: vesta.informatik.rwth-aachen.de; Name or service not known"
Trying other mirror.
scala-2.9.2-4.fc17.noarch.rpm FAILED
http://mirror.vit.com.tr/mirror/Fedora/linux/updates/17/x86_64/scala-2.9.2-4.fc17.noarch.rpm: [Errno 14] curl#6 - "Could not resolve host: mirror.vit.com.tr; Name or service not known"
Trying other mirror.
scala-2.9.2-4.fc17.noarch.rpm FAILED
http://www.fedora.is/fedora/updates/17/x86_64/scala-2.9.2-4.fc17.noarch.rpm: [Errno 14] curl#6 - "Could not resolve host: www.fedora.is; Name or service not known"
Trying other mirror.
scala-2.9.2-4.fc17.noarch.rpm FAILED
http://ftp.klid.dk/ftp/fedora/linux/updates/17/x86_64/scala-2.9.2-4.fc17.noarch.rpm: [Errno 14] curl#6 - "Could not resolve host: ftp.klid.dk; Name or service not known"
Trying other mirror.
scala-2.9.2-4.fc17.noarch.rpm FAILED
ftp://ftp.mirrorservice.org/sites/dl.fedoraproject.org/pub/fedora/linux/updates/17/x86_64/scala-2.9.2-4.fc17.noarch.rpm: [Errno 14] curl#6 - "Could not resolve host: ftp.mirrorservice.org; Name or service not known"
Trying other mirror.
scala-2.9.2-4.fc17.noarch.rpm FAILED
http://ftp.uni-kl.de/pub/linux/fedora/linux/updates/17/x86_64/scala-2.9.2-4.fc17.noarch.rpm: [Errno 14] curl#6 - "Could not resolve host: ftp.uni-kl.de; Name or service not known"
Trying other mirror.
scala-2.9.2-4.fc17.noarch.rpm FAILED
http://fedora.ip-connect.vn.ua/linux/updates/17/x86_64/scala-2.9.2-4.fc17.noarch.rpm: [Errno 14] curl#6 - "Could not resolve host: fedora.ip-connect.vn.ua; Name or service not known"
Trying other mirror.
scala-2.9.2-4.fc17.noarch.rpm FAILED
http://fedora.uib.no/fedora/linux/updates/17/x86_64/scala-2.9.2-4.fc17.noarch.rpm: [Errno 14] curl#6 - "Could not resolve host: fedora.uib.no; Name or service not known"
Trying other mirror.
scala-2.9.2-4.fc17.noarch.rpm FAILED
ftp://ftp.fedora.is/pub/fedora/updates/17/x86_64/scala-2.9.2-4.fc17.noarch.rpm: [Errno 14] curl#6 - "Could not resolve host: ftp.fedora.is; Name or service not known"
Trying other mirror.
scala-2.9.2-4.fc17.noarch.rpm FAILED
http://sunsite.icm.edu.pl/pub/Linux/fedora/linux/updates/17/x86_64/scala-2.9.2-4.fc17.noarch.rpm: [Errno 14] curl#6 - "Could not resolve host: sunsite.icm.edu.pl; Name or service not known"
Trying other mirror.
scala-2.9.2-4.fc17.noarch.rpm FAILED
http://ftp.cica.es/fedora/linux/updates/17/x86_64/scala-2.9.2-4.fc17.noarch.rpm: [Errno 14] curl#6 - "Could not resolve host: ftp.cica.es; Name or service not known"
Trying other mirror.
scala-2.9.2-4.fc17.noarch.rpm FAILED
http://ftp.rhnet.is/pub/fedora/linux/updates/17/x86_64/scala-2.9.2-4.fc17.noarch.rpm: [Errno 14] curl#6 - "Could not resolve host: ftp.rhnet.is; Name or service not known"
Trying other mirror.
scala-2.9.2-4.fc17.noarch.rpm FAILED
http://ftp.uni-bayreuth.de/linux/fedora/linux/updates/17/x86_64/scala-2.9.2-4.fc17.noarch.rpm: [Errno 14] curl#6 - "Could not resolve host: ftp.uni-bayreuth.de; Name or service not known"
Trying other mirror.
scala-2.9.2-4.fc17.noarch.rpm FAILED
http://ftp.informatik.uni-frankfurt.de/fedora/updates/17/x86_64/scala-2.9.2-4.fc17.noarch.rpm: [Errno 14] curl#6 - "Could not resolve host: ftp.informatik.uni-frankfurt.de; Name or service not known"
Trying other mirror.
scala-2.9.2-4.fc17.noarch.rpm FAILED
http://mir01.syntis.net/fedora/linux/updates/17/x86_64/scala-2.9.2-4.fc17.noarch.rpm: [Errno 14] curl#6 - "Could not resolve host: mir01.syntis.net; Name or service not known"
Trying other mirror.
scala-2.9.2-4.fc17.noarch.rpm FAILED
http://mirrors.ircam.fr/pub/fedora/linux/updates/17/x86_64/scala-2.9.2-4.fc17.noarch.rpm: [Errno 14] curl#6 - "Could not resolve host: mirrors.ircam.fr; Name or service not known"
Trying other mirror.
scala-2.9.2-4.fc17.noarch.rpm FAILED
http://ftp.fi.muni.cz/pub/linux/fedora/linux/updates/17/x86_64/scala-2.9.2-4.fc17.noarch.rpm: [Errno 14] curl#6 - "Could not resolve host: ftp.fi.muni.cz; Name or service not known"
Trying other mirror.
scala-2.9.2-4.fc17.noarch.rpm FAILED
http://ftp.linux.cz/pub/linux/fedora/linux/updates/17/x86_64/scala-2.9.2-4.fc17.noarch.rpm: [Errno 14] curl#6 - "Could not resolve host: ftp.linux.cz; Name or service not known"
Trying other mirror.
scala-2.9.2-4.fc17.noarch.rpm FAILED
ftp://ftp6.linux.cz/pub/linux/fedora/linux/updates/17/x86_64/scala-2.9.2-4.fc17.noarch.rpm: [Errno 14] curl#6 - "Could not resolve host: ftp6.linux.cz; Name or service not known"
Trying other mirror.
scala-2.9.2-4.fc17.noarch.rpm FAILED
http://ftp.heanet.ie/pub/fedora/linux/updates/17/x86_64/scala-2.9.2-4.fc17.noarch.rpm: [Errno 14] curl#6 - "Could not resolve host: ftp.heanet.ie; Name or service not known"
Trying other mirror.
scala-2.9.2-4.fc17.noarch.rpm FAILED
http://mirror.yandex.ru/fedora/linux/updates/17/x86_64/scala-2.9.2-4.fc17.noarch.rpm: [Errno 14] curl#6 - "Could not resolve host: mirror.yandex.ru; Name or service not known"
Trying other mirror.
scala-2.9.2-4.fc17.noarch.rpm FAILED
http://ftp.colocall.net/pub/fedora/linux/updates/17/x86_64/scala-2.9.2-4.fc17.noarch.rpm: [Errno 14] curl#6 - "Could not resolve host: ftp.colocall.net; Name or service not known"
Trying other mirror.
scala-2.9.2-4.fc17.noarch.rpm FAILED
http://www.nic.funet.fi/pub/mirrors/fedora.redhat.com/pub/fedora/linux/updates/17/x86_64/scala-2.9.2-4.fc17.noarch.rpm: [Errno 14] curl#6 - "Could not resolve host: www.nic.funet.fi; Name or service not known"
Trying other mirror.
scala-2.9.2-4.fc17.noarch.rpm FAILED
ftp://ftp.funet.fi/pub/mirrors/fedora.redhat.com/pub/fedora/linux/updates/17/x86_64/scala-2.9.2-4.fc17.noarch.rpm: [Errno 14] curl#6 - "Could not resolve host: ftp.funet.fi; Name or service not known"
Trying other mirror.
scala-2.9.2-4.fc17.noarch.rpm FAILED
http://ftp.astral.ro/mirrors/fedora/pub/fedora/linux/updates/17/x86_64/scala-2.9.2-4.fc17.noarch.rpm: [Errno 14] curl#6 - "Could not resolve host: ftp.astral.ro; Name or service not known"
Trying other mirror.
scala-2.9.2-4.fc17.noarch.rpm FAILED
http://www.mirrorservice.org/sites/dl.fedoraproject.org/pub/fedora/linux/updates/17/x86_64/scala-2.9.2-4.fc17.noarch.rpm: [Errno 14] curl#6 - "Could not resolve host: www.mirrorservice.org; Name or service not known"
Trying other mirror.
scala-2.9.2-4.fc17.noarch.rpm FAILED
http://mirror.switch.ch/ftp/mirror/fedora/linux/updates/17/x86_64/scala-2.9.2-4.fc17.noarch.rpm: [Errno 14] curl#6 - "Could not resolve host: mirror.switch.ch; Name or service not known"
Trying other mirror.
scala-2.9.2-4.fc17.noarch.rpm FAILED
http://ftp.byfly.by/pub/fedoraproject.org/linux/updates/17/x86_64/scala-2.9.2-4.fc17.noarch.rpm: [Errno 14] curl#6 - "Could not resolve host: ftp.byfly.by; Name or service not known"
Trying other mirror.
scala-2.9.2-4.fc17.noarch.rpm FAILED
http://mirror.proserve.nl/fedora/linux/updates/17/x86_64/scala-2.9.2-4.fc17.noarch.rpm: [Errno 14] curl#6 - "Could not resolve host: mirror.proserve.nl; Name or service not known"
Trying other mirror.
scala-2.9.2-4.fc17.noarch.rpm FAILED
http://sunsite.mff.cuni.cz/MIRRORS/fedora.redhat.com/linux/updates/17/x86_64/scala-2.9.2-4.fc17.noarch.rpm: [Errno 14] curl#6 - "Could not resolve host: sunsite.mff.cuni.cz; Name or service not known"
Trying other mirror.
scala-2.9.2-4.fc17.noarch.rpm FAILED
http://ftp.linux.org.tr/fedora/updates/17/x86_64/scala-2.9.2-4.fc17.noarch.rpm: [Errno 14] curl#6 - "Could not resolve host: ftp.linux.org.tr; Name or service not known"
Trying other mirror.
scala-2.9.2-4.fc17.noarch.rpm FAILED
http://ultra.linux.cz/MIRRORS/fedora.redhat.com/linux/updates/17/x86_64/scala-2.9.2-4.fc17.noarch.rpm: [Errno 14] curl#6 - "Could not resolve host: ultra.linux.cz; Name or service not known"
Trying other mirror.
scala-2.9.2-4.fc17.noarch.rpm FAILED
http://mirror.uv.es/mirror/fedora/linux/updates/17/x86_64/scala-2.9.2-4.fc17.noarch.rpm: [Errno 14] curl#6 - "Could not resolve host: mirror.uv.es; Name or service not known"
Trying other mirror.
scala-2.9.2-4.fc17.noarch.rpm FAILED
http://fedora.tu-chemnitz.de/pub/linux/fedora/linux/updates/17/x86_64/scala-2.9.2-4.fc17.noarch.rpm: [Errno 14] curl#6 - "Could not resolve host: fedora.tu-chemnitz.de; Name or service not known"
Trying other mirror.
scala-2.9.2-4.fc17.noarch.rpm FAILED
http://mirror.netcologne.de/fedora/linux/updates/17/x86_64/scala-2.9.2-4.fc17.noarch.rpm: [Errno 14] curl#6 - "Could not resolve host: mirror.netcologne.de; Name or service not known"
Trying other mirror.
scala-2.9.2-4.fc17.noarch.rpm FAILED
http://falkor.skane.se/pub/mirrors/fedora/linux/updates/17/x86_64/scala-2.9.2-4.fc17.noarch.rpm: [Errno 14] curl#6 - "Could not resolve host: falkor.skane.se; Name or service not known"
Trying other mirror.
scala-2.9.2-4.fc17.noarch.rpm FAILED
http://mirror2.atrpms.net/fedora/linux/updates/17/x86_64/scala-2.9.2-4.fc17.noarch.rpm: [Errno 14] curl#6 - "Could not resolve host: mirror2.atrpms.net; Name or service not known"
Trying other mirror.
scala-2.9.2-4.fc17.noarch.rpm FAILED
http://fedora-mirror01.rbc.ru/pub/fedora/linux/updates/17/x86_64/scala-2.9.2-4.fc17.noarch.rpm: [Errno 14] curl#6 - "Could not resolve host: fedora-mirror01.rbc.ru; Name or service not known"
Trying other mirror.
scala-2.9.2-4.fc17.noarch.rpm FAILED
http://fedora.fastbull.org/linux/updates/17/x86_64/scala-2.9.2-4.fc17.noarch.rpm: [Errno 14] curl#6 - "Could not resolve host: fedora.fastbull.org; Name or service not known"
Trying other mirror.
scala-2.9.2-4.fc17.noarch.rpm FAILED
http://ftp.sh.cvut.cz/MIRRORS/fedora/linux/updates/17/x86_64/scala-2.9.2-4.fc17.noarch.rpm: [Errno 14] curl#6 - "Could not resolve host: ftp.sh.cvut.cz; Name or service not known"
Trying other mirror.
scala-2.9.2-4.fc17.noarch.rpm FAILED
ftp://alviss.et.tudelft.nl/pub/fedora/linux/updates/17/x86_64/scala-2.9.2-4.fc17.noarch.rpm: [Errno 14] curl#6 - "Could not resolve host: alviss.et.tudelft.nl; Name or service not known"
Trying other mirror.
scala-2.9.2-4.fc17.noarch.rpm FAILED
http://mirror.arlug.ro/pub/fedora/linux/updates/17/x86_64/scala-2.9.2-4.fc17.noarch.rpm: [Errno 14] curl#6 - "Could not resolve host: mirror.arlug.ro; Name or service not known"
Trying other mirror.
scala-2.9.2-4.fc17.noarch.rpm FAILED
http://mirrors.linux.edu.lv/ftp.redhat.com/pub/fedora/linux/updates/17/x86_64/scala-2.9.2-4.fc17.noarch.rpm: [Errno 14] curl#6 - "Could not resolve host: mirrors.linux.edu.lv; Name or service not known"
Trying other mirror.
scala-2.9.2-4.fc17.noarch.rpm FAILED
ftp://ftp.linux.edu.lv/mirrors/ftp.redhat.com/pub/fedora/linux/updates/17/x86_64/scala-2.9.2-4.fc17.noarch.rpm: [Errno 14] curl#6 - "Could not resolve host: ftp.linux.edu.lv; Name or service not known"
Trying other mirror.
scala-2.9.2-4.fc17.noarch.rpm FAILED
http://fedora.intergenia.de/updates/17/x86_64/scala-2.9.2-4.fc17.noarch.rpm: [Errno 14] curl#6 - "Could not resolve host: fedora.intergenia.de; Name or service not known"
Trying other mirror.
scala-2.9.2-4.fc17.noarch.rpm FAILED
http://ftp.itu.edu.tr/Mirror/Fedora/linux/updates/17/x86_64/scala-2.9.2-4.fc17.noarch.rpm: [Errno 14] curl#6 - "Could not resolve host: ftp.itu.edu.tr; Name or service not known"
Trying other mirror.
Error Downloading Packages:
scala-2.9.2-4.fc17.noarch: [Errno 256] No more mirrors to try.
[fnux@F-17-64 ~]$ sudo yum install scala
Loaded plugins: langpacks, presto, refresh-packagekit
Resolving Dependencies
--> Running transaction check
---> Package scala.noarch 0:2.9.2-4.fc17 will be installed
--> Finished Dependency Resolution
Dependencies Resolved
=======================================================================================================================
Package Arch Version Repository Size
=======================================================================================================================
Installing:
scala noarch 2.9.2-4.fc17 updates 20 M
Transaction Summary
=======================================================================================================================
Install 1 Package
Total download size: 20 M
Installed size: 22 M
Is this ok [y/N]: y
Downloading Packages:
scala-2.9.2-4.fc17.noarch.rpm | 20 MB 00:01:21
Running Transaction Check
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Installing : scala-2.9.2-4.fc17.noarch 1/1
Verifying : scala-2.9.2-4.fc17.noarch 1/1
Installed:
scala.noarch 0:2.9.2-4.fc17
Complete!
[fnux@F-17-64 ~]$