LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
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 07-20-2012, 01:01 AM   #1
arunjones
LQ Newbie
 
Registered: Jun 2012
Posts: 5

Rep: Reputation: Disabled
Yum failed after using yum clean all command


Dear all
I was trying to clean cache by using "yum cleanall" command after that i tried yum update, but it is ging fallowing error
bash-4.1# yum update
Loaded plugins: fastestmirror, refresh-packagekit
Loading mirror speeds from cached hostfile
Could not retrieve mirrorlist http://mirrorlist.centos.org/?releas...h=i386&repo=os error was
14: PYCURL ERROR 22 - "The requested URL returned error: 407"
Error: Cannot find a valid baseurl for repo: base

The 407 error seems like network problem.
I had http proxy problem earlier but i solved it then by including username and password in "yum.conf"
proxy=http://10.100.15.3:8080
proxy_username=asomavarapu%40actrec.gov.in
proxy_password=ymcv121

and also included env variable as fallows
http_proxy=http://10.100.15.3:8080
HTTP_PROXY=http://10.100.15.3:8080

i am not able to understand this new problem,i found that the folders in var/cache/yum were empty i think yum cleanall command might have deleated all the files related to yum .

can any one please explain what is the actual reason for yum not working in my case.

Thanking you.
 
Old 07-20-2012, 04:54 AM   #2
sharadchhetri
Member
 
Registered: Aug 2008
Location: INDIA
Distribution: Redhat,Debian,Suse,Windows
Posts: 179

Rep: Reputation: 23
Quote:
Originally Posted by arunjones View Post
Dear all
I was trying to clean cache by using "yum cleanall" command after that i tried yum update, but it is ging fallowing error
bash-4.1# yum update
Loaded plugins: fastestmirror, refresh-packagekit
Loading mirror speeds from cached hostfile
Could not retrieve mirrorlist http://mirrorlist.centos.org/?releas...h=i386&repo=os error was
14: PYCURL ERROR 22 - "The requested URL returned error: 407"
Error: Cannot find a valid baseurl for repo: base

The 407 error seems like network problem.
I had http proxy problem earlier but i solved it then by including username and password in "yum.conf"
proxy=http://10.100.15.3:8080
proxy_username=asomavarapu%40actrec.gov.in
proxy_password=ymcv121

and also included env variable as fallows
http_proxy=http://10.100.15.3:8080
HTTP_PROXY=http://10.100.15.3:8080

i am not able to understand this new problem,i found that the folders in var/cache/yum were empty i think yum cleanall command might have deleated all the files related to yum .

can any one please explain what is the actual reason for yum not working in my case.

Thanking you.
it shows again proxy issue.
Might be your location internet problem or proxy user name and password is changed.

Check the internet first in the Server ,are you able to access with username and password

Last edited by sharadchhetri; 07-20-2012 at 04:59 AM.
 
Old 07-21-2012, 01:33 AM   #3
arunjones
LQ Newbie
 
Registered: Jun 2012
Posts: 5

Original Poster
Rep: Reputation: Disabled
Hi sharadchhetri

Iam able to access internet in my system with my username and password.
before yum was working fine.
Iam facing this problem after doing yum cleanall step.
i checked yum.conf and it is fine with proxy, username and password
proxy=http://10.100.15.3:8080
proxy_username=asomavarapu%40actrec.gov.in
proxy_password=ymcv121
i dont know what else files it has changed or deleted, which makes yum not working.
 
Old 07-21-2012, 03:52 AM   #4
sharadchhetri
Member
 
Registered: Aug 2008
Location: INDIA
Distribution: Redhat,Debian,Suse,Windows
Posts: 179

Rep: Reputation: 23
Quote:
Originally Posted by arunjones View Post
Hi sharadchhetri

Iam able to access internet in my system with my username and password.
before yum was working fine.
Iam facing this problem after doing yum cleanall step.
i checked yum.conf and it is fine with proxy, username and password
proxy=http://10.100.15.3:8080
proxy_username=asomavarapu%40actrec.gov.in
proxy_password=ymcv121
i dont know what else files it has changed or deleted, which makes yum not working.
Try again , yum update.
If it is failed.
Check the logs.
 
  


Reply



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 install flash ... yum: command not found ... which yum ... /usr/bin/yum tg0000 Fedora 8 04-13-2011 11:25 AM
Fedoora 11 (f11): /var full after yum update attempt. Can't clean. JEA Fedora 4 07-16-2009 02:58 AM
problem after yum yum yum (delicious) alaios Fedora 3 01-14-2009 02:34 AM
yum config error parsing file failed - yum won't run emuub Linux - Software 9 11-04-2008 05:48 AM
yum.conf - extract files from a DVD. How define repo location and what is yum command emuub Linux - Software 2 06-17-2007 07:28 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:48 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
Open Source Consulting | Domain Registration