1. Computer problem? Tech Support Guy is completely free -- paid for by advertisers and donations. Click here to join today! If you're new to Tech Support Guy, we highly recommend that you visit our Guide for New Members.

Standalone box and ISA proxy and yum update

Discussion in 'Linux and Unix' started by zillah, Jan 18, 2007.

Thread Status:
Not open for further replies.
  1. zillah

    zillah Thread Starter

    Joined:
    Jun 6, 2005
    Messages:
    330
    With my box FC5 at work (Active Directory), I have been able to access the net , I have not logged in with my AD account , I logged in as username : root and password : forum,,,fake one (I know security implication, I have done this for test ).

    First time when I tried to open a browser, window popped up asking me username and password for authentication to use internet (I entered my username: zillah and password:ad123 my active directory account,,,fake ), then I was able to browse the net.

    When I tried to use the command below (via Terminal):

    [[email protected]]#yum install yum (yumes),,,,It did not work, I believe because of the authentication (ISA proxy) that I mentioned above.

    With the proxy , I followed the link below :

    http://fedora.redhat.com/docs/yum/sn-yum-proxy-server.html

    1- I added the line below to /etc/yum.conf
    Then I tried to use this :
    [root]#yum update yum,,,,,,,,,,,,,,,,,,I received this error :

    Loading "installation" Plugin
    Settingup Update Process
    Setting up repositories
    Can not find a valid baseurl for repo:case
    Error: Cannot find valid baseurl for repo:core


    2- I removed the configuration above and I tried these:
    [[email protected] # yum update yum
    Traceback (most recent call last):
    File "/usr/bin/yum", line 29, in ?
    yummain.main(sys.argv[1:])
    File "/usr/share/yum-cli/yummain.py", line 80, in main
    base.getOptionsConfig(args)
    File "/usr/share/yum-cli/cli.py", line 177, in getOptionsConfig
    self.doConfigSetup(fn=opts.conffil* e, root=root)
    File "/usr/lib/python2.4/site-packages/* yum/__init__.py", line 102, in doConfigSetup
    self.conf = config.readMainConfig(fn, root)
    File "/usr/lib/python2.4/site-packages/* yum/config.py", line 567, in readMainConfig
    confparser.read(configfile)
    File "/usr/lib/python2.4/site-packages/* yum/parser.py", line 126, in read
    ConfigParser.read(self,filename)
    File "/usr/lib/python2.4/ConfigParser.p* y", line 267, in read
    self._read(fp, filename)
    File "/usr/lib/python2.4/ConfigParser.p* y", line 490, in _read
    raise e
    ConfigParser.ParsingError: File contains parsing errors: /etc/yum.conf
    [line 15]: 'export http_proxy\n'
    [line 16]: 'yum update\n'
     
  2. gotrootdude

    gotrootdude

    Joined:
    Feb 19, 2003
    Messages:
    8,812
  3. zillah

    zillah Thread Starter

    Joined:
    Jun 6, 2005
    Messages:
    330
    Thanks for this link
     
As Seen On
As Seen On...

Welcome to Tech Support Guy!

Are you looking for the solution to your computer problem? Join our site today to ask your question. This site is completely free -- paid for by advertisers and donations.

If you're not already familiar with forums, watch our Welcome Guide to get started.

Join over 733,556 other people just like you!

Thread Status:
Not open for further replies.

Short URL to this thread: https://techguy.org/536478

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice