On 10/01/2010 01:40 PM, Karanbir Singh wrote: > hi, > > yum-3.2.27-12 based on James's build of yum from EL6 on EL5 is now > available on the c5-testing repo. Feel free to give it a shot and > feedback is very welcome - even if its a case of 'it works'. > Something is rotten in the state of yum: Please compare this: [wolfy at wolfy2 tmp]$ rpm -q yum yum-3.2.22-26.el5.centos.noarch [wolfy at wolfy2 tmp]$ yumdownloader --source yum --enablerepo=c5-testing Loaded plugins: fastestmirror Excluding Packages from CentOS-5 - Base Finished Excluding Packages from CentOS-5 - Updates Finished No source RPM found for yum-3.2.22-23.el5.centos.noarch No source RPM found for yum-3.2.19-6.el5.centos.noarch No source RPM found for yum-3.2.27-12.el5_from_el6.noarch No source RPM found for yum-3.2.19-18.el5.centos.noarch No source RPM found for yum-3.2.19-9.el5.centos.noarch No source RPM found for yum-3.2.22-20.el5.centos.noarch No source RPM found for yum-3.2.22-26.el5.centos.noarch No source RPM found for yum-3.2.17-0_beta_18_2.el5.centos.noarch Nothing to download with this: [wolfy at wolfy2 tmp]$ sudo yum -y update yum --enablerepo=c5-testing Loaded plugins: allowdowngrade, changelog, downloadonly, fastestmirror, merge-conf Determining fastest mirrors base | 2.1 kB 00:00 base/primary_db | 2.1 MB 00:02 fasttrack | 951 B 00:00 fasttrack/primary | 206 B 00:00 updates | 1.9 kB 00:00 updates/primary_db | 769 kB 00:00 Excluding Packages from CentOS-5 - Base Finished Excluding Packages from CentOS-5 - Updates Finished Setting up Update Process Resolving Dependencies --> Running transaction check ---> Package yum.noarch 0:3.2.27-12.el5_from_el6 set to be updated --> Finished Dependency Resolution Dependencies Resolved =========================================================================================================================== Package Arch Version Repository Size =========================================================================================================================== Updating: yum noarch 3.2.27-12.el5_from_el6 c5-testing 1.3 M Transaction Summary =========================================================================================================================== Install 0 Package(s) Upgrade 1 Package(s) Total size: 1.3 M Downloading Packages: Running rpm_check_debug Running Transaction Test Finished Transaction Test Transaction Test Succeeded Running Transaction Updating : yum 1/2 warning: /etc/yum.conf created as /etc/yum.conf.rpmnew Cleanup : yum 2/2 Updated: yum.noarch 0:3.2.27-12.el5_from_el6 Complete! [wolfy at wolfy2 tmp]$ rpm -q yum yum-3.2.27-12.el5_from_el6.noarch [wolfy at wolfy2 tmp]$ yumdownloader --source yum --enablerepo=c5-testing Loaded plugins: fastestmirror Traceback (most recent call last): File "/usr/bin/yumdownloader", line 293, in ? util = YumDownloader() File "/usr/bin/yumdownloader", line 42, in __init__ self.main() File "/usr/bin/yumdownloader", line 80, in main self.downloadPackages(opts) File "/usr/bin/yumdownloader", line 128, in downloadPackages exactmatch, matched, unmatched = parsePackages(self.pkgSack.returnPackages(), [pkg]) NameError: global name 'parsePackages' is not defined [wolfy at wolfy2 tmp]$ yumdownloader --source yum Loaded plugins: fastestmirror Traceback (most recent call last): File "/usr/bin/yumdownloader", line 293, in ? util = YumDownloader() File "/usr/bin/yumdownloader", line 42, in __init__ self.main() File "/usr/bin/yumdownloader", line 80, in main self.downloadPackages(opts) File "/usr/bin/yumdownloader", line 128, in downloadPackages exactmatch, matched, unmatched = parsePackages(self.pkgSack.returnPackages(), [pkg]) NameError: global name 'parsePackages' is not defined [wolfy at wolfy2 tmp]$