Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 07-13-2007, 05:15 AM   #1
LQ Newbie
Registered: Mar 2007
Distribution: Ubuntu Feisty
Posts: 14

Rep: Reputation: 0
yum problems

Hi there,
I am running Fedora Core 6 and am fairly new to Linux.
I need to install Java run environment and to do so it would appear that I need yum to be working, it however is not.

Yum says that it can't find a valid baseurl. I had a similar problem with my UBuntu installation. That was easily fixed by changing the source of the mirror site.

How can one do this in Fedora Core 6.

I have looked to see that other simply deleted a # in front of the baseurl in the yum.repos .d, I tried this except FC6 won't let me edit any of the .repos.

Please can anyone suggest anything I can do?
Old 07-13-2007, 06:13 AM   #2
LQ Guru
Registered: Aug 2003
Distribution: CentOS, OS X
Posts: 5,131

Rep: Reputation: Disabled
You need to be root to edit the repo files. Launch the editor you're using with this command (in this example I'll use gedit but you can change that):
gedit /etc/yum.repos.d/somereposityfile
that works if you have Gnome desktop (=gedit installed). Or just use some console editor like vim, nano, pico, emacs, ...

Java runtime environment can be found, for Linux, at Sun's java site (the same place where you can download it for Windows); there are installation instructions either at the site or inside the package you download.
Old 07-30-2007, 03:42 AM   #3
LQ Newbie
Registered: Mar 2007
Distribution: Ubuntu Feisty
Posts: 14

Original Poster
Rep: Reputation: 0
Hi bOuncer,
I may sound like a complete moron, but there are still problems.

I edited the repos files in gedit like you said, but it still is not working.
This is what the terminal says when I try update.

[root@andrea-plos-93 yum.repos.d]# yum update
Loading "installonlyn" plugin
Setting up Update Process
Setting up repositories
Could not retrieve mirrorlist error was
[Errno 4] IOError: <urlopen error (-2, 'Name or service not known')>
Could not retrieve mirrorlist error was
[Errno 4] IOError: <urlopen error (-2, 'Name or service not known')>
Error: Cannot find a valid baseurl for repo: updates

What lines in the repos file do I need to update? Would it help if I posted the repos file with the changes.
I am sorry that you have to go quite slowly!



Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Yum problems ace01000 Linux - Newbie 3 03-24-2007 08:25 PM
some problems with yum z.z! Fedora 3 07-14-2006 06:42 PM
yum problems canyon289 Linux - Software 4 12-02-2004 11:11 AM
more yum problems canyon289 Linux - Software 1 11-13-2004 02:59 PM
problems with yum maybbach Linux - Software 5 10-19-2004 06:27 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 01:47 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration