Bug 1040719 - yum update error
Summary: yum update error
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: yum-rhn-plugin
Version: 6.4
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Michael Mráka
QA Contact: Red Hat Satellite QA List
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-12-12 01:11 UTC by charan
Modified: 2014-11-10 14:25 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-11-10 14:25:47 UTC
Target Upstream Version:


Attachments (Terms of Use)

Description charan 2013-12-12 01:11:07 UTC
Description of problem:
When  run yum update I am getting follwing error

Traceback (most recent call last):
  File "/usr/bin/yum", line 29, in <module>
    yummain.user_main(sys.argv[1:], exit_code=True)
  File "/usr/share/yum-cli/yummain.py", line 285, in user_main
    errcode = main(args)
  File "/usr/share/yum-cli/yummain.py", line 105, in main
    base.getOptionsConfig(args)
  File "/usr/share/yum-cli/cli.py", line 228, in getOptionsConfig
    self.conf
  File "/usr/lib/python2.6/site-packages/yum/__init__.py", line 891, in <lambda>
    conf = property(fget=lambda self: self._getConfig(),
  File "/usr/lib/python2.6/site-packages/yum/__init__.py", line 362, in _getConfig
    self.plugins.run('init')
  File "/usr/lib/python2.6/site-packages/yum/plugins.py", line 184, in run
    func(conduitcls(self, self.base, conf, **kwargs))
  File "/usr/share/yum-plugins/rhnplugin.py", line 76, in init_hook
    proxy_url = get_proxy_url(up2date_cfg)
  File "/usr/share/yum-plugins/rhnplugin.py", line 662, in get_proxy_url
    proto_split = netloc.split('://')
AttributeError: 'int' object has no attribute 'split'

Comment 1 Zdeněk Pavlas 2013-12-12 10:26:07 UTC
Seems that up2date_cfg['httpProxy'] returns int (or a boolean), instead of the expected proxy url.

Comment 3 RHEL Program Management 2014-11-10 14:25:47 UTC
Development Management has reviewed and declined this request.
You may appeal this decision by reopening this request.


Note You need to log in before you can comment on or make changes to this bug.