Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

installing Samba in Fedora

Posted on 2012-12-24
6
Medium Priority
?
356 Views
Last Modified: 2013-01-15
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
Comment
Question by:jskfan
  • 4
  • 2
6 Comments
 

Author Comment

by:jskfan
ID: 38719412
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
 
LVL 23

Assisted Solution

by:Thomas Grassi
Thomas Grassi earned 2000 total points
ID: 38719413
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
 

Author Comment

by:jskfan
ID: 38720371
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
Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

 
LVL 23

Accepted Solution

by:
Thomas Grassi earned 2000 total points
ID: 38720540
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
 

Author Comment

by:jskfan
ID: 38720708
0
 

Author Closing Comment

by:jskfan
ID: 38777393
thanks
0

Featured Post

Important Lessons on Recovering from Petya

In their most recent webinar, Skyport Systems explores ways to isolate and protect critical databases to keep the core of your company safe from harm.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Over the last ten+ years I have seen Linux configuration tools come and go. In the early days there was the tried-and-true, all-powerful linuxconf that many thought would remain the one and only Linux configuration tool until the end of times. Well,…
Little introduction about CP: CP is a command on linux that use to copy files and folder from one location to another location. Example usage of CP as follow: cp /myfoder /pathto/destination/folder/ cp abc.tar.gz /pathto/destination/folder/ab…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.
Suggested Courses
Course of the Month7 days, 13 hours left to enroll

824 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question