installing Samba in Fedora

Posted on 2012-12-24
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?

Question by:jskfan
  • 4
  • 2

Author Comment

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)
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

Author Comment

ID: 38720371

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
Get up to 2TB FREE CLOUD per backup license!

An exclusive Black Friday offer just for Expert Exchange audience! Buy any of our top-rated backup solutions & get up to 2TB free cloud per system! Perform local & cloud backup in the same step, and restore instantly—anytime, anywhere. Grab this deal now before it disappears!

LVL 23

Accepted Solution

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.

Author Comment

ID: 38720708

Author Closing Comment

ID: 38777393

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Currently, there is not an RPM package available under the RHEL/Fedora/CentOS distributions that gives you a quick and easy way to allow PHP to interface with Oracle. As a result, I have included a set of instructions on how to do this with minimal …
Introduction We as admins face situation where we need to redirect websites to another. This may be required as a part of an upgrade keeping the old URL but website should be served from new URL. This document would brief you on different ways ca…
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.
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

705 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

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now