Dear all
I have centos 6.0 in my system and i want to update packages, so i tried the yum commands for checking and installing updates, but my proxy is objecting and i got the following error
Loaded plugins: fastestmirror, refresh-packagekit Loading mirror speeds from cached hostfile Could not retrieve mirrorlist http://mirrorlist.centos.org/?release=6&arch=i386&repo=os error was 14: PYCURL ERROR 22 - "The requested URL returned error: 407" Error: Cannot find a valid baseurl for repo: base
i tried with the software update GUI in centos 6.0 but still the same proxy problem....can any one please suggest how to overcome this problem and install updates for packages.
Thanking you.
Regards
On 03/26/12 11:05 PM, arun kumar wrote:
I have centos 6.0 in my system and i want to update packages, so i tried the yum commands for checking and installing updates, but my proxy is objecting and i got the following error
Loaded plugins: fastestmirror, refresh-packagekit Loading mirror speeds from cached hostfile Could not retrieve mirrorlist http://mirrorlist.centos.org/?release=6&arch=i386&repo=os error was 14: PYCURL ERROR 22 - "The requested URL returned error: 407" Error: Cannot find a valid baseurl for repo: base
i tried with the software update GUI in centos 6.0 but still the same proxy problem....can any one please suggest how to overcome this problem and install updates for packages.
what is this "proxy"? other than your use of the phrase 'proxy' a couple times, I see no sign of a proxy there.
If your internet connection is such that you have to go through an explicit http proxy, have you configured it in /etc/yum.conf as follows? http://www.centos.org/docs/5/html/yum/sn-yum-proxy-server.html
yes i configured the yum.conf proxy=http://10.101.16.4:8080 proxy_username=my_username proxy_password=my_password but still the same problem here a squid proxy server is present so for initernet connection also i need to give my_username and my_password.....
On Tue, Mar 27, 2012 at 11:42 AM, John R Pierce pierce@hogranch.com wrote:
On 03/26/12 11:05 PM, arun kumar wrote:
I have centos 6.0 in my system and i want to update packages, so i tried the yum commands for checking and installing updates, but my proxy is objecting and i got the following error
Loaded plugins: fastestmirror, refresh-packagekit Loading mirror speeds from cached hostfile Could not retrieve mirrorlist http://mirrorlist.centos.org/?release=6&arch=i386&repo=os error was 14: PYCURL ERROR 22 - "The requested URL returned error: 407" Error: Cannot find a valid baseurl for repo: base
i tried with the software update GUI in centos 6.0 but still the same
proxy
problem....can any one please suggest how to overcome this problem and install updates for packages.
what is this "proxy"? other than your use of the phrase 'proxy' a couple times, I see no sign of a proxy there.
If your internet connection is such that you have to go through an explicit http proxy, have you configured it in /etc/yum.conf as follows? http://www.centos.org/docs/5/html/yum/sn-yum-proxy-server.html
-- john r pierce N 37, W 122 santa cruz ca mid-left coast
CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
On 03/27/2012 02:10 AM, arun kumar wrote:
yes i configured the yum.conf proxy=http://10.101.16.4:8080 proxy_username=my_username proxy_password=my_password but still the same problem here a squid proxy server is present so for initernet connection also i need to give my_username and my_password.....
On Tue, Mar 27, 2012 at 11:42 AM, John R Pierce pierce@hogranch.com wrote:
On 03/26/12 11:05 PM, arun kumar wrote:
I have centos 6.0 in my system and i want to update packages, so i tried the yum commands for checking and installing updates, but my proxy is objecting and i got the following error
Loaded plugins: fastestmirror, refresh-packagekit Loading mirror speeds from cached hostfile Could not retrieve mirrorlist http://mirrorlist.centos.org/?release=6&arch=i386&repo=os error was 14: PYCURL ERROR 22 - "The requested URL returned error: 407" Error: Cannot find a valid baseurl for repo: base
i tried with the software update GUI in centos 6.0 but still the same
proxy
problem....can any one please suggest how to overcome this problem and install updates for packages.
what is this "proxy"? other than your use of the phrase 'proxy' a couple times, I see no sign of a proxy there.
If your internet connection is such that you have to go through an explicit http proxy, have you configured it in /etc/yum.conf as follows? http://www.centos.org/docs/5/html/yum/sn-yum-proxy-server.html
-- john r pierce N 37, W 122 santa cruz ca mid-left coast
CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
If the proxy server requires a username and password, add these to the URL. To include the username |yum-user| and the password |qwerty|, add these settings:
|# The Web proxy server, with the username and password for this account http_proxy="http://yum-user:qwerty@mycache.mydomain.com:3128" export http_proxy|
*Example 5. Profile Settings for a Secured Proxy Server*
[Note] The |http_proxy| Environment Variable
The |http_proxy| environment variable is also used by |curl| and other utilities. Although |yum| itself may use |http_proxy| in either upper-case or lower-case, |curl| requires the name of the variable to be in lower-case.
Hi, although it is not a O/S level problem. Your server just cannot get to Internet, just check why. Too many possibilities are there, bad user name or password wrong port number, system wide proxy variable configured, your ip is in squid deny list.
Thanks : Regards
On 03/27/2012 02:10 AM, arun kumar wrote:
yes i configured the yum.conf proxy=http://10.101.16.4:8080 proxy_username=my_username proxy_password=my_password but still the same problem here a squid proxy server is present so for initernet connection also i need to give my_username and my_password.....
On Tue, Mar 27, 2012 at 11:42 AM, John R Pierce pierce@hogranch.com wrote:
On 03/26/12 11:05 PM, arun kumar wrote:
I have centos 6.0 in my system and i want to update packages, so i tried the yum commands for checking and installing updates, but my proxy is objecting and i got the following error
Loaded plugins: fastestmirror, refresh-packagekit Loading mirror speeds from cached hostfile Could not retrieve mirrorlist http://mirrorlist.centos.org/?release=6&arch=i386&repo=os error was 14: PYCURL ERROR 22 - "The requested URL returned error: 407" Error: Cannot find a valid baseurl for repo: base
i tried with the software update GUI in centos 6.0 but still the same
proxy
problem....can any one please suggest how to overcome this problem and install updates for packages.
what is this "proxy"? other than your use of the phrase 'proxy' a couple times, I see no sign of a proxy there.
If your internet connection is such that you have to go through an explicit http proxy, have you configured it in /etc/yum.conf as follows? http://www.centos.org/docs/5/html/yum/sn-yum-proxy-server.html
-- john r pierce N 37, W 122 santa cruz ca mid-left coast
CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
If the proxy server requires a username and password, add these to the URL. To include the username |yum-user| and the password |qwerty|, add these settings:
|# The Web proxy server, with the username and password for this account http_proxy="http://yum-user:qwerty@mycache.mydomain.com:3128" export http_proxy|
*Example 5. Profile Settings for a Secured Proxy Server*
[Note] The |http_proxy| Environment Variable
The |http_proxy| environment variable is also used by |curl| and other utilities. Although |yum| itself may use |http_proxy| in either upper-case or lower-case, |curl| requires the name of the variable to be in lower-case.
CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Thanks / Regards Prabhpal S. Mavi Email: prabhpal@digital-infotech.net Sent Through .Net Domain From iPhone
sorry for not mentioning before that iam new to linux
i have full access to internet, this is an educational institution, every one have there seperate username and pasword for login... so i used the my username and password in the yum.conf file..
i tried from GUI also like
system->Administration-> software update ,then i got the folowing warning and error
Software Update Viewer is running as a privileged user Package management applications are security sensitive. Running graphical applications as a privileged user should be avoided for security reasons.
problem connecting to software source
i also tried system->Administration->Add/Remove software
iam not understanding what else to try
On Tue, Mar 27, 2012 at 1:29 PM, Prabhpal S. Mavi < prabhpal@digital-infotech.net> wrote:
Hi, although it is not a O/S level problem. Your server just cannot get to Internet, just check why. Too many possibilities are there, bad user name or password wrong port number, system wide proxy variable configured, your ip is in squid deny list.
Thanks : Regards
On 03/27/2012 02:10 AM, arun kumar wrote:
yes i configured the yum.conf proxy=http://10.101.16.4:8080 proxy_username=my_username proxy_password=my_password but still the same problem here a squid proxy server is present so for initernet connection also i need to give my_username and my_password.....
On Tue, Mar 27, 2012 at 11:42 AM, John R Pierce pierce@hogranch.com wrote:
On 03/26/12 11:05 PM, arun kumar wrote:
I have centos 6.0 in my system and i want to update packages, so i tried the yum commands for checking and installing updates, but my proxy is objecting and i got the following error
Loaded plugins: fastestmirror, refresh-packagekit Loading mirror speeds from cached hostfile Could not retrieve mirrorlist http://mirrorlist.centos.org/?release=6&arch=i386&repo=os error was 14: PYCURL ERROR 22 - "The requested URL returned error: 407" Error: Cannot find a valid baseurl for repo: base
i tried with the software update GUI in centos 6.0 but still the same
proxy
problem....can any one please suggest how to overcome this problem and install updates for packages.
what is this "proxy"? other than your use of the phrase 'proxy' a couple times, I see no sign of a proxy there.
If your internet connection is such that you have to go through an explicit http proxy, have you configured it in /etc/yum.conf as follows? http://www.centos.org/docs/5/html/yum/sn-yum-proxy-server.html
-- john r pierce N 37, W 122 santa cruz ca mid-left coast
CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
If the proxy server requires a username and password, add these to the URL. To include the username |yum-user| and the password |qwerty|, add these settings:
|# The Web proxy server, with the username and password for this account http_proxy="http://yum-user:qwerty@mycache.mydomain.com:3128" export http_proxy|
*Example 5. Profile Settings for a Secured Proxy Server*
[Note] The |http_proxy| Environment Variable
The |http_proxy| environment variable is also used by |curl| and other utilities. Although |yum| itself may use |http_proxy| in either upper-case or lower-case, |curl| requires the name of the variable to be in lower-case.
CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Thanks / Regards Prabhpal S. Mavi Email: prabhpal@digital-infotech.net Sent Through .Net Domain From iPhone
CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
On 03/27/2012 03:47 AM, arun kumar wrote:
sorry for not mentioning before that iam new to linux
i have full access to internet, this is an educational institution, every one have there seperate username and pasword for login... so i used the my username and password in the yum.conf file..
i tried from GUI also like
system->Administration-> software update ,then i got the folowing warning and error
Software Update Viewer is running as a privileged user Package management applications are security sensitive. Running graphical applications as a privileged user should be avoided for security reasons.
problem connecting to software source
i also tried system->Administration->Add/Remove software
iam not understanding what else to try
<snip>
If you do not have the Environment variable set for http_proxy, then curl will not work. This seems like your problem to me.
To see if you have http_proxy set as an environment variable, use this command:
env | grep -i http_proxy
You need to check the above variable for both your "root user" and your "local user" (local user's variables would be used if you are running yum with sudo or su root ... root user would be used if you did "su - root" or logged in directly as root.
If the result is in caps, like this:
HTTP_PROXY=http://my_username:mypassword@10.101.16.4:8080
Then curl might have an issue, so also add it in lower case like this:
http_proxy="http://my_username:mypassword@10.101.16.4:8080"
So, If you do not have a lower case "http_proxy=", then you would set it in your root's ".bash_profile" file and your local user's ".bash_profile" file. This is the line you would add to both users .bash_profile:
export http_proxy="http://my_username:mypassword@10.101.16.4:8080"
After making the change, log out and back in to have the variables take effect and then check them again with the grep command above ...
Once you have the correct lower case variable set for "http_proxy=" for both your normal local user and for root, you should be able to use yum and curl.
<snip>
If the proxy server requires a username and password, add these to the URL. To include the username |yum-user| and the password |qwerty|, add these settings:
|# The Web proxy server, with the username and password for this account http_proxy="http://yum-user:qwerty@mycache.mydomain.com:3128" export http_proxy|
*Example 5. Profile Settings for a Secured Proxy Server*
[Note] The |http_proxy| Environment Variable
The |http_proxy| environment variable is also used by |curl| and other utilities. Although |yum| itself may use |http_proxy| in either upper-case or lower-case, |curl| requires the name of the variable to be in lower-case.
Hi Arun,
Please understand and do as Johnny advised, it will fix your problem. Thanks
On 03/27/2012 03:47 AM, arun kumar wrote:
sorry for not mentioning before that iam new to linux
i have full access to internet, this is an educational institution, every one have there seperate username and pasword for login... so i used the my username and password in the yum.conf file..
i tried from GUI also like
system->Administration-> software update ,then i got the folowing warning and error
Software Update Viewer is running as a privileged user Package management applications are security sensitive. Running graphical applications as a privileged user should be avoided for security reasons.
problem connecting to software source
i also tried system->Administration->Add/Remove software
iam not understanding what else to try
<snip>
If you do not have the Environment variable set for http_proxy, then curl will not work. This seems like your problem to me.
To see if you have http_proxy set as an environment variable, use this command:
env | grep -i http_proxy
You need to check the above variable for both your "root user" and your "local user" (local user's variables would be used if you are running yum with sudo or su root ... root user would be used if you did "su - root" or logged in directly as root.
If the result is in caps, like this:
HTTP_PROXY=http://my_username:mypassword@10.101.16.4:8080
Then curl might have an issue, so also add it in lower case like this:
http_proxy="http://my_username:mypassword@10.101.16.4:8080"
So, If you do not have a lower case "http_proxy=", then you would set it in your root's ".bash_profile" file and your local user's ".bash_profile" file. This is the line you would add to both users .bash_profile:
export http_proxy="http://my_username:mypassword@10.101.16.4:8080"
After making the change, log out and back in to have the variables take effect and then check them again with the grep command above ...
Once you have the correct lower case variable set for "http_proxy=" for both your normal local user and for root, you should be able to use yum and curl.
<snip>
If the proxy server requires a username and password, add these to the URL. To include the username |yum-user| and the password |qwerty|, add these settings:
|# The Web proxy server, with the username and password for this account http_proxy="http://yum-user:qwerty@mycache.mydomain.com:3128" export http_proxy|
*Example 5. Profile Settings for a Secured Proxy Server*
[Note] The |http_proxy| Environment Variable
The |http_proxy| environment variable is also used by |curl| and other utilities. Although |yum| itself may use |http_proxy| in either upper-case or lower-case, |curl| requires the name of the variable to be in lower-case.
CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Thanks / Regards Prabhpal S. Mavi Email: prabhpal@digital-infotech.net Sent Through .Net Domain From iPhone
hey, iam extremly sorry for giving u trouble, as u said i set the environment.... this is the outcome after that [BTIS@WORKSTATION3 ~]$ env | grep -i http_proxy http_proxy=http://asomavarapu@actrec.gov.in:dbsa121@10.100.15.3:8080 HTTP_PROXY=http://asomavarapu@actrec.gov.in:dbsa121@10.100.15.3:8080 [BTIS@WORKSTATION3 ~]$
and this is the file of .bash_profile that i edited
# .bash_profile
# Get the aliases and functions if [ -f ~/.bashrc ]; then . ~/.bashrc fi
# User specific environment and startup programs
PATH=$PATH:$HOME/bin
export PATH
export http_proxy="http://asomavarapu@actrec.gov.in:dbsa121@10.100.15.3:8080 " export HTTP_PROXY="http://asomavarapu@actrec.gov.in:dbsa121@10.100.15.3:8080 "
then i tried the command yum check-updates ,then this is the outcome
[BTIS@WORKSTATION3 ~]$ yum check-update Loaded plugins: fastestmirror, refresh-packagekit Could not retrieve mirrorlist http://mirrorlist.centos.org/?release=6&arch=i386&repo=os error was 14: PYCURL ERROR 22 - "The requested URL returned error: 407" Could not retrieve mirrorlist http://mirrorlist.centos.org/?release=6&arch=i386&repo=centosplus error was 14: PYCURL ERROR 22 - "The requested URL returned error: 407" Could not retrieve mirrorlist http://mirrorlist.centos.org/?release=6&arch=i386&repo=extras error was 14: PYCURL ERROR 22 - "The requested URL returned error: 407" http://dl.google.com/linux/chrome/rpm/stable/i386/repodata/repomd.xml: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 407" Trying other mirror. Error: Cannot retrieve repository metadata (repomd.xml) for repository: google-chrome. Please verify its path and try again [BTIS@WORKSTATION3 ~]$
On Tue, Mar 27, 2012 at 3:39 PM, Prabhpal S. Mavi < prabhpal@digital-infotech.net> wrote:
Hi Arun,
Please understand and do as Johnny advised, it will fix your problem. Thanks
On 03/27/2012 03:47 AM, arun kumar wrote:
sorry for not mentioning before that iam new to linux
i have full access to internet, this is an educational institution, every one have there seperate username and pasword for login... so i used the my username and password in the yum.conf file..
i tried from GUI also like
system->Administration-> software update ,then i got the folowing warning and error
Software Update Viewer is running as a privileged user Package management applications are security sensitive. Running graphical applications as a privileged user should be avoided for security reasons.
problem connecting to software source
i also tried system->Administration->Add/Remove software
iam not understanding what else to try
<snip>
If you do not have the Environment variable set for http_proxy, then curl will not work. This seems like your problem to me.
To see if you have http_proxy set as an environment variable, use this command:
env | grep -i http_proxy
You need to check the above variable for both your "root user" and your "local user" (local user's variables would be used if you are running yum with sudo or su root ... root user would be used if you did "su - root" or logged in directly as root.
If the result is in caps, like this:
HTTP_PROXY=http://my_username:mypassword@10.101.16.4:8080
Then curl might have an issue, so also add it in lower case like this:
http_proxy="http://my_username:mypassword@10.101.16.4:8080"
So, If you do not have a lower case "http_proxy=", then you would set it in your root's ".bash_profile" file and your local user's ".bash_profile" file. This is the line you would add to both users .bash_profile:
export http_proxy="http://my_username:mypassword@10.101.16.4:8080"
After making the change, log out and back in to have the variables take effect and then check them again with the grep command above ...
Once you have the correct lower case variable set for "http_proxy=" for both your normal local user and for root, you should be able to use yum and curl.
<snip>
If the proxy server requires a username and password, add these to the URL. To include the username |yum-user| and the password |qwerty|, add these settings:
|# The Web proxy server, with the username and password for this account http_proxy="http://yum-user:qwerty@mycache.mydomain.com:3128" export http_proxy|
*Example 5. Profile Settings for a Secured Proxy Server*
[Note] The |http_proxy| Environment Variable
The |http_proxy| environment variable is also used by |curl| and other utilities. Although |yum| itself may use |http_proxy| in either upper-case or lower-case, |curl| requires the name of the variable to be in lower-case.
CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Thanks / Regards Prabhpal S. Mavi Email: prabhpal@digital-infotech.net Sent Through .Net Domain From iPhone
CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Hi Arun,
1. Is it CentOS 5.2? 2. Also disable CentOS plus repo by doing enable =0 in /etc/yum.repo/CentOSBase.repo, make sue you don't disable for CentOS & it is enable 3. Can you please copy above file from working system? 4. Can you now browse through lynx (Linux text browser) ?
Thanks : Regards Sent from my IPhone
hey, iam extremly sorry for giving u trouble, as u said i set the environment.... this is the outcome after that [BTIS@WORKSTATION3 ~]$ env | grep -i http_proxy http_proxy=http://asomavarapu@actrec.gov.in:dbsa121@10.100.15.3:8080 HTTP_PROXY=http://asomavarapu@actrec.gov.in:dbsa121@10.100.15.3:8080 [BTIS@WORKSTATION3 ~]$
and this is the file of .bash_profile that i edited
# .bash_profile
# Get the aliases and functions if [ -f ~/.bashrc ]; then . ~/.bashrc fi
# User specific environment and startup programs
PATH=$PATH:$HOME/bin
export PATH
export http_proxy="http://asomavarapu@actrec.gov.in:dbsa121@10.100.15.3:8080 " export HTTP_PROXY="http://asomavarapu@actrec.gov.in:dbsa121@10.100.15.3:8080 "
then i tried the command yum check-updates ,then this is the outcome
[BTIS@WORKSTATION3 ~]$ yum check-update Loaded plugins: fastestmirror, refresh-packagekit Could not retrieve mirrorlist http://mirrorlist.centos.org/?release=6&arch=i386&repo=os error was 14: PYCURL ERROR 22 - "The requested URL returned error: 407" Could not retrieve mirrorlist http://mirrorlist.centos.org/?release=6&arch=i386&repo=centosplus error was 14: PYCURL ERROR 22 - "The requested URL returned error: 407" Could not retrieve mirrorlist http://mirrorlist.centos.org/?release=6&arch=i386&repo=extras error was 14: PYCURL ERROR 22 - "The requested URL returned error: 407" http://dl.google.com/linux/chrome/rpm/stable/i386/repodata/repomd.xml: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 407" Trying other mirror. Error: Cannot retrieve repository metadata (repomd.xml) for repository: google-chrome. Please verify its path and try again [BTIS@WORKSTATION3 ~]$
On Tue, Mar 27, 2012 at 3:39 PM, Prabhpal S. Mavi < prabhpal@digital-infotech.net> wrote:
Hi Arun,
Please understand and do as Johnny advised, it will fix your problem. Thanks
On 03/27/2012 03:47 AM, arun kumar wrote:
sorry for not mentioning before that iam new to linux
i have full access to internet, this is an educational institution, every one have there seperate username and pasword for login... so i used the my username and password in the yum.conf file..
i tried from GUI also like
system->Administration-> software update ,then i got
the
folowing warning and error
Software Update Viewer is running as a privileged user Package management applications are security sensitive. Running graphical applications as a privileged user should be avoided for security reasons.
problem connecting to software source
i also tried system->Administration->Add/Remove software
iam not understanding what else to try
<snip>
If you do not have the Environment variable set for http_proxy, then curl will not work. This seems like your problem to me.
To see if you have http_proxy set as an environment variable, use this command:
env | grep -i http_proxy
You need to check the above variable for both your "root user" and
your
"local user" (local user's variables would be used if you are running yum with sudo or su root ... root user would be used if you did "su - root" or logged in directly as root.
If the result is in caps, like this:
HTTP_PROXY=http://my_username:mypassword@10.101.16.4:8080
Then curl might have an issue, so also add it in lower case like this:
http_proxy="http://my_username:mypassword@10.101.16.4:8080"
So, If you do not have a lower case "http_proxy=", then you would set
it
in your root's ".bash_profile" file and your local user's ".bash_profile" file. This is the line you would add to both users .bash_profile:
export http_proxy="http://my_username:mypassword@10.101.16.4:8080"
After making the change, log out and back in to have the variables
take
effect and then check them again with the grep command above ...
Once you have the correct lower case variable set for "http_proxy="
for
both your normal local user and for root, you should be able to use
yum
and curl.
<snip>
If the proxy server requires a username and password, add these to
the
URL. To include the username |yum-user| and the password |qwerty|,
add
these settings:
|# The Web proxy server, with the username and password for this account http_proxy="http://yum-user:qwerty@mycache.mydomain.com:3128" export http_proxy|
*Example 5. Profile Settings for a Secured Proxy Server*
[Note] The |http_proxy| Environment Variable
The |http_proxy| environment variable is also used by |curl| and
other
utilities. Although |yum| itself may use |http_proxy| in either upper-case or lower-case, |curl| requires the name of the variable
to
be in lower-case.
CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Thanks / Regards Prabhpal S. Mavi Email: prabhpal@digital-infotech.net Sent Through .Net Domain From iPhone
CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
-- Arun Kumar Somavarapu Project-JRF Dr. Prasanna's lab TMC, ACTREC Navi Mumbai-410210 _______________________________________________ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Thanks / Regards Prabhpal S. Mavi Email: prabhpal@digital-infotech.net Sent Through .Net Domain From iPhone
On Tue, Mar 27, 2012 at 6:24 AM, arun kumar arunjones.kumar89@gmail.com wrote:
hey, iam extremly sorry for giving u trouble, as u said i set the environment.... this is the outcome after that [BTIS@WORKSTATION3 ~]$ env | grep -i http_proxy http_proxy=http://asomavarapu@actrec.gov.in:dbsa121@10.100.15.3:8080 HTTP_PROXY=http://asomavarapu@actrec.gov.in:dbsa121@10.100.15.3:8080 [BTIS@WORKSTATION3 ~]$
I really hope that isn't your real username and password...
Anyway, it is probably getting tripped up by the "@" in your username.
See below for the conversation in the archive, but try replacing the first "@" with %40, like this:
http_proxy=http://asomavarapu%40actrec.gov.in:dbsa121@10.100.15.3:8080
http://lists.centos.org/pipermail/centos/2007-September/044207.html
configure system wide proxy variable. Use lynx to troubleshoot Please cross check we normally export proxy veritable such as following http_proxy=
yes i configured the yum.conf
proxy=http://10.101.16.4:8080 proxy_username=my_username proxy_password=my_password but still the same problem here a squid proxy server is present so for initernet connection also i need to give my_username and my_password.....
On Tue, Mar 27, 2012 at 11:42 AM, John R Pierce pierce@hogranch.com wrote:
On 03/26/12 11:05 PM, arun kumar wrote:
I have centos 6.0 in my system and i want to update packages, so i
tried
the yum commands for checking and installing updates, but my proxy is objecting and i got the following error
Loaded plugins: fastestmirror, refresh-packagekit Loading mirror speeds from cached hostfile Could not retrieve mirrorlist http://mirrorlist.centos.org/?release=6&arch=i386&repo=os error was 14: PYCURL ERROR 22 - "The requested URL returned error: 407" Error: Cannot find a valid baseurl for repo: base
i tried with the software update GUI in centos 6.0 but still the same
proxy
problem....can any one please suggest how to overcome this problem and install updates for packages.
what is this "proxy"? other than your use of the phrase 'proxy' a couple times, I see no sign of a proxy there.
If your internet connection is such that you have to go through an explicit http proxy, have you configured it in /etc/yum.conf as follows? http://www.centos.org/docs/5/html/yum/sn-yum-proxy-server.html
-- john r pierce N 37, W 122 santa cruz ca mid-left coast
CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
-- Arun Kumar Somavarapu Project-JRF Dr. Prasanna's lab TMC, ACTREC Navi Mumbai-410210 _______________________________________________ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
On 03/26/12 11:05 PM, arun kumar wrote:
Where is proxy error? It seems your server has no Internet connectivity. Are you new admin of this server? If you are expecting someone has exported proxy veritable then check by typing echo $http_proxy Thanks : regards
I have centos 6.0 in my system and i want to update packages, so i tried
the yum commands for checking and installing updates, but my proxy is objecting and i got the following error
Loaded plugins: fastestmirror, refresh-packagekit Loadingfi mirror vspeeds from cached hostfile Could not retrieve mirrorlist http://mirrorlist.centos.org/?release=6&arch=i386&repo=os error was 14: PYCURL ERROR 22 - "The requested URL returned error: 407" Error: Cannot find a valid baseurl for repo: base
i tried with the software update GUI in centos 6.0 but still the same proxy problem....can any one please suggest how to overcome this problem and install updates for packages.
what is this "proxy"? other than your use of the phrase 'proxy' a couple times, I see no sign of a proxy there.
If your internet connection is such that you have to go through an explicit http proxy, have you configured it in /etc/yum.conf as follows? http://www.centos.org/docs/5/html/yum/sn-yum-proxy-server.html
-- john r pierce N 37, W 122 santa cruz ca mid-left coast
CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos