yum not working

Posted on 2009-05-16
Medium Priority
Last Modified: 2013-12-16
I am using Fedora core 6. I am not able to install any packages from internet using yum. It showing some error message. I have tried in all Fedora version it showing same error message.

<<<<<<<<<<<<Error Message:>>>>>>>>>>>

Error: Cannot find a valid baseurl for repo: updates

Question by:rajasekarramasamy
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 3
  • 2
  • +1
LVL 12

Expert Comment

ID: 24402019
Fedora core 6 is very, very old. Chance exists that the repository realy does not exist anymore. U would recomend upgrading to Fedora 10 or Fedora 11 (which is comming soon).

Author Comment

ID: 24402037
I tried with Fedora 7, Fedora8 and  Fedora 10 also facing same error.
LVL 12

Expert Comment

ID: 24402124
Ok, can you provide more information?

Are those clean installs? Is your connection working correctly?
Moving data to the cloud? Find out if you’re ready

Before moving to the cloud, it is important to carefully define your db needs, plan for the migration & understand prod. environment. This wp explains how to define what you need from a cloud provider, plan for the migration & what putting a cloud solution into practice entails.


Author Comment

ID: 24402134
Is your connection working correctly?

Net connection is working fine. I tried with different ISP connection.

Are those clean installs?

I installed os from DVD only. I tested yum in another pc also but it showing same error.
LVL 30

Expert Comment

by:Kerem ERSOY
ID: 24402287

Since you've tried with several other distros it seems that you have a connectivity problem. Will yuo please post the yum output here?

BTW I'll strongly recommend you go for the latest version as as there's a better change that it will support the latest hardware and will solve the latest issues with the compatibility, security and stability. Furthermore repos for FC 6 may not be available at a near future.

LVL 14

Expert Comment

by:Monis Monther
ID: 24402604
Hi there:

vim /etc/yum.repos.d/repo-name.repo

remove the # from baseurl line and put # on all the lines for the updates repository

when finished save the file and run

yum list all

you should get a list of all packages available.

If you reached this point you can do yum install anything

Good Luck

Author Comment

ID: 24409534
Hi small_student,

I have remove the # from base URL and commented the default updates repository.

When i execute this command "yum list all" i am getting some error message. please the attached file

LVL 12

Expert Comment

ID: 24409538
That error means that the file does not exist (repository does not exist anymore). As I said Fedora 6 is very, very old.
LVL 30

Assisted Solution

by:Kerem ERSOY
Kerem ERSOY earned 248 total points
ID: 24409678
I have checked the URL myself and this URL does not even exist anymore. I'll strongly suggest that you upgrade your distro. To upgrade your current release please follow these steps:

- yum clean all
- rpm -Uhv http://download.fedora.redhat.com/pub/fedora/linux/releases/10/Fedora/i386/os/Packages/fedora-release-10-1.noarch.rpm
- rpm -Uhv http://download.fedora.redhat.com/pub/fedora/linux/releases/10/Fedora/i386/os/Packages/fedora-release-notes-10.0.0-1.noarch.rpm
- check /etc/yum.repos.d for any .rpmnew files and copy them over the other files (i.e., if you have  both development.repo and development.repo.rpmnew copy development.repo.rpmnew over the development.repo)
- then do a yum -y
- t wil take you some while and even more ih you have a slow connection but when finished you need to reboot for changes to take place.

Congratulations you're on fedora 10 now.

LVL 14

Accepted Solution

Monis Monther earned 252 total points
ID: 24420401
Hi sorry for the late reply, but I guess the other experts have pointed you out to the solution.

another thing to do is you can install other repositories like



and rpmfusion
run this command to install it
rpm -Uvh http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-stable.noarch.rpm http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-stable.noarch.rpm

and rpmforge
run this command to install it
rpm -Uvh http://packages.sw.be/rpmforge-release/rpmforge-release-0.3.6-1.el5.rf.i386.rpm

good luck

Featured Post

WordPress Tutorial 1: Installation & Setup

WordPress is a very popular option for running your web site and can be used to get your content online quickly for the world to see. This guide will walk you through installing the WordPress server software and the initial setup process.

Question has a verified solution.

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

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…
It’s 2016. Password authentication should be dead — or at least close to dying. But, unfortunately, it has not traversed Quagga stage yet. Using password authentication is like laundering hotel guest linens with a washboard — it’s Passé.
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…
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…
Suggested Courses
Course of the Month13 days, 10 hours left to enroll

801 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