Re: add and remove software

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

 



Dear Greshko,

I think i m very much near to it, but still it is not working. My yum.conf is as follows

[main]
cachedir=/var/cache/yum
keepcache=0
debuglevel=2
logfile=/var/log/yum.log
exactarch=1
obsoletes=1
gpgcheck=1
plugins=1
metadata_expire=1800
installonly_limit=2
proxy=172.161.432.234:8080
proxy_username=arun
proxy_password=arun258

# PUT YOUR REPOS HERE OR IN separate files named file.repo
# in /etc/yum.repos.d

but I am getting following error (we are using ip address of our proxy server to assess Internet)

Component: pirut
Summary: TB76714bb2 config.py:80:__set__:ValueError: Error parsing '
172.161.432.234:8080': URL must be http, ftp or https not "172.161.432.234"

Traceback (most recent call last):
  File "/usr/sbin/pirut", line 476, in <module>
    main()
  File "/usr/sbin/pirut", line 469, in main
    pm = PackageManager(options.config, options.onlyrepo)
  File "/usr/sbin/pirut", line 63, in __init__
    GraphicalYumBase.__init__(self, False, config)
  File "/usr/lib/python2.5/site-packages/pirut/__init__.py", line 129, in __init__
    plugin_types=(yum.plugins.TYPE_CORE,))
  File "/usr/lib/python2.5/site-packages/yum/__init__.py", line 113, in doConfigSetup
    errorlevel=errorlevel)
  File "/usr/lib/python2.5/site-packages/yum/__init__.py", line 159, in _getConfig
    self._conf = config.readMainConfig(startupconf)
  File "/usr/lib/python2.5/site-packages/yum/config.py", line 617, in readMainConfig
    yumconf.populate(startupconf._parser, 'main')
  File "/usr/lib/python2.5/site-packages/yum/config.py", line 376, in populate
    setattr(self, name, value)
  File "/usr/lib/python2.5/site-packages/yum/config.py", line 80, in __set__
    raise ValueError('Error parsing %r: %s' % (value, str(e)))
ValueError: Error parsing '172.16.251.234:8080': URL must be http, ftp or https not "
172.161.432.234"

Local variables in innermost frame:
obj: [main]
alwaysprompt: True
assumeyes: False
bandwidth: 0
cachedir: '/var/cache/yum'
commands: []
config_file_path: '/etc/yum/yum.conf'
debuglevel: 2
diskspacecheck: True
distroverpkg: 'redhat-release'
enable_group_conditionals: True
enabled: True
enablegroups: True
errorlevel: 2
exactarch: True
exactarchlist: ['kernel', 'kernel-smp', 'glibc', 'kernel-hugemem', 'kernel-enterprise', 'kernel-bigmem', 'kernel-devel', 'kernel-PAE', 'kernel-PAE-debug']
exclude: []
failovermethod: 'roundrobin'
gpgcheck: True
group_package_types: ['mandatory', 'default']
http_caching: 'all'
installonly_limit: 2
installonlypkgs: ['kernel', 'kernel-bigmem', 'kernel-enterprise', 'kernel-smp', 'kernel-modules', 'kernel-debug', 'kernel-unsupported', 'kernel-source', 'kernel-devel', 'kernel-PAE', 'kernel-PAE-debug']
installroot: '/'
keepalive: True
keepcache: False
kernelpkgnames: ['kernel', 'kernel-smp', 'kernel-enterprise', 'kernel-bigmem', 'kernel-BOOT', 'kernel-PAE', 'kernel-PAE-debug']
logfile: '/var/log/yum.log'
metadata_expire: 1800
mirrorlist_expire: 86400
obsoletes: True
overwrite_groups: False
persistdir: '/var/lib/yum'
pluginconfpath: ['/etc/yum/pluginconf.d']
pluginpath: ['/usr/share/yum-plugins', '/usr/lib/yum-plugins']
plugins: True
proxy: None
proxy_password: None
proxy_username: None
recent: 7
reposdir: ['/etc/yum/repos.d', '/etc/yum.repos.d']
retries: 10
rpm_check_debug: True
showdupesfromrepos: False
syslog_facility: 'LOG_DAEMON'
syslog_ident: None
throttle: 0
timeout: 30.0
tolerant: True
tsflags: []
yumversion: 'unversioned'
self: <yum.config.UrlOption object at 0x9b727cc>
e: URL must be http, ftp or https not "
172.161.432.234"
value:
172.161.432.234:8080




-----Original Message-----
From: Ed Greshko <Ed.Greshko@xxxxxxxxxxx>
To: For users of Fedora <fedora-list@xxxxxxxxxx>
Sent: Fri, 1 Feb 2008 2:39 pm
Subject: Re: add and remove program

arunbkn@xxxxxx wrote: 
> Yes my squid proxy require authentication ....................... 
>  
Then those are the directives you need.... 
 
> proxy > proxy_username > proxy_password  
-- fedora-list mailing list 
fedora-list@xxxxxxxxxx 
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list 

You are invited to Get a Free AOL Email ID. Click here.

[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux