[Fedora] - yum-config-manager [RESOLVIDO]

1. [Fedora] - yum-config-manager [RESOLVIDO]

Júnior
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!


  


2. Re: [Fedora] - yum-config-manager

3. Re: [Fedora] - yum-config-manager [RESOLVIDO]

Perfil removido
removido

(usa Nenhuma)

Enviado em 12/07/2015 - 11:32h

dnf config-manager
http://dnf.readthedocs.org/en/latest/cli_vs_yum.html#changes-in-dnf-plugins-compared-to-yum-utilitie...

--------------------------------------------
povo@brasil ~$ sudo su -
root@brasil ~# find / -iname corrupção -exec rm -rfv {}\ ;



4. Re: [Fedora] - yum-config-manager [RESOLVIDO]

Júnior
kholyphoenix1

(usa openSUSE)

Enviado em 12/07/2015 - 11:36h

Nossa! Muito obrigado a todos! *-*
Abraço!






Patrocínio

Site hospedado pelo provedor RedeHost.
Linux banner

Destaques

Artigos

Dicas

Tópicos

Top 10 do mês

Scripts