Solved

installing Samba in Fedora

Posted on 2012-12-24
6
347 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 500 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
Ransomware-A Revenue Bonanza for Service Providers

Ransomware – malware that gets on your customers’ computers, encrypts their data, and extorts a hefty ransom for the decryption keys – is a surging new threat.  The purpose of this eBook is to educate the reader about ransomware attacks.

 
LVL 23

Accepted Solution

by:
Thomas Grassi earned 500 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

Ransomware-A Revenue Bonanza for Service Providers

Ransomware – malware that gets on your customers’ computers, encrypts their data, and extorts a hefty ransom for the decryption keys – is a surging new threat.  The purpose of this eBook is to educate the reader about ransomware attacks.

Question has a verified solution.

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

Suggested Solutions

I am a long time windows user and for me it is normal to have spaces in directory and file names. Changing to Linux I found myself frustrated when I moved my windows data over to my new Linux computer. The problem occurs when at the command line.…
SSH (Secure Shell) - Tips and Tricks As you all know SSH(Secure Shell) is a network protocol, which we use to access/transfer files securely between two networked devices. SSH was actually designed as a replacement for insecure protocols that sen…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

856 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