up2date problem with new Centos install

Discussion in 'Linux & BSD' started by chrisbyrd, Mar 20, 2006.

  1. chrisbyrd

    chrisbyrd OSNN Junior Addict

    Messages:
    27
    hi guys

    any ideas?

    :D


    [root@linux ~]# up2date gcc

    Fetching Obsoletes list for channel: centos4-Base...

    Fetching Obsoletes list for channel: centos4-Updates...

    Fetching Obsoletes list for channel: centos4-extras...

    Fetching Obsoletes list for channel: centos4-addons...

    Fetching obsoletes list for http://mirror.centos.org/centos/4/addons/i386/...

    Fetching http://mirror.centos.org/centos/4/addons/i386//headers/header.info...
    ########################################
    An error has occurred:
    exceptions.IndexError
    See /var/log/up2date for more information
    [root@linux ~]#



    /var/log/up2date:

    [Mon Mar 20 19:22:07 2006] up2date File "/usr/sbin/up2date", line 1265, in ?
    sys.exit(main() or 0)
    File "/usr/sbin/up2date", line 800, in main
    fullUpdate, dryRun=options.dry_run))
    File "/usr/sbin/up2date", line 1120, in batchRun
    batch.init()
    File "/usr/share/rhn/up2date_client/up2dateBatch.py", line 65, in init
    self.__findPackagesToUpdate()
    File "/usr/share/rhn/up2date_client/up2dateBatch.py", line 105, in __findPackagesToUpdate
    plist.run()
    File "/usr/share/rhn/up2date_client/packageList.py", line 132, in run
    progressCallback = self.progressCallback )
    File "/usr/share/rhn/up2date_client/rhnPackageInfo.py", line 420, in obsoletesList
    progressCallback = progressCallback )
    File "/usr/share/rhn/up2date_client/rpcServer.py", line 316, in doCall
    ret = apply(method, args, kwargs)
    File "/usr/share/rhn/up2date_client/repoDirector.py", line 28, in getObsoletes
    return self.handlers[channel['type']].getObsoletes(channel, msgCallback, progressCallback)
    File "/usr/share/rhn/up2date_client/rpmSource.py", line 252, in getObsoletes
    msgCallback, progressCallback)
    File "/usr/share/rhn/up2date_client/repoBackends/yumRepo.py", line 324, in getObsoletes
    baseFileName = "%s-%s-%s.%s.hdr" % (pkg[0], pkg[1], pkg[2], pkg[4])
     
  2. LordOfLA

    LordOfLA Godlike!

    Messages:
    7,027
    Location:
    Maidenhead, Berkshire, UK
    use yum :)