Hello,
I am using the internet through a goverment proxy. I am trying to update using "yum". This does not seem to work. I do not have yumex installed, and since I can't use yum, I can't install yumex.
Is there a way to get yum (and Klamav) through an automaticly updating proxy configuration url?
I am using fedora 16.
My version of yum is yum-3.4.3-7.fc16.noarch.
This url, directly below, from 2010 states that yum is not able to do this. Is this still true?
http://www.linuxquestions.org/questi...th-yum-922372/
I have tried various protocals from the following urls.
http://www.bnl.gov/cybersecurity/perl.asp
http://www.putorius.net/2012/06/how-...-settings.html
http://support.apple.com/kb/HT2385?viewlocale=en_US
http://stackoverflow.com/questions/7...ly-use-a-proxy
http://forums.fedoraforum.org/showthread.php?t=742
http://www.gossamer-threads.com/list...av/users/52425
http://www.centos.org/docs/5/html/yu...xy-server.html
I had modified my files as such:
.bash_profile
# .bash_profile
# Get the aliases and functions
if [ -f ~/.bashrc ]; then
. ~/.bashrc
fi
# User specific environment and startup programs
#proxy.sh
#export http_proxy=http://wpad.bnl.gov/wpad.dat:3128/
#export ftp_proxy=http://wpad.bnl.gov/wpad.dat:3128/
#export no_proxy=.wpad.bnl.gov/wpad.dat:3128/
#export HTTP_PROXY=http://130.199.154.2:3128/
#export FTP_PROXY=http://wpad.bnl.gov/wpad.dat:3128/
#export http_proxy=http://130.199.154.2:3128/
#export ftp_proxy=http://130.199.154.2:3128/
#export no_proxy=.s154.bnl.gov
#export HTTP_PROXY=http://130.199.154.2:3128/
#export FTP_PROXY=http://130.199.154.2:3128/
http_proxy=http://proxy.sec.bnl.local:3128/
ftp_proxy=http://proxy.sec.bnl.local:3128/
no_proxy=.s154.bnl.gov
HTTP_PROXY=http://proxy.sec.bnl.local:3128/
FTP_PROXY=http://proxy.sec.bnl.local:3128/
export http_proxy
PATH=$PATH:$HOME/.local/bin:$HOME/bin
export PATH
.curlrc
#.curlrc
#http_proxy=http://wpad.bnl.gov/wpad.dat:3128/
#proxy=http://wpad.bnl.gov/wpad.dat:3128/
#HTTP_PROXY=http://130.199.154.2:3128/
#http_proxy=http://130.199.154.2:3128/
#ftp_proxy=http://130.199.154.2:3128/
#no_proxy=.s154.bnl.gov
#HTTP_PROXY=http://130.199.154.2:3128/
#FTP_PROXY=http://130.199.154.2:3128/
export http_proxy=http://proxy.sec.bnl.local:3128
export ftp_proxy=http://proxy.sec.bnl.local:3128
export no_proxy=.s154.bnl.gov
export HTTP_PROXY=http://proxy.sec.bnl.local:3128
export FTP_PROXY=http://proxy.sec.bnl.local:3128
yum.conf
[main]
#http_proxy=http://wpad.bnl.gov/wpad.dat:3128
cachedir=/var/cache/yum/$basearch/$releasever
keepcache=0
debuglevel=2
logfile=/var/log/yum.log
exactarch=1
obsoletes=1
gpgcheck=1
plugins=1
installonly_limit=3
#http_proxy=http://wpad.bnl.gov/wpad.dat:3128
#HTTP_PROXY=http://130.199.154.2:3128/
#http_proxy=http://130.199.154.2:3128/
#ftp_proxy=http://130.199.154.2:3128/
#no_proxy=.s154.bnl.gov
#HTTP_PROXY=http://130.199.154.2:3128/
#FTP_PROXY=http://130.199.154.2:3128/
#HTTP_PROXY=http://proxy.sec.bnl.local:3128
#http_proxy=http://proxy.sec.bnl.local:3128
#ftp_proxy=http://proxy.sec.bnl.local:3128
#no_proxy=.s154.bnl.gov
#HTTP_PROXY=http://proxy.sec.bnl.local:3128
#FTP_PROXY=http://proxy.sec.bnl.local:3128
proxy=http://wpad.bnl.gov/wpad.dat:3128
http_proxy=http://wpad.bnl.gov/wpad.dat:3128
# The proxy server - proxy server: port number
# This is the default, if you make this bigger yum won't see if the metadata
# is newer on the remote and so you'll "gain" the bandwidth of not having to
# download the new metadata and "pay" for it by yum not having correct
# information.
# It is esp. important, to have correct metadata, for distributions like
# Fedora which don't keep old packages around. If you don't like this checking
# interupting your command line usage, it's much better to have something
# manually check the metadata once an hour (yum-updatesd will do this).
# metadata_expire=90m
# PUT YOUR REPOS HERE OR IN separate files named file.repo
# in /etc/yum.repos.d
/etc/profile.d/proxy.sh
#proxy.sh
export http_proxy=http://proxy.sec.bnl.local:3128
export ftp_proxy=http://proxy.sec.bnl.local:3128
export no_proxy=.s154.bnl.gov
export HTTP_PROXY=http://proxy.sec.bnl.local:3128
export FTP_PROXY=http://proxy.sec.bnl.local:3128
#export http_proxy=http://130.199.154.2:3128/
#export ftp_proxy=http://130.199.154.2:3128/
#export no_proxy=.s154.bnl.gov
#export HTTP_PROXY=http://130.199.154.2:3128/
#export FTP_PROXY=http://130.199.154.2:3128/
/etc/profile.d/proxy.csh
#proxy.csh
#setenv http_proxy=http://130.199.154.2:3128/
#setenv ftp_proxy=http://130.199.154.2:3128/
#setenv no_proxy=.s154.bnl.gov
#setenv HTTP_PROXY=http://130.199.154.2:3128/
#setenv FTP_PROXY=http://130.199.154.2:3128/
setenv HTTP_PROXY=http://proxy.sec.bnl.local:3128
setenv http_proxy=http://proxy.sec.bnl.local:3128
setenv ftp_proxy=http://proxy.sec.bnl.local:3128
setenv no_proxy=.s154.bnl.gov
setenv HTTP_PROXY=http://proxy.sec.bnl.local:3128
setenv FTP_PROXY=http://proxy.sec.bnl.local:3128
I had tried various urls, and schemes of hashing/unhashing variables in files. I check the varialbes by "echo $<varialbe_name>" in the command prombt.
The errors I recieve are below:
$ sudo yum check-update
Loaded plugins: dellsysid, langpacks, presto, refresh-packagekit
http://dl.google.com/linux/talkplugi...ta/repomd.xml: [Errno 14] curl#5 - "Couldn't resolve proxy"
Trying other mirror.
Could not retrieve mirrorlist
http://mirrors.rpmfusion.org/mirrorl...a-16&arch=i386 error was
14: curl#5 - "Couldn't resolve proxy"
Could not retrieve mirrorlist
http://mirrors.rpmfusion.org/mirrorl...d-16&arch=i386 error was
14: curl#5 - "Couldn't resolve proxy"
http://download.skype.com/linux/repo...ta/repomd.xml: [Errno 14] curl#5 - "Couldn't resolve proxy"
Trying other mirror.
http://download.virtualbox.org/virtu...ta/repomd.xml: [Errno 14] curl#5 - "Couldn't resolve proxy"
Trying other mirror.
Error: Cannot retrieve repository metadata (repomd.xml) for repository: fedora. Please verify its path and try again
If I am unable to do this with the current version of yum (or Klamav), could you still point out how to do this with the newest vesrion of the programs?
---------- Post added at 08:12 PM ---------- Previous post was at 12:53 PM ----------
Hello,
Sorry if I am replying to my message, but I have tried to solve the problem with no avail.
The recent progress includes me trying to install yumex via my browser because I read that you could easily configure yumex with a proxy. That went fine, but when I try to select repositories, yumex closes with errors.
When I run yumex -n and deselect all of the repositories except the Adobe repo. I still have some functionality to yumex. Yumex is able to tell me what packages I need to download to update flash. However, when I try to update flash, I get the following errors:
20:12:20 : WARNING: Failure getting
http://linuxdownload.adobe.com/linux...ease.i386.rpm:
20:12:20 : WARNING: Trying other mirror.
20:12:20 : ERROR: Error in yum Transaction : [u'Errors were encountered while downloading packages.', 'flash-plugin-11.2.202.233-release.i386: failure: flash-plugin-11.2.202.233-release.i386.rpm from adobe-linux-i386: [Errno 256] No more mirrors to try.']
Any help would be great