• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 358
  • Last Modified:

installing Samba in Fedora

I m trying to install Samba using yum -y install command, but I get this error:
Error: Cannot retrieve repository metadata (repomd.xml) for repository: fedora.


any help?

thanks
0
jskfan
Asked:
jskfan
  • 4
  • 2
2 Solutions
 
jskfanAuthor Commented:
I realized I am using Fedora in VMworkstation, so Fedora is not connected to internet.
how can I make Fedora connect to internet going through mylaptop (windows 7)
0
 
Thomas GrassiSystems AdministratorCommented:
try this

yum clean all

yum info kernel

or this

yum clean all
rm -f /var/lib/rpm/__db*
rpm --rebuilddb

then try your install again
0
 
jskfanAuthor Commented:
trgrassijr55

I tried that, but when I try to install i will give me the same errors. I wonder if I have to be connected to internet or not
0
Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 
Thomas GrassiSystems AdministratorCommented:
Yes you must be connected to the internet for yum to work unless you have your yum configured to point to a local repository. By default it use the internet.
0
 
jskfanAuthor Commented:
0
 
jskfanAuthor Commented:
thanks
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

The 14th Annual Expert Award Winners

The results are in! Meet the top members of our 2017 Expert Awards. Congratulations to all who qualified!

  • 4
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now