Solved

installing Samba in Fedora

Posted on 2012-12-24
6
345 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
Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

 
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

Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

Question has a verified solution.

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

Linux users are sometimes dumbfounded by the severe lack of documentation on a topic. Sometimes, the documentation is copious, but other times, you end up with some obscure "it varies depending on your distribution" over and over when searching for …
Fine Tune your automatic Updates for Ubuntu / Debian
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…
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.

803 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