PDA

View Full Version : YUM problems to net


kantor_98
16th January 2007, 09:08 AM
I have a fedora 6 installed. Each time I try to use YUM, i receive somne error messages. I try to install yum 3.0.3, but without results. Is there neccesary to set somehow the yum for the net ? I am working inside a proxy.
Thank you

odyssey
16th January 2007, 09:12 AM
What error messages are you getting(post an example)

kantor_98
16th January 2007, 09:31 AM

For example, trying to mount the ntfs partitions using ntfs-3g driver:

[root@cfrro ~]# yum install ntfs-3g

Loading "installonlyn" plugin
Setting up Install Process
Setting up repositories
Could not retrieve mirrorlist http://mirrors.fedoraproject.org/mirrorlist?repo=core-6&arch=i386 error was
[Errno 4] IOError:
Error: Cannot find a valid baseurl for repo: core

kantor_98
16th January 2007, 10:25 AM
Another error that I I obtain:

[root@cfrro ~]# yum install yumex
Loading "installonlyn" plugin
Config Error: File contains parsing errors: file://///etc/yum.repos.d/livna.repo
[line 10]: '/i386/\n'
[line 31]: 'i386/debug/\n'

kantor_98
17th January 2007, 08:45 AM
Still no answer... I am in trouble, people !!!

mavrik
20th January 2007, 06:04 PM
You are inside a proxy. that is the root of the problem.

Use following commands as root user ("su -")
$ HTTP_PROXY=username:password@proxy.com:port
$ FTP_PROXY=$HTTP_PROXY
$ yum blah-blah

replace username and password by ur details (u need them only if u supply a password to go through the proxy )
replace proxy.com and port to the address and port of ur proxy server (generally port should be 80)
replace blah-blah by useful commands.

u may want to set the HTTP_PROXY etc vars automatically by including them in /etc/profile.d/proxy.sh file.(create this file if it does not exist, and include first two lines of above)