kholyphoenix1
(usa openSUSE)
Enviado em 12/07/2015 - 11:11h
Bom dia a todos!
Acabei de instalar o Fedora 22 KDE x64 e vi que alguns comandos foram atualizados e estou um pouco por fora.
yum (antigo) -> dnf (nov).
Quando fui incluir alguns repositórios com comando: yum-config-manager simplesmente não funciona. Como posso proceder agora?
Erro:
[root@localhost jr]# yum-config-manager --add-repo=
http://rpm.playonlinux.com/playonlinux.repo
Yum-utils package has been deprecated, use dnf instead.
See 'man yum2dnf' for more information.
adding repo from:
http://rpm.playonlinux.com/playonlinux.repo
YumRepo Error: All mirror URLs are not using ftp, http[s] or file.
Eg. http://dummy
Traceback (most recent call last):
File "/bin/yum-config-manager", line 222, in <module>
grabber = repo.grabfunc; del repo
File "/usr/lib/python2.7/site-packages/yum/yumRepo.py", line 697, in <lambda>
grabfunc = property(lambda self: self._getgrabfunc())
File "/usr/lib/python2.7/site-packages/yum/yumRepo.py", line 687, in _getgrabfunc
self._setupGrab()
File "/usr/lib/python2.7/site-packages/yum/yumRepo.py", line 631, in _setupGrab
urls = self.urls
File "/usr/lib/python2.7/site-packages/yum/yumRepo.py", line 875, in <lambda>
urls = property(fget=lambda self: self._geturls(),
File "/usr/lib/python2.7/site-packages/yum/yumRepo.py", line 872, in _geturls
self._baseurlSetup()
File "/usr/lib/python2.7/site-packages/yum/yumRepo.py", line 838, in _baseurlSetup
self.check()
File "/usr/lib/python2.7/site-packages/yum/yumRepo.py", line 558, in check
self.ui_id, repo=self)
yum.Errors.RepoError: Cannot find a valid baseurl for repo: dummy
[root@localhost jr]#
Obrigado!