[Yum] Exception thrown when server not found

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



[root@cheetah root]# yum install lynx
Gathering package information from servers
Getting headers from: Local Red Hat mirror
Traceback (most recent call last):
  File "/usr/bin/yum", line 45, in ?
    yummain.main(sys.argv[1:])
  File "yummain.py", line 174, in main
  File "clientStuff.py", line 638, in get_package_info_from_servers
  File "urlgrabber.py", line 193, in retrygrab
  File "urlgrabber.py", line 261, in urlgrab
  File "/usr/lib/python2.2/urllib2.py", line 138, in urlopen
    return _opener.open(url, data)
  File "/usr/lib/python2.2/urllib2.py", line 322, in open
    '_open', req)
  File "/usr/lib/python2.2/urllib2.py", line 301, in _call_chain
    result = func(*args)
  File "keepalive.py", line 162, in http_open
  File "keepalive.py", line 121, in do_open
  File "keepalive.py", line 99, in _start_connection
  File "/usr/lib/python2.2/httplib.py", line 617, in putrequest
    raise CannotSendRequest()
httplib.CannotSendRequest


A nice error message would be better.  This is when no http connection 
can be made to the server, or a network connection isn't available.  I 
was using the 1.96 RPM.


Another thing I noticed is that if I run "yum list updates" as !root you 
get problems if you have to download a new header file.  Maybe as 
non-root -C should be turned on by default.  Of course -C shouldn't try 
to download missing headers as it currently does.  Kind of defeats the 
purpose eh?




[Index of Archives]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux