Link to home
Start Free TrialLog in
Avatar of rajasekarramasamy
rajasekarramasamyFlag for India

asked on

yum not working

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

Avatar of Let_Me_Be
Let_Me_Be
Flag of United States of America image

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).
Avatar of rajasekarramasamy

ASKER

I tried with Fedora 7, Fedora8 and  Fedora 10 also facing same error.
Ok, can you provide more information?

Are those clean installs? Is your connection working correctly?
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.
Avatar of Kerem ERSOY
Kerem ERSOY

Hi,

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.

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

Yum-Error.JPG
That error means that the file does not exist (repository does not exist anymore). As I said Fedora 6 is very, very old.
SOLUTION
Avatar of Kerem ERSOY
Kerem ERSOY

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial