[Yum] yum on RH 2.1 AS

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

 



 Hi,
  
  I have installed yum-1.0.3-1_73 from rpm (centos) on a RH2.1 AS. With the deafult yum.conf file ( pointing to centos) it works.
  
  yum info
  Gathering package information from servers
  Getting headers from: CentOS-2 base
  Getting headers from: CentOS-2 updates
  Finding updated packages
  Downloading needed headers
  getting /var/cache/yum/base/headers/textutils-1-2.0.14-3.1.i386.hdr
  getting /var/cache/yum/updates/headers/imlib-1-1.9.13-4.3.i386.hdr
  getting /var/cache/yum/updates/headers/lsof-0-4.51-2.1.i386.hdr
  getting /var/cache/yum/updates/headers/bzip2-libs-0-1.0.1-4.EL2.1.i386.hdr
  getting /var/cache/yum/updates/headers/logrotate-0-3.5.9-2.i386.hdr
  
  But when I change it to our yum server (works fine for AS4), it fails with:
  
  yum info
  Gathering package information from servers
  Getting headers from: Red Hat Linux 2.1AS - i386 base
  Traceback (innermost last):
    File "/usr/bin/yum", line 44, in ?
      yummain.main(sys.argv[1:])
    File "yummain.py", line 144, in main
    File "clientStuff.py", line 688, in get_package_info_from_servers
    File "clientStuff.py", line 128, in HeaderInfoNevralLoad
  ValueError: unpack list of wrong size
  
  My yum.conf file is :
  [main]
  cachedir=/var/cache/yum
  debuglevel=2
  logfile=/var/log/yum.log
  pkgpolicy=newest
  
  [base]
  name=Red Hat Linux 2.1AS - i386 base
  baseurl=http://<yum_server>/yum/RHEL/2.1AS/i386/
  #name=CentOS-2 base
  #baseurl=http://mirror.centos.org/centos-2/i386/CentOS/
  
  [updates]
  name=Red Hat Linux 2.1AS - i386 updates
  baseurl=http://<yum-server>/yum/RHEL/2.1AS/i386/updates/
  #name=CentOS-2 updates
  #baseurl=http://mirror.centos.org/centos-2/updates/
  
  Some thing I am missing for RH 2.1 AS?
  
  Thanks
  Sriman 
  
  

		
---------------------------------
To help you stay safe and secure online, we've developed the all new Yahoo! Security Centre.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.dulug.duke.edu/pipermail/yum/attachments/20060116/68b60e72/attachment.html

[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