LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   yum install (https://www.linuxquestions.org/questions/linux-newbie-8/yum-install-513277/)

ericbowler300 12-23-2006 10:44 PM

yum install
 
this is the message i get when i try to yum install anything:

Loading "installonlyn" plugin
Setting up Install Process
Setting up repositories
core
Cannot find a valid baseurl for repo: core
Error: Cannot find a valid baseurl for repo: core

please help

mazinoz 12-23-2006 11:14 PM

Go to /etc.
Using vi or nano read and edit yum.conf also
cd yum.repos.d

edit the repo files there to put in the address of a mirror site near wherever it is you live eg: aarnet.edu.au planetmirror.com.au etc. Then see if these repos (repositories of files) are found. If so ..if not repeat until they are.
Sorry using SuSE at moment not Fedora, so hope this helps.

ericbowler300 12-24-2006 03:34 AM

this may be a stupid thing to say but i am a newbie. i dont have internet right now. thats another problem im having. anyways, i dont know if i need the internet to be able to yum install anything

mazinoz 12-24-2006 07:04 PM

yum install
 
I'm just learning Fedora myself, though I have used SuSE for years.
My impression is that yum looks on the internet to update and install files and pirut which adds/removes programs grumbles if it doesn't have an internet connection.

If it is asking you for a baseurl, it DEFINITELY wants to connect to an internet (URL) address. So you have to set this up first.

If using KDE try kinternet, I'm not sure what the equivalent command line is in gnome. As I use a proxy server with fast internet cable (flatmate is elec.engineer and can't survive without this apparently!), I'm a bit rusty on dialup setups. If you have installed gnome, I'm afraid you are on your own as I don't have a PC using it at the moment.

Maybe someone else can help?

Anyway, stop doing this and get on with Christmas cheer etc.:D

Best wishes for New Year.


All times are GMT -5. The time now is 04:21 PM.