4
I have recently installed Fedora 20 on my laptop. For the first thing, I tried to add Rpmfusion , Russianfedora to it; but it was failed. In the terminal I entered this:
su -c 'yum localinstall --nogpgcheck http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-$(rpm -E %fedora).noarch.rpm'
and got this error:
File contains parsing errors: file://///etc/yum.repos.d/fedora-yum-fast-downloader.repo
[line 5]: name=A fast downloader plugin for yum
[line 7]: baseurl=http://repos.fedorapeople.org/repos/hedayat/yum-fast-downloader/fedora-20/noarch/
[line 9]: enabled=1
[line 11]: skip_if_unavailable=1
[line 13]: gpgcheck=1
[line 15]: gpgkey=http://hedayat.fedorapeople.org/gpg/hedayat-rpm-gpg-key
[line 19]: name=A fast downloader plugin for yum – Source
[line 21]: baseurl=http://repos.fedorapeople.org/repos/hedayat/yum-fast-downloader/fedora-20/SRPMS
[line 23]: enabled=0
[line 25]: skip_if_unavailable=1
[line 27]: gpgcheck=1
[line 29]: gpgkey=http://hedayat.fedorapeople.org/gpg/hedayat-rpm-gpg-key
Then I tried to add russianfedora repo using this command:
[root@dhcppc0 Daniel]# su -c 'yum install --nogpgcheck htttp://mirror.yandex.ru/fedora/russianfedora/russianfedora/free/fedora/russianfedora-free-release-stable.noarch.rpm htttp://mirror.yandex.ru/fedora/russianfedora/russianfedora/nonfree/fedora/russianfedora-nonfree-release-stable.noarch.rpm'
I got this error:
Loaded plugins: langpacks, refresh-packagekit
File contains parsing errors: file://///etc/yum.repos.d/fedora-yum-fast-downloader.repo
[line 5]: name=A fast downloader plugin for yum
[line 7]: baseurl=http://repos.fedorapeople.org/repos/hedayat/yum-fast-downloader/fedora-20/noarch/
[line 9]: enabled=1
[line 11]: skip_if_unavailable=1
[line 13]: gpgcheck=1
[line 15]: gpgkey=http://hedayat.fedorapeople.org/gpg/hedayat-rpm-gpg-key
[line 19]: name=A fast downloader plugin for yum – Source
[line 21]: baseurl=http://repos.fedorapeople.org/repos/hedayat/yum-fast-downloader/fedora-20/SRPMS
[line 23]: enabled=0
[line 25]: skip_if_unavailable=1
[line 27]: gpgcheck=1
[line 29]: gpgkey=http://hedayat.fedorapeople.org/gpg/hedayat-rpm-gpg-key
Why am I getting parsing errors in file://///etc/yum/repos.d/fedora-yum-fast-downloader.repo
that prevent me from adding repositories?
See What included in fedora-yum-fast-downloader.repo
[fedora-yum-fast-downloader]
name=A fast downloader plugin for yum
baseurl=http://repos.fedorapeople.org/repos/hedayat/yum-fast-downloader/fedora-$releasever/noarch/
enabled=1
skip_if_unavailable=1
gpgcheck=1
gpgkey=http://hedayat.fedorapeople.org/gpg/hedayat-rpm-gpg-key
[fedora-yum-fast-downloader-source]
name=A fast downloader plugin for yum – Source
baseurl=http://repos.fedorapeople.org/repos/hedayat/yum-fast-downloader/fedora-$releasever/SRPMS
enabled=0
skip_if_unavailable=1
gpgcheck=1
gpgkey=http://hedayat.fedorapeople.org/gpg/hedayat-rpm-gpg-key
Thanks for your cooperation. I entered three t s in http urls because I didn't have enough reputations for asking my question. – Peter – 2014-03-24T20:27:59.073
Now, I just opened the file fedora-fats-downloader.repo using gedit. you can see the text down to my question. – Peter – 2014-03-24T20:33:23.123
@Daniel -- see my "Edit 2" comment. – allquixotic – 2014-03-25T13:13:49.447
thank you allquixotic, I did it, but the error was still on. by removing the yum-fast-downloader.repo and skype.repo my problem was solved. thank u again for your support. – Peter – 2014-03-26T19:20:27.140