December 15, 2017, 06:15:09 AM

News : LinuxSolved.com Linux Help Community Forum..


Author Topic: yum giving problems in fedora 12  (Read 2155 times)

Offline aasilanand

  • New Member
  • Posts: 1
yum giving problems in fedora 12
« on: June 13, 2010, 06:10:43 PM »
Hi

M new to linux. Tried 2 instal chrome using yum. Gave the following error.

# yum install google*.rpm

Loaded plugins : presto, packagekit
Setting up install process.....
Traceback (most recent call last):
  File "/usr/bin/yum", line 29, in <module>
    yummain.user_main(sys.argv[1:], exit_code=True)
  File "/usr/share/yum-cli/yummain.py", line 254, in user_main
    errcode = main(args)
  File "/usr/share/yum-cli/yummain.py", line 109, in main
    result, resultmsgs = base.doCommands()
  File "/usr/share/yum-cli/cli.py", line 356, in doCommands
    return self.yum_cli_commands[self.basecmd].doCommand(self, self.basecmd, self.extcmds)
  File "/usr/share/yum-cli/yumcommands.py", line 183, in doCommand
    return base.installPkgs(extcmds)
  File "/usr/share/yum-cli/cli.py", line 598, in installPkgs
    if (arg.endswith('.rpm') and (yum.misc.re_remote_url(arg) or
AttributeError: 'module' object has no attribute 're_remote_url'

Same error is produced with any rpm package i try to install.

Pls help.

Offline gauravbajaj

  • LST CareTaker
  • Experienced
  • *****
  • Posts: 658
Re: yum giving problems in fedora 12
« Reply #1 on: July 09, 2010, 06:01:49 AM »
try runnig command "yum list" , seems that the repo is not created properly. If it gives error  try to create repo again

try below commands
#yum clean all
#yum list

Offline dragoncity99

  • LST CareTaker
  • Experienced
  • *****
  • Posts: 551
Re: yum giving problems in fedora 12
« Reply #2 on: July 23, 2010, 11:08:21 AM »
Yes, I agree with gaurav, check your yum repository config file first.

Also, see if your repo is working correctly.
# yum repolist