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
jskfanAsked:
Who is Participating?
 
Thomas GrassiConnect With a Mentor Systems 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:
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 GrassiConnect With a Mentor Systems 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
The new generation of project management tools

With monday.com’s project management tool, you can see what everyone on your team is working in a single glance. Its intuitive dashboards are customizable, so you can create systems that work for you.

 
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
 
jskfanAuthor Commented:
0
 
jskfanAuthor Commented:
thanks
0
All Courses

From novice to tech pro — start learning today.