LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-05-2007, 09:47 AM   #1
kantor_98
Member
 
Registered: Jan 2007
Posts: 68

Rep: Reputation: 15
YUM problem


I have installed fedora 6 core and I succeed to link it to the internet. I can also see my colleagues from our office LAN.
I want to install oo22 and evolution (and also other programs). So I intend to use the graphical interface of yum (I understood from another forum that it can be called by "applications/add remove software". But I receive an error message: "unable to retrieve software information". More, on the details I have:"Cannot find a valid baseurl for repo: core"

Until now I have used suse 10.2 and yast was more or less ok, because even if I could not use installation from the internet repositories, I could download the files and then use the local install. But with yum I can nat even unistall existing programs (to install oo22 I think it is better to unistall first oo20 which was comming with fc6).
So there are 2 problems:
1. I cannot launch the graphical interface of yum
2. I cannot unistall the oo20 (I could not even find the files of oo20, I try with "search files-openoffice" or "search files-open" or "search files-office" but there was no result...

Please help me !
 
Old 04-05-2007, 11:07 AM   #2
jay73
LQ Guru
 
Registered: Nov 2006
Location: Belgium
Distribution: Ubuntu 11.04, Debian testing
Posts: 5,019

Rep: Reputation: 130Reputation: 130
Quote:
"Cannot find a valid baseurl for repo: core"
Have a look at /etc/yum.repos.d/fedora-core.repo and verify that the baseurl does not have a hash in front of it. If it's still not working, you may want to add one or more mirrors yourself. Consult the fedora/Red hat site for a list of mirrors near you. If you make the right choice, you may even get faster downloads.
 
Old 04-05-2007, 11:22 AM   #3
timdsmith
Member
 
Registered: Nov 2003
Location: The Colony, TX
Distribution: Slackware, Debian Etch, FreeBSD, MicroSh*t free.
Posts: 209

Rep: Reputation: 30
Office LAN? Are you behind a proxy server?
 
Old 04-05-2007, 11:29 AM   #4
jay73
LQ Guru
 
Registered: Nov 2006
Location: Belgium
Distribution: Ubuntu 11.04, Debian testing
Posts: 5,019

Rep: Reputation: 130Reputation: 130
That too could be a stumbling block, you're right about that. I think I must get in the habit of reading posts twice from now on...
 
Old 04-06-2007, 04:03 AM   #5
kantor_98
Member
 
Registered: Jan 2007
Posts: 68

Original Poster
Rep: Reputation: 15
Yes, I am behind a proxy server ! This can be a reason for which also in suse I have problems with the automatical install ? I succeed also in suse only local installations !
I remove the "#" sign and is seems to work a little more but I receive the same error...
 
Old 04-06-2007, 05:43 AM   #6
timdsmith
Member
 
Registered: Nov 2003
Location: The Colony, TX
Distribution: Slackware, Debian Etch, FreeBSD, MicroSh*t free.
Posts: 209

Rep: Reputation: 30
Yup. That is what I thought. And yes, that is why you had trouble with Suse.
Edit /etc/yum.conf and put a line like this:
Code:
proxy=http://proxy.something.com:8080
It has be entered as a full URL. Substitute whatever port your proxy uses for 8080.
 
Old 04-11-2007, 04:18 AM   #7
kantor_98
Member
 
Registered: Jan 2007
Posts: 68

Original Poster
Rep: Reputation: 15
Problem: I try to edit ther yum.conf file, but I did not succeed. Why ? When I double click on it, I receive the message"unable to open this file". When I use openoffice to edit the file, when launching commands like "yum install yumex" i receive error messages, indicating that yum.conf has no header...
How can I proper edit yum.conf ?
 
Old 04-11-2007, 08:48 AM   #8
kantor_98
Member
 
Registered: Jan 2007
Posts: 68

Original Poster
Rep: Reputation: 15
OK, I solved with the edit of yum.conf, but after I add everything, I try to test it and I give the command: yum install yumex. Then I receive this:
yum install yumex
Loading "installonlyn" plugin
Setting up Install Process
Setting up repositories
Could not retrieve mirrorlist http://mirrors.fedoraproject.org/mi...ore-6&arch=i386 error was
[Errno 14] HTTP Error 407: Via:1.1 ISA2
Proxy-Authenticate: NTLM
Proxy-Authenticate: Basic realm="isa2.cfr.ro"
Proxy-Authenticate: Kerberos
Proxy-Authenticate: Negotiate
Pragma: no-cache
Cache-Control: no-cache
Content-Type: text/html
Content-Length: 2363

http://download.fedora.redhat.com/p...ata/repomd.xml: [Errno 14] HTTP Error 407: Via:1.1 ISA3
Proxy-Authenticate: NTLM
Proxy-Authenticate: Kerberos
Proxy-Authenticate: Negotiate
Pragma: no-cache
Cache-Control: no-cache
Content-Type: text/html
Content-Length: 3855

Trying other mirror.
Error: Cannot open/read repomd.xml file for repository: core

Any Idea for what is next to do ?
 
Old 04-11-2007, 10:08 AM   #9
timdsmith
Member
 
Registered: Nov 2003
Location: The Colony, TX
Distribution: Slackware, Debian Etch, FreeBSD, MicroSh*t free.
Posts: 209

Rep: Reputation: 30
Sounds like your proxy server requires a username and password. Do you know what that is?
 
Old 04-12-2007, 08:13 AM   #10
kantor_98
Member
 
Registered: Jan 2007
Posts: 68

Original Poster
Rep: Reputation: 15
Now I added in the yum.conf the lines:
proxy=http://proxyort/
proxy_username=username
proxy_password=password
and it works ! I install already yumex.
There seem to stil be some problems, because I cannot install something else. I try with
yum install ntfs*
and I obtained a huge error message:
Loading "installonlyn" plugin
Setting up Install Process
Setting up repositories
http://mirrors.kernel.org/fedora/co...ata/repomd.xml: [Errno 14] HTTP Error 502: Via:1.1 ISA3
Connection: close
Proxy-Connection: close
Pragma: no-cache
Cache-Control: no-cache
Content-Type: text/html
Content-Length: 3782

Trying other mirror.
http://fedora.mirrors.hoobly.com/6/...ata/repomd.xml: [Errno 14] HTTP Error 502: Via:1.1 ISA3
Connection: close
Proxy-Connection: close
Pragma: no-cache
Cache-Control: no-cache
Content-Type: text/html
Content-Length: 3766

Trying other mirror.
core 100% |=========================| 1.1 kB 00:00
Could not retrieve mirrorlist http://mirrors.fedoraproject.org/mi...ras-6&arch=i386 error was
[Errno 14] HTTP Error 502: Via:1.1 ISA3
Connection: close
Proxy-Connection: close
Pragma: no-cache
Cache-Control: no-cache
Content-Type: text/html
Content-Length: 3782

Error: Cannot find a valid baseurl for repo: extras

It seems that I must add some supplementary repos, but I am not so sure how to do that. I try with livna, but I obtained an error.

rpm -ivh http://rpm.livna.org/livna-release-6.rpm
and the result was:
rpm -ivh http://rpm.livna.org/livna-release-6.rpm
Retrieving http://rpm.livna.org/livna-release-6.rpm
error: skipping http://rpm.livna.org/livna-release-6.rpm - transfer failed - Unknown or unexpected error
Segmentation fault

Still searching...
 
  


Reply


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
problem after yum yum yum (delicious) alaios Fedora 3 01-14-2009 03:34 AM
Yum problem jojojo Linux - Newbie 2 06-19-2006 07:28 AM
Yum Problem - /var/cache/yum/base/primary.xml.gz:1 ice99 Linux - Software 0 12-15-2005 02:08 PM
yum problem ice99 Linux - Software 1 12-06-2005 05:42 PM
Yum Errors in parsing, whats wrong here (yum.conf pasted) thejokker Linux - Newbie 1 06-15-2004 03:28 AM


All times are GMT -5. The time now is 02:12 AM.

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